Home
last modified time | relevance | path

Searched refs:max_opt (Results 1 – 4 of 4) sorted by relevance

/third_party/libcoap/src/
Dpdu.c48 pdu->max_opt = 0; in coap_pdu_clear()
182 pdu->max_opt = old_pdu->max_opt; in coap_pdu_duplicate()
273 pdu->max_opt = 0; in coap_add_token()
403 pdu->max_opt -= decode_this.delta; in coap_remove_option()
424 if (number >= pdu->max_opt) in coap_insert_option()
550 if (number == pdu->max_opt) { in coap_add_option()
585 if (number < pdu->max_opt) { in coap_add_option()
591 optsize = coap_opt_encode_size(number - pdu->max_opt, len); in coap_add_option()
609 number - pdu->max_opt, data, len); in coap_add_option()
616 pdu->max_opt = number; in coap_add_option()
[all …]
/third_party/python/Lib/distutils/
Dfancy_getopt.py289 max_opt = 0
298 if l > max_opt:
299 max_opt = l
301 opt_width = max_opt + 2 + 2 + 2 # room for indent + dashes + gutter
342 lines.append(" --%-*s %s" % (max_opt, long, text[0]))
344 lines.append(" --%-*s " % (max_opt, long))
352 (max_opt, opt_names, text[0]))
/third_party/libcoap/tests/
Dtest_pdu.c402 CU_ASSERT(pdu->max_opt == 3); in t_encode_pdu4()
410 CU_ASSERT(pdu->max_opt == 11); in t_encode_pdu4()
417 CU_ASSERT(pdu->max_opt == 11); in t_encode_pdu4()
424 CU_ASSERT(pdu->max_opt == 8000); in t_encode_pdu4()
457 CU_ASSERT(pdu->max_opt == 1); in t_encode_pdu5()
465 CU_ASSERT(pdu->max_opt == 17); in t_encode_pdu5()
567 CU_ASSERT(pdu->max_opt == 4); in t_encode_pdu9()
574 CU_ASSERT(pdu->max_opt == 5); in t_encode_pdu9()
582 CU_ASSERT(pdu->max_opt == 35); in t_encode_pdu9()
653 CU_ASSERT(pdu->max_opt == 8); in t_encode_pdu10()
[all …]
/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h104 uint16_t max_opt; /**< highest option number in PDU */ member