/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/icmsg/remote/src/ |
D | main.c | 25 static size_t expected_len = PACKET_SIZE_START; variable 46 __ASSERT(len == expected_len, "Unexpected length. Expected %zu, got %zu", in ep_recv() 47 expected_len, len); in ep_recv() 56 expected_len++; in ep_recv() 62 if (expected_len > sizeof(struct data_packet)) { in ep_recv() 63 expected_len = PACKET_SIZE_START; in ep_recv()
|
/Zephyr-Core-3.7.0/samples/subsys/ipc/ipc_service/icmsg/src/ |
D | main.c | 29 static size_t expected_len = PACKET_SIZE_START; variable 50 __ASSERT(len == expected_len, "Unexpected length. Expected %zu, got %zu", in ep_recv() 51 expected_len, len); in ep_recv() 60 expected_len++; in ep_recv() 66 if (expected_len > sizeof(struct data_packet)) { in ep_recv() 67 expected_len = PACKET_SIZE_START; in ep_recv() 193 expected_len = PACKET_SIZE_START; in main()
|
/Zephyr-Core-3.7.0/tests/net/lib/http_server/hpack/src/ |
D | main.c | 101 uint8_t expected_len = DIV_ROUND_UP(test_huffman_codes[i].bitlen, 8); in ZTEST() local 110 zassert_equal(ret, expected_len, "Wrong encoding length"); in ZTEST() 111 zassert_mem_equal(&buf, &expected, expected_len, in ZTEST() 137 int expected_len = 0; in ZTEST() local 141 expected_len += test_huffman_codes[i].bitlen; in ZTEST() 145 expected_len = DIV_ROUND_UP(expected_len, 8); in ZTEST() 148 zassert_equal(ret, expected_len, "Wrong encoded length"); in ZTEST() 150 ret = http_hpack_huffman_decode(test_buf, expected_len, str, sizeof(str)); in ZTEST() 154 expected_len += test_huffman_codes[i].bitlen; in ZTEST()
|
/Zephyr-Core-3.7.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.7.0/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_uart.c | 185 size_t expected_len = request_expected_size( in uart_callback() local 188 if (expected_len == 0 || expected_len > hc_uart->rx_buf_size) { in uart_callback() 191 } else if (hc_uart->rx_ctx->len == expected_len) { in uart_callback() 209 } else if (hc_uart->rx_ctx->len > expected_len) { in uart_callback()
|
/Zephyr-Core-3.7.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.7.0/tests/net/lib/coap/src/ |
D | main.c | 1633 size_t expected_len, uint16_t code) in assert_coap_packet_set_path_query_options() argument 1654 zassert_true(((expected == NULL) && (expected_len == 0U)), in assert_coap_packet_set_path_query_options() 1658 for (unsigned int i = 0U; i < expected_len; ++i) { in assert_coap_packet_set_path_query_options() 1660 if (i < expected_len) { in assert_coap_packet_set_path_query_options()
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | hl7800.c | 1653 uint32_t expected_len) in wait_for_modem_data() argument 1657 while ((current_len < expected_len) && in wait_for_modem_data() 1659 LOG_DBG("cur:%d, exp:%d", current_len, expected_len); in wait_for_modem_data() 1670 uint32_t expected_len) in wait_for_modem_data_and_newline() argument 1673 (expected_len + strlen("\r\n"))); in wait_for_modem_data_and_newline()
|