Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/lwm2m/content_raw_cbor/src/
Dmain.c413 struct test_payload_buffer long_payload = { in ZTEST() local
439 zassert_equal(ret, long_payload.len, "Invalid length returned"); in ZTEST()
440 zassert_mem_equal(test_out.out_cpkt->data + offset, long_payload.data, in ZTEST()
441 long_payload.len, "Invalid payload format"); in ZTEST()
442 zassert_equal(test_out.out_cpkt->offset, long_payload.len + offset, in ZTEST()
548 struct test_payload_buffer long_payload = { in ZTEST() local
574 zassert_equal(ret, long_payload.len, "Invalid length returned"); in ZTEST()
575 zassert_mem_equal(test_out.out_cpkt->data + offset, long_payload.data, in ZTEST()
576 long_payload.len, "Invalid payload format"); in ZTEST()
577 zassert_equal(test_out.out_cpkt->offset, long_payload.len + offset, in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/http_server/core/src/
Dmain.c42 static const char long_payload[] = TEST_LONG_PAYLOAD_CHUNK_1 TEST_LONG_PAYLOAD_CHUNK_2; variable
43 BUILD_ASSERT(sizeof(long_payload) - 1 > CONFIG_HTTP_SERVER_CLIENT_BUFFER_SIZE,
415 static uint8_t dynamic_response_headers_buffer[sizeof(long_payload)];
490 response_ctx->body = long_payload + offset; in dynamic_response_headers_cb()
494 if (offset == strlen(long_payload)) { in dynamic_response_headers_cb()
2092 zassert_mem_equal(dynamic_response_headers_buffer, long_payload, strlen(long_payload)); in ZTEST()
2137 request[sizeof(request_part1) + (sizeof(long_payload) - 1) + sizeof(request_part3)]; in ZTEST()
2139 BUILD_ASSERT(sizeof(long_payload) - 1 == 0x200, "Length field in data frame header must " in ZTEST()
2144 memcpy(request + req_offset, long_payload, sizeof(long_payload) - 1); in ZTEST()
2145 req_offset += sizeof(long_payload) - 1; in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/coap_client/src/
Dmain.c48 static const char long_payload[] = LOREM_IPSUM_SHORT; variable
65 .payload = long_payload,
66 .len = sizeof(long_payload) - 1,