Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_pdu.c55 pdu->max_opt = 0; in coap_pdu_clear()
217 pdu->max_opt = old_pdu->max_opt; in coap_pdu_duplicate()
352 pdu->max_opt = 0; in coap_add_token()
509 pdu->max_opt -= decode_this.delta; in coap_remove_option()
573 if (number >= pdu->max_opt) in coap_insert_option()
708 if (number == pdu->max_opt) { in coap_add_option_internal()
729 if (number < pdu->max_opt) { in coap_add_option_internal()
734 optsize = coap_opt_encode_size(number - pdu->max_opt, len); in coap_add_option_internal()
751 number - pdu->max_opt, data, len); in coap_add_option_internal()
758 pdu->max_opt = number; in coap_add_option_internal()
[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.c414 CU_ASSERT(pdu->max_opt == 3); in t_encode_pdu4()
422 CU_ASSERT(pdu->max_opt == 11); in t_encode_pdu4()
429 CU_ASSERT(pdu->max_opt == 11); in t_encode_pdu4()
436 CU_ASSERT(pdu->max_opt == 8000); in t_encode_pdu4()
469 CU_ASSERT(pdu->max_opt == 1); in t_encode_pdu5()
477 CU_ASSERT(pdu->max_opt == 17); in t_encode_pdu5()
579 CU_ASSERT(pdu->max_opt == 4); in t_encode_pdu9()
586 CU_ASSERT(pdu->max_opt == 5); in t_encode_pdu9()
594 CU_ASSERT(pdu->max_opt == 35); in t_encode_pdu9()
666 CU_ASSERT(pdu->max_opt == 8); in t_encode_pdu10()
[all …]
/third_party/libcoap/include/coap3/
Dcoap_pdu_internal.h129 uint16_t max_opt; /**< highest option number in PDU */ member