Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 11 of 11) sorted by relevance

/net-tools-latest/libcoap/tests/
Dtest_error_response.c36 coap_pdu_clear(pdu, pdu->max_size); in t_error_response1()
65 coap_pdu_clear(pdu, pdu->max_size); in t_error_response2()
95 coap_pdu_clear(pdu, pdu->max_size); in t_error_response3()
134 coap_pdu_clear(pdu, pdu->max_size); in t_error_response4()
175 coap_pdu_clear(pdu, pdu->max_size); in t_error_response5()
216 coap_pdu_clear(pdu, pdu->max_size); in t_error_response6()
257 coap_pdu_clear(pdu, pdu->max_size); in t_error_response7()
293 coap_pdu_clear(pdu, pdu->max_size); in t_error_response8()
Dtest_pdu.c259 coap_pdu_clear(pdu, pdu->max_size); in t_encode_pdu1()
274 size_t old_max = pdu->max_size; in t_encode_pdu2()
311 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu4()
362 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu5()
400 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu6()
420 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu7()
443 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu8()
476 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu9()
558 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu10()
607 size_t old_max = pdu->max_size; in t_encode_pdu11()
[all …]
Dtest_options.c434 .max_size = TEST_MAX_SIZE, in t_iterate_option1()
459 .max_size = TEST_MAX_SIZE, in t_iterate_option2()
485 .max_size = TEST_MAX_SIZE, in t_iterate_option3()
527 .max_size = TEST_MAX_SIZE, in t_iterate_option4()
568 .max_size = TEST_MAX_SIZE, in t_iterate_option5()
600 .max_size = TEST_MAX_SIZE, in t_iterate_option6()
644 .max_size = TEST_MAX_SIZE, in t_iterate_option7()
690 .max_size = TEST_MAX_SIZE, in t_iterate_option8()
720 .max_size = TEST_MAX_SIZE, in t_iterate_option9()
750 .max_size = TEST_MAX_SIZE, in t_iterate_option10()
Dtest_wellknown.c219 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_wellknown6()
Dtest_uri.c329 .max_size = sizeof(teststr), in t_parse_uri13()
/net-tools-latest/libcoap/src/
Dpdu.c41 pdu->max_size = size; in coap_pdu_clear()
65 result->max_size = pbuf->tot_len; in coap_pdu_from_pbuf()
156 if (!pdu || len > 8 || pdu->max_size < HEADERLENGTH) in coap_add_token()
186 optsize = coap_opt_encode(opt, pdu->max_size - pdu->length, in coap_add_option()
218 optsize = coap_opt_encode(opt, pdu->max_size - pdu->length, in coap_add_option_later()
241 if (pdu->length + len + 1 > pdu->max_size) { in coap_add_data()
347 if (pdu->max_size < length) { in coap_pdu_parse()
Dblock.c77 avail = pdu->max_size - pdu->length - 4; in coap_write_block_opt()
Dnet.c1204 if (resp->max_size <= (size_t)resp->length + 3) { in coap_wellknown_response()
1218 if (!need_block2 && (resp->max_size - (size_t)resp->length < wkc_len)) { in coap_wellknown_response()
1219 assert(resp->length <= resp->max_size); in coap_wellknown_response()
1220 const size_t payloadlen = resp->max_size - resp->length; in coap_wellknown_response()
1252 len = need_block2 ? SZX_TO_BYTES(block.szx) : resp->max_size - resp->length; in coap_wellknown_response()
/net-tools-latest/libcoap/include/coap/
Dpdu.h228 size_t max_size; /**< allocated storage for options and data */ member
/net-tools-latest/libcoap/examples/contiki/
Dserver.c135 min(sizeof(buf), response->max_size - response->length), in hnd_get_time()
/net-tools-latest/libcoap/examples/
Dcoap-server.c142 response->max_size - response->length), in hnd_get_time()
151 response->max_size - response->length), in hnd_get_time()