/third_party/libcoap/include/coap3/ |
D | block.h | 50 (coap_opt_length(opt) ? (coap_opt_value(opt) + (coap_opt_length(opt)-1)) : 0) 54 (coap_opt_length(opt) ? (*COAP_OPT_BLOCK_LAST(opt) & 0x08) : 0) 58 (coap_opt_length(opt) ? (*COAP_OPT_BLOCK_LAST(opt) & 0x07) : 0) 79 *(coap_opt_value(block_opt) + (coap_opt_length(block_opt) - 1)) |= 0x08; 81 *(coap_opt_value(block_opt) + (coap_opt_length(block_opt) - 1)) &= ~0x08;
|
D | option.h | 298 uint32_t coap_opt_length(const coap_opt_t *opt);
|
/third_party/libcoap/src/ |
D | coap_debug.c | 567 coap_opt_length(option))); in coap_show_pdu() 578 coap_opt_length(option), in coap_show_pdu() 584 coap_opt_length(option))); in coap_show_pdu() 593 coap_opt_length(option))); in coap_show_pdu() 602 coap_opt_length(option)); in coap_show_pdu() 627 coap_opt_length(option))); in coap_show_pdu() 632 opt_len = coap_opt_length(option); in coap_show_pdu() 657 coap_opt_length(option), in coap_show_pdu()
|
D | block.c | 22 len = coap_opt_length(block_opt); in coap_opt_block_num() 30 coap_opt_length(block_opt) - 1); in coap_opt_block_num() 984 coap_opt_length(etag_opt)); in coap_handle_request_send_block() 1086 coap_opt_length(option), in coap_handle_request_send_block() 1256 coap_opt_length(fmt_opt)) : in coap_handle_request_put_block() 1260 coap_opt_length(size_opt)) : 0; in coap_handle_request_put_block() 1301 p->observe_length = min(coap_opt_length(observe), 3); in coap_handle_request_put_block() 1643 coap_opt_length(size_opt)) : 0; in coap_handle_response_get_block() 1658 coap_opt_length(fmt_opt)) : in coap_handle_response_get_block() 1676 p->etag_length = coap_opt_length(etag_opt); in coap_handle_response_get_block() [all …]
|
D | uri.c | 568 uint16_t seg_len = coap_opt_length(q), i; in coap_get_query() 589 uint16_t seg_len = coap_opt_length(q), i; in coap_get_query() 618 uint16_t seg_len = coap_opt_length(q), i; in coap_get_uri_path() 644 uint16_t seg_len = coap_opt_length(q), i; in coap_get_uri_path()
|
D | resource.c | 198 while (resource_param.length < coap_opt_length(query_filter) 202 if (resource_param.length < coap_opt_length(query_filter)) { 220 assert((resource_param.length + 1) <= coap_opt_length(query_filter)); 222 coap_opt_length(query_filter) - (resource_param.length + 1);
|
D | pdu.c | 194 coap_opt_length(option), in coap_pdu_duplicate() 402 coap_opt_length(option)); in coap_remove_option() 1007 optsize ? coap_opt_length((const uint8_t *)opt - optsize) : 0; in coap_pdu_parse_opt() 1053 optsize ? coap_opt_length((const uint8_t *)opt - optsize) : 0; in coap_pdu_parse_opt()
|
D | net.c | 1078 coap_opt_length(opt)); in coap_send() 1198 coap_decode_var_bytes (coap_opt_value (opt), coap_opt_length (opt)); in coap_send_internal() 2120 size += coap_opt_length(option); in coap_new_error_response() 2150 coap_opt_length(option), in coap_new_error_response() 2423 val = coap_decode_var_bytes(coap_opt_value(nores), coap_opt_length(nores)); in no_response() 2571 coap_opt_length(opt), &uri) < 0) { in handle_request() 2582 uri.host.length = coap_opt_length(opt); in handle_request() 2611 coap_decode_var_bytes (coap_opt_value (opt), coap_opt_length (opt)); in handle_request() 2767 coap_opt_length(observe)); in handle_request() 2952 coap_opt_length(option))); in handle_signaling()
|
D | option.c | 214 coap_opt_length(const coap_opt_t *opt) { in coap_opt_length() function
|
/third_party/libcoap/examples/ |
D | etsi_iot_01.c | 204 coap_decode_var_bytes(coap_opt_value(option), coap_opt_length(option)); in hnd_post_test() 215 coap_opt_length(buf), coap_opt_value(buf)); in hnd_post_test() 263 coap_decode_var_bytes(coap_opt_value(option), coap_opt_length(option)); in hnd_put_test() 326 L = min(sizeof(buf) - len, coap_opt_length(q)); in hnd_get_query() 369 for (i = 6; i < coap_opt_length(option); ++i) in hnd_get_separate()
|
D | coap-server.c | 577 coap_opt_length (option)); in hnd_put_example_data() 668 int opt_len = coap_opt_length(opt); in get_uri_proxy_scheme_info() 699 uri->host.length = coap_opt_length(opt); in get_uri_proxy_scheme_info() 710 coap_opt_length (opt)); in get_uri_proxy_scheme_info() 1038 coap_opt_length(proxy_uri), in hnd_proxy_uri() 1041 coap_opt_length(proxy_uri), in hnd_proxy_uri() 1124 coap_opt_length(proxy_uri), in hnd_proxy_uri() 1148 coap_opt_length(buf), in hnd_proxy_uri() 1163 coap_opt_length(buf), in hnd_proxy_uri() 1189 coap_opt_length(option), in hnd_proxy_uri() [all …]
|
D | coap-rd.c | 393 rd->etag_len = min(coap_opt_length(etag), sizeof(rd->etag)); in make_rd() 542 coap_opt_length(b), in hnd_post_rd()
|
D | coap-client.c | 696 coap_opt_length(buf), in cmdline_uri() 711 coap_opt_length(buf), in cmdline_uri()
|
/third_party/libcoap/man/ |
D | coap_pdu_access.txt.in | 18 coap_opt_length, 46 *uint32_t coap_opt_length(const coap_opt_t *_opt_);* 242 The *coap_opt_length*() function returns the length of the option _opt_. 304 coap_opt_length(option)); 311 opt_iter.number, coap_opt_length(option)); 319 opt_iter.number, coap_opt_length(option));
|
D | coap_block.txt.in | 232 coap_opt_length(sbuf), coap_opt_value(sbuf)))) 245 coap_opt_length(sbuf), coap_opt_value(sbuf))))
|
D | coap_pdu_setup.txt.in | 450 coap_opt_length(sbuf), coap_opt_value(sbuf)))) 463 coap_opt_length(sbuf), coap_opt_value(sbuf))))
|
D | coap_cache.txt.in | 329 coap_opt_length (option));
|
/third_party/libcoap/tests/ |
D | test_options.c | 365 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 2); in t_access_option1() 378 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 2); in t_access_option2() 394 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 13); in t_access_option3() 407 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 65535); in t_access_option4() 420 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 490); in t_access_option5() 436 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 0); in t_access_option6() 449 CU_ASSERT(coap_opt_length((const coap_opt_t *)teststr) == 0); in t_access_option7()
|
D | test_pdu.c | 730 CU_ASSERT(coap_opt_length(option) == 1); in t_encode_pdu12() 765 CU_ASSERT(coap_opt_length(option) == 1); in t_encode_pdu13() 800 CU_ASSERT(coap_opt_length(option) == 1); in t_encode_pdu14() 835 CU_ASSERT(coap_opt_length(option) == 1); in t_encode_pdu15()
|
/third_party/libcoap/ |
D | libcoap-3.map | 132 coap_opt_length;
|
D | libcoap-3.sym | 130 coap_opt_length
|
D | ChangeLog | 250 * option.c (coap_opt_size, coap_opt_value, coap_opt_length):
|
/third_party/libcoap/examples/contiki/ |
D | coap-observer.c | 160 coap_opt_length(buf), coap_opt_value(buf)); in PROCESS_THREAD()
|