Home
last modified time | relevance | path

Searched refs:test_in (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/content_plain_text/src/
Dmain.c13 static struct lwm2m_input_context test_in; variable
24 memset(&test_in, 0, sizeof(test_in)); in context_reset()
25 test_in.reader = &plain_text_reader; in context_reset()
26 test_in.in_cpkt = &test_packet; in context_reset()
56 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
63 test_in.offset = 1; /* Payload marker */ in test_payload_set()
331 ret = plain_text_reader.get_s32(&test_in, &value); in ZTEST()
335 zassert_equal(test_in.offset, strlen(payload[i]) + 1, in ZTEST()
345 ret = plain_text_reader.get_s32(&test_in, &value); in ZTEST()
362 ret = plain_text_reader.get_s64(&test_in, &value); in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c21 static struct lwm2m_input_context test_in; variable
32 memset(&test_in, 0, sizeof(test_in)); in context_reset()
33 test_in.reader = &cbor_reader; in context_reset()
34 test_in.in_cpkt = &test_packet; in context_reset()
64 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
71 test_in.offset = 1; /* Payload marker */ in test_payload_set()
687 ret = cbor_reader.get_s32(&test_in, &value); in ZTEST()
690 zassert_equal(test_in.offset, payload[i].len + 1, in ZTEST()
700 ret = cbor_reader.get_s32(&test_in, &value); in ZTEST()
744 ret = cbor_reader.get_s64(&test_in, &value); in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/content_oma_tlv/src/
Dmain.c29 static struct lwm2m_input_context test_in; variable
44 memset(&test_in, 0, sizeof(test_in)); in context_reset()
45 test_in.reader = &oma_tlv_reader; in context_reset()
46 test_in.in_cpkt = &test_packet; in context_reset()
74 test_in.offset = sizeof(test_payload); in test_prepare_nodata()
81 test_in.offset = 1; /* Payload marker */ in test_payload_set()
725 ret = oma_tlv_reader.get_s32(&test_in, &value); in ZTEST()
728 zassert_equal(test_in.offset, payload[i].len + 1, in ZTEST()
738 ret = oma_tlv_reader.get_s32(&test_in, &value); in ZTEST()
796 ret = oma_tlv_reader.get_s64(&test_in, &value); in ZTEST()
[all …]