Home
last modified time | relevance | path

Searched refs:test_packet (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/lib/mpsc_pbuf/src/
Dconcurrent.c49 struct test_packet { struct
115 static void test_fail(int line, struct test_packet *packet) in test_fail()
125 static void consume_check(struct test_packet *packet) in consume_check()
143 struct test_packet *packet = (struct test_packet *)item; in drop()
152 struct test_packet *packet = (struct test_packet *)mpsc_pbuf_claim(buffer); in consume()
174 struct test_packet *packet = (struct test_packet *)mpsc_pbuf_alloc(buffer, wlen, K_NO_WAIT); in produce()
205 struct test_packet *packet = (struct test_packet *)item; in get_wlen()
/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/
Dmain.c15 static struct coap_packet test_packet; variable
22 test_out.out_cpkt = &test_packet; in context_reset()
26 test_in.in_cpkt = &test_packet; in context_reset()
29 memset(&test_packet, 0, sizeof(test_packet)); in context_reset()
30 test_packet.data = test_payload; in context_reset()
31 test_packet.max_len = sizeof(test_payload); in context_reset()
46 test_packet.offset = sizeof(test_payload); in test_prepare_nomem()
55 test_packet.offset = sizeof(test_payload); in test_prepare_nodata()
62 test_packet.offset = strlen(payload) + 1; in test_payload_set()
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/src/
Dmain.c85 static struct coap_packet test_packet; variable
93 test_out.out_cpkt = &test_packet; in context_reset()
97 memset(&test_packet, 0, sizeof(test_packet)); in context_reset()
98 test_packet.data = test_payload; in context_reset()
99 test_packet.max_len = sizeof(test_payload); in context_reset()
121 test_packet.offset = sizeof(test_payload); in test_prepare_nomem()
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c23 static struct coap_packet test_packet; variable
30 test_out.out_cpkt = &test_packet; in context_reset()
34 test_in.in_cpkt = &test_packet; in context_reset()
37 memset(&test_packet, 0, sizeof(test_packet)); in context_reset()
38 test_packet.data = test_payload; in context_reset()
39 test_packet.max_len = sizeof(test_payload); in context_reset()
54 test_packet.offset = sizeof(test_payload); in test_prepare_nomem()
63 test_packet.offset = sizeof(test_payload); in test_prepare_nodata()
70 test_packet.offset = len + 1; in test_payload_set()
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/
Dmain.c31 static struct coap_packet test_packet; variable
39 test_out.out_cpkt = &test_packet; in context_reset()
46 test_in.in_cpkt = &test_packet; in context_reset()
49 memset(&test_packet, 0, sizeof(test_packet)); in context_reset()
50 test_packet.data = test_payload; in context_reset()
51 test_packet.max_len = sizeof(test_payload); in context_reset()
66 test_packet.offset = sizeof(test_payload); in test_prepare_nomem()
73 test_packet.offset = sizeof(test_payload); in test_prepare_nodata()
80 test_packet.offset = len + 1; in test_payload_set()