Home
last modified time | relevance | path

Searched refs:coap_pdu_encode_header (Results 1 – 7 of 7) sorted by relevance

/third_party/libcoap/tests/
Dtest_error_response.c51 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response1()
80 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response2()
113 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response3()
152 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response4()
193 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response5()
234 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response6()
276 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response7()
317 CU_ASSERT(coap_pdu_encode_header(response, COAP_PROTO_UDP) == 4); in t_error_response8()
Dtest_pdu.c347 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu1()
428 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu4()
469 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu5()
491 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu6()
514 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu7()
541 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu8()
592 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu9()
679 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu10()
1043 CU_ASSERT(coap_pdu_encode_header(pdu, COAP_PROTO_UDP) == 4); in t_encode_pdu18()
/third_party/libcoap/tests/oss-fuzz/
Dpdu_parse_target.c12 coap_pdu_encode_header(pdu, COAP_PROTO_UDP); in LLVMFuzzerTestOneInput()
/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h282 size_t coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto);
/third_party/libcoap/src/
Dpdu.c1127 coap_pdu_encode_header(coap_pdu_t *pdu, coap_proto_t proto) { in coap_pdu_encode_header() function
Dcoap_session.c376 || coap_pdu_encode_header(pdu, session->proto) == 0 in coap_session_send_csm()
Dnet.c1262 if (!coap_pdu_encode_header(pdu, session->proto)) { in coap_send_internal()