Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/
Dmain.c16 static uint8_t test_payload[128]; variable
28 memset(&test_payload, 0, sizeof(test_payload)); 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()
56 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
61 memcpy(test_payload + 1, payload, strlen(payload)); in test_payload_set()
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/src/
Dmain.c86 static uint8_t test_payload[128]; variable
96 memset(&test_payload, 0, sizeof(test_payload)); 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.c24 static uint8_t test_payload[128]; variable
36 memset(&test_payload, 0, sizeof(test_payload)); 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()
64 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
69 memcpy(test_payload + 1, payload, len); in test_payload_set()
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/
Dmain.c32 static uint8_t test_payload[128]; variable
48 memset(&test_payload, 0, sizeof(test_payload)); 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()
74 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
79 memcpy(test_payload + 1, payload, len); in test_payload_set()
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c1360 static const uint8_t test_payload[] = {0xde, 0xad, 0xbe, 0xef}; in init_basic_test_msg() local
1362 r = coap_packet_append_payload(cpkt, test_payload, ARRAY_SIZE(test_payload)); in init_basic_test_msg()
1465 static const uint8_t test_payload[] = {0xde, 0xad, 0xbe, 0xef}; in ZTEST() local
1467 r1 = coap_packet_append_payload(&cpkt, test_payload, ARRAY_SIZE(test_payload)); in ZTEST()
1602 static const uint8_t test_payload[] = {0xde, 0xad, 0xbe, 0xef}; in ZTEST() local
1604 r = coap_packet_append_payload(&cpkt, test_payload, ARRAY_SIZE(test_payload)); in ZTEST()