Searched refs:expected_len (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/samples/subsys/ipc/ipc_service/icmsg/src/ |
D | main.c | 22 static size_t expected_len = PACKET_SIZE_START; variable 36 __ASSERT(len == expected_len, "Unexpected length. Expected %zu, got %zu", in ep_recv() 37 expected_len, len); in ep_recv() 40 expected_len++; in ep_recv() 46 if (expected_len > sizeof(struct data_packet)) { in ep_recv() 47 expected_len = PACKET_SIZE_START; in ep_recv() 145 expected_len = PACKET_SIZE_START; in main()
|
/Zephyr-Core-3.5.0/samples/subsys/ipc/ipc_service/icmsg/remote/src/ |
D | main.c | 30 static size_t expected_len = PACKET_SIZE_START; in ep_recv() local 34 __ASSERT(len == expected_len, "Unexpected length. Expected %zu, got %zu", in ep_recv() 35 expected_len, len); in ep_recv() 38 expected_len++; in ep_recv() 44 if (expected_len > sizeof(struct data_packet)) { in ep_recv() 45 expected_len = PACKET_SIZE_START; in ep_recv()
|
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_packet/src/ |
D | mqtt_packet.c | 71 uint16_t expected_len; member 570 .expected = connect1, .expected_len = sizeof(connect1)}, 574 .expected = connect2, .expected_len = sizeof(connect2)}, 578 .expected = connect3, .expected_len = sizeof(connect3)}, 582 .expected = connect4, .expected_len = sizeof(connect4)}, 586 .expected = connect5, .expected_len = sizeof(connect5)}, 590 .expected = connect6, .expected_len = sizeof(connect6)}, 594 .expected = disconnect1, .expected_len = sizeof(disconnect1)}, 598 .expected = publish1, .expected_len = sizeof(publish1)}, 602 .expected = publish2, .expected_len = sizeof(publish2)}, [all …]
|
/Zephyr-Core-3.5.0/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_uart.c | 180 size_t expected_len = request_expected_size( in uart_callback() local 183 if (expected_len == 0 || expected_len > hc_uart->rx_buf_size) { in uart_callback() 186 } else if (hc_uart->rx_ctx->len == expected_len) { in uart_callback() 204 } else if (hc_uart->rx_ctx->len > expected_len) { in uart_callback()
|
/Zephyr-Core-3.5.0/tests/net/lib/dns_packet/src/ |
D | main.c | 54 uint8_t *expected, uint16_t expected_len) in eval_query() argument 162 if (dns_buf_len != expected_len) { in eval_query()
|
/Zephyr-Core-3.5.0/tests/net/lib/coap/src/ |
D | main.c | 1612 size_t expected_len, uint16_t code) in assert_coap_packet_set_path_query_options() argument 1633 zassert_true(((expected == NULL) && (expected_len == 0U)), in assert_coap_packet_set_path_query_options() 1637 for (unsigned int i = 0U; i < expected_len; ++i) { in assert_coap_packet_set_path_query_options() 1639 if (i < expected_len) { in assert_coap_packet_set_path_query_options()
|
/Zephyr-Core-3.5.0/drivers/modem/ |
D | hl7800.c | 1601 uint32_t expected_len) in wait_for_modem_data() argument 1605 while ((current_len < expected_len) && in wait_for_modem_data() 1607 LOG_DBG("cur:%d, exp:%d", current_len, expected_len); in wait_for_modem_data() 1618 uint32_t expected_len) in wait_for_modem_data_and_newline() argument 1621 (expected_len + strlen("\r\n"))); in wait_for_modem_data_and_newline()
|