/third_party/libcoap/include/coap3/ |
D | block.h | 50 (coap_opt_length(opt) ? (coap_opt_value(opt) + (coap_opt_length(opt)-1)) : 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 | 309 const uint8_t *coap_opt_value(const coap_opt_t *opt);
|
/third_party/libcoap/src/ |
D | coap_debug.c | 566 coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu() 577 buf_len = print_readable(coap_opt_value(option), in coap_show_pdu() 583 coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu() 592 coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu() 601 content_format = (int)coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu() 626 coap_decode_var_bytes(coap_opt_value(option), in coap_show_pdu() 633 opt_val = coap_opt_value(option); in coap_show_pdu() 656 buf_len = print_readable(coap_opt_value(option), in coap_show_pdu()
|
D | uri.c | 569 const uint8_t *seg= coap_opt_value(q); in coap_get_query() 590 const uint8_t *seg= coap_opt_value(q); in coap_get_query() 619 const uint8_t *seg= coap_opt_value(q); in coap_get_uri_path() 645 const uint8_t *seg= coap_opt_value(q); in coap_get_uri_path()
|
D | block.c | 29 num = coap_decode_var_bytes(coap_opt_value(block_opt), in coap_opt_block_num() 983 uint64_t etag = coap_decode_var_bytes8(coap_opt_value(etag_opt), in coap_handle_request_send_block() 1087 coap_opt_value(option))) { in coap_handle_request_send_block() 1255 uint16_t fmt = fmt_opt ? coap_decode_var_bytes(coap_opt_value(fmt_opt), in coap_handle_request_put_block() 1259 total = size_opt ? coap_decode_var_bytes(coap_opt_value(size_opt), in coap_handle_request_put_block() 1302 memcpy(p->observe, coap_opt_value(observe), p->observe_length); in coap_handle_request_put_block() 1642 coap_decode_var_bytes(coap_opt_value(size_opt), in coap_handle_response_get_block() 1657 coap_decode_var_bytes(coap_opt_value(fmt_opt), in coap_handle_response_get_block() 1677 memcpy(p->etag, coap_opt_value(etag_opt), p->etag_length); in coap_handle_response_get_block() 1694 if (!full_match(coap_opt_value(etag_opt), in coap_handle_response_get_block() [all …]
|
D | net.c | 1077 observe_action = coap_decode_var_bytes(coap_opt_value(opt), in coap_send() 1198 coap_decode_var_bytes (coap_opt_value (opt), coap_opt_length (opt)); in coap_send_internal() 2151 coap_opt_value(option)); in coap_new_error_response() 2423 val = coap_decode_var_bytes(coap_opt_value(nores), coap_opt_length(nores)); in no_response() 2570 if (coap_split_proxy_uri(coap_opt_value(opt), in handle_request() 2583 uri.host.s = coap_opt_value(opt); in handle_request() 2611 coap_decode_var_bytes (coap_opt_value (opt), coap_opt_length (opt)); in handle_request() 2766 coap_decode_var_bytes(coap_opt_value(observe), in handle_request() 2951 coap_session_set_mtu(session, coap_decode_var_bytes(coap_opt_value(option), in handle_signaling()
|
D | option.c | 251 coap_opt_value(const coap_opt_t *opt) { in coap_opt_value() function
|
D | resource.c | 197 resource_param.s = coap_opt_value(query_filter); 218 coap_opt_value(query_filter) + resource_param.length + 1;
|
D | pdu.c | 195 coap_opt_value(option))) in coap_pdu_duplicate()
|
/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() 327 memcpy(buf + len, coap_opt_value(q), L); in hnd_get_query() 365 if (strncmp("delay=", (const char *)coap_opt_value(option), 6) == 0) { in hnd_get_separate() 370 d = d * 10 + coap_opt_value(option)[i] - '0'; in hnd_get_separate()
|
D | coap-server.c | 576 coap_decode_var_bytes (coap_opt_value (option), in hnd_put_example_data() 667 const char *opt_val = (const char*)coap_opt_value(opt); in get_uri_proxy_scheme_info() 700 uri->host.s = coap_opt_value(opt); in get_uri_proxy_scheme_info() 709 coap_decode_var_bytes (coap_opt_value (opt), in get_uri_proxy_scheme_info() 1039 (const char*)coap_opt_value(proxy_uri)); in hnd_proxy_uri() 1040 if (coap_split_proxy_uri(coap_opt_value(proxy_uri), in hnd_proxy_uri() 1125 coap_opt_value(proxy_uri))); in hnd_proxy_uri() 1149 coap_opt_value(buf))); in hnd_proxy_uri() 1164 coap_opt_value(buf))); in hnd_proxy_uri() 1190 coap_opt_value(option))); in hnd_proxy_uri() [all …]
|
D | coap-rd.c | 394 memcpy(rd->etag, coap_opt_value(etag), rd->etag_len); in make_rd() 543 coap_opt_value(b)); in hnd_post_rd()
|
D | coap-client.c | 697 coap_opt_value(buf))); in cmdline_uri() 712 coap_opt_value(buf))); in cmdline_uri()
|
/third_party/libcoap/tests/ |
D | test_options.c | 366 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), teststr + 1); in t_access_option1() 379 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), teststr + 3); in t_access_option2() 395 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), teststr + 4); in t_access_option3() 408 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), teststr + 4); in t_access_option4() 421 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), teststr + 5); in t_access_option5() 437 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), NULL); in t_access_option6() 450 CU_ASSERT_PTR_EQUAL_C(coap_opt_value((const coap_opt_t *)teststr), NULL); in t_access_option7()
|
D | test_pdu.c | 731 CU_ASSERT(*coap_opt_value(option) == opt_srt[n]); in t_encode_pdu12() 766 CU_ASSERT(*coap_opt_value(option) == opt_srt[n]); in t_encode_pdu13() 801 CU_ASSERT(*coap_opt_value(option) == opt_srt[n]); in t_encode_pdu14() 836 CU_ASSERT(*coap_opt_value(option) == opt_srt[n]); in t_encode_pdu15()
|
/third_party/libcoap/man/ |
D | coap_pdu_access.txt.in | 19 coap_opt_value, 48 *const uint8_t *coap_opt_value(const coap_opt_t *_opt_);* 303 uint32_t value = coap_decode_var_bytes(coap_opt_value(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 | 328 coap_decode_var_bytes (coap_opt_value (option),
|
/third_party/libcoap/ |
D | libcoap-3.map | 136 coap_opt_value;
|
D | libcoap-3.sym | 134 coap_opt_value
|
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()
|