Searched refs:msg_idx (Results 1 – 6 of 6) sorted by relevance
| /components/drivers/ofw/ |
| A D | fdt.c | 557 while (*str && fdt_earlycon.msg_idx < sizeof(fdt_earlycon.msg) - 1) in rt_fdt_earlycon_output() 559 fdt_earlycon.msg[fdt_earlycon.msg_idx++] = *str; in rt_fdt_earlycon_output() 563 fdt_earlycon.msg[fdt_earlycon.msg_idx] = '\0'; in rt_fdt_earlycon_output() 578 if (fdt_earlycon.msg_idx) in rt_fdt_earlycon_kick() 580 fdt_earlycon.msg_idx = 0; in rt_fdt_earlycon_kick() 596 rt_memset(&fdt_earlycon, 0, rt_offsetof(struct rt_fdt_earlycon, msg_idx)); in rt_fdt_scan_chosen_stdout() 783 if (fdt_earlycon.msg_idx) in rt_fdt_scan_chosen_stdout() 785 fdt_earlycon.msg_idx = 0; in rt_fdt_scan_chosen_stdout()
|
| /components/net/lwip/lwip-2.1.2/src/apps/mqtt/ |
| A D | mqtt.c | 683 …LWIP_ASSERT("client->msg_idx < MQTT_VAR_HEADER_BUFFER_LEN", client->msg_idx < MQTT_VAR_HEADER_BUFF… in mqtt_message_received() 684 LWIP_ASSERT("fixed_hdr_idx <= client->msg_idx", fixed_hdr_idx <= client->msg_idx); in mqtt_message_received() 717 if (client->msg_idx <= MQTT_VAR_HEADER_BUFFER_LEN) { in mqtt_message_received() 852 if (fixed_hdr_idx < client->msg_idx) { in mqtt_parse_incoming() 859 client->rx_buffer[client->msg_idx++] = b; in mqtt_parse_incoming() 874 client->msg_idx = 0; in mqtt_parse_incoming() 879 msg_rem_len = (msg_rem_len + fixed_hdr_idx) - client->msg_idx; in mqtt_parse_incoming() 887 …cpy_start = (client->msg_idx - fixed_hdr_idx) % (MQTT_VAR_HEADER_BUFFER_LEN - fixed_hdr_idx) + fix… in mqtt_parse_incoming() 900 client->msg_idx += cpy_len; in mqtt_parse_incoming() 913 client->msg_idx = 0; in mqtt_parse_incoming() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/apps/mqtt/ |
| A D | mqtt.c | 676 if (client->msg_idx <= MQTT_VAR_HEADER_BUFFER_LEN) { in mqtt_message_received() 789 if (fixed_hdr_idx < client->msg_idx) { in mqtt_parse_incoming() 793 client->rx_buffer[client->msg_idx++] = b; in mqtt_parse_incoming() 804 client->msg_idx = 0; in mqtt_parse_incoming() 808 msg_rem_len = (msg_rem_len + fixed_hdr_idx) - client->msg_idx; in mqtt_parse_incoming() 815 …cpy_start = (client->msg_idx - fixed_hdr_idx) % (MQTT_VAR_HEADER_BUFFER_LEN - fixed_hdr_idx) + fix… in mqtt_parse_incoming() 828 client->msg_idx += cpy_len; in mqtt_parse_incoming() 832 …"mqtt_parse_incoming: msg_idx: %d, cpy_len: %d, remaining %d\n", client->msg_idx, cpy_len, msg_rem… in mqtt_parse_incoming() 841 client->msg_idx = 0; in mqtt_parse_incoming() 982 client->msg_idx = 0; in mqtt_tcp_connect_cb()
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/apps/ |
| A D | mqtt_priv.h | 94 u32_t msg_idx; member
|
| /components/drivers/include/drivers/ |
| A D | ofw_fdt.h | 33 long msg_idx; member
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/apps/ |
| A D | mqtt.h | 201 u32_t msg_idx; member
|
Completed in 16 milliseconds