/third_party/libcoap/src/ |
D | str.c | 15 coap_string_t *coap_new_string(size_t size) { in coap_new_string() 16 coap_string_t *s; in coap_new_string() 26 s = (coap_string_t *)coap_malloc_type(COAP_STRING, in coap_new_string() 27 sizeof(coap_string_t) + size + 1); in coap_new_string() 33 memset(s, 0, sizeof(coap_string_t)); in coap_new_string() 34 s->s = ((unsigned char *)s) + sizeof(coap_string_t); in coap_new_string() 40 void coap_delete_string(coap_string_t *s) { in coap_delete_string() 45 coap_string_t *s = coap_new_string(size); in coap_new_str_const() 86 new->s = ((unsigned char *)new) + sizeof(coap_string_t); in coap_resize_binary() 96 coap_string_t *s = coap_new_string(size); in coap_new_bin_const()
|
D | mem.c | 177 coap_string_t s; 178 char buf[sizeof(coap_string_t) + COAP_MAX_STRING_SIZE]; 185 coap_string_t s; 186 char buf[sizeof(coap_string_t) + COAP_MAX_ATTRIBUTE_SIZE];
|
D | uri.c | 424 coap_string_t buf; 556 coap_string_t *coap_get_query(const coap_pdu_t *request) { in coap_get_query() 560 coap_string_t *query = NULL; in coap_get_query() 606 coap_string_t *coap_get_uri_path(const coap_pdu_t *request) { in coap_get_uri_path() 610 coap_string_t *uri_path = NULL; in coap_get_uri_path()
|
D | block.c | 336 const coap_string_t *query, in coap_add_data_large_internal() 392 coap_string_t empty = { 0, NULL}; in coap_add_data_large_internal() 642 const coap_string_t *query, in coap_add_data_large_response() 955 coap_string_t *query) { in coap_handle_request_send_block() 973 static coap_string_t empty = { 0, NULL}; in coap_handle_request_send_block() 1227 coap_string_t *uri_path, in coap_handle_request_put_block() 1229 coap_string_t *query, in coap_handle_request_put_block() 1949 coap_resource_t *resource, coap_string_t *query) { in coap_check_code_lg_xmit() 1951 coap_string_t empty = { 0, NULL}; in coap_check_code_lg_xmit()
|
D | resource.c | 865 coap_string_t *query; 988 coap_resource_set_dirty(coap_resource_t *r, const coap_string_t *query) { 994 const coap_string_t *query COAP_UNUSED) {
|
/third_party/libcoap/include/coap3/ |
D | coap_block_internal.h | 69 coap_string_t *query; /**< Associated query for the resource */ 170 coap_string_t *query); 177 coap_string_t *uri_path, 179 coap_string_t *query, 217 const coap_string_t *query, 235 coap_resource_t *resource, coap_string_t *query);
|
D | str.h | 32 typedef struct coap_string_t { struct 35 } coap_string_t; argument 73 coap_string_t *coap_new_string(size_t size); 80 void coap_delete_string(coap_string_t *string);
|
D | uri.h | 162 coap_string_t *coap_get_query(const coap_pdu_t *request); 172 coap_string_t *coap_get_uri_path(const coap_pdu_t *request);
|
D | resource.h | 45 const coap_string_t * /* query string */, 376 const coap_string_t *query);
|
D | subscribe.h | 64 const coap_string_t *query);
|
D | coap_forward_decls.h | 30 struct coap_string_t;
|
D | lwippools.h | 110 LWIP_MEMPOOL(COAP_STRING, MEMP_NUM_COAPSTRING, sizeof(coap_string_t)+MEMP_LEN_COAPSTRING, "COAP_STR…
|
D | block.h | 300 const coap_string_t *query,
|
/third_party/libcoap/man/ |
D | coap_string.txt.in | 32 *coap_string_t *coap_new_string(size_t _size_);* 34 *void coap_delete_string(coap_string_t *_string_);* 42 *int coap_string_equal(coap_string_t *_string1_, coap_string_t *_string2_);* 75 typedef struct coap_string_t { 78 } coap_string_t; 105 The *coap_new_string*() function allocates a new coap_string_t of _size_ 109 The *coap_delete_string*() function is used to delete the coap_string_t 151 coap_string_t or NULL if there was a failure.
|
D | coap_resource.txt.in | 199 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 226 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 240 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 255 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 317 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 337 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 365 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 371 coap_string_t *put_uri_path; 400 check_url_fn(coap_string_t *uri_path, uint8_t code) { 414 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { [all …]
|
D | coap_observe.txt.in | 27 const coap_string_t *_query_);* 143 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) { 196 const coap_pdu_t *request, const coap_string_t *query, coap_pdu_t *response) {
|
D | coap_handler.txt.in | 72 const coap_string_t *query, 205 coap_pdu_t *request, coap_string_t *query, coap_pdu_t *response) {
|
/third_party/libcoap/tests/oss-fuzz/ |
D | pdu_parse_target.c | 9 coap_string_t *query = coap_get_query(pdu); in LLVMFuzzerTestOneInput() 10 coap_string_t *uri_path = coap_get_uri_path(pdu); in LLVMFuzzerTestOneInput()
|
/third_party/libcoap/examples/ |
D | etsi_iot_01.c | 98 coap_string_t *query COAP_UNUSED, 120 const coap_string_t *query COAP_UNUSED, in hnd_get_resource() 145 const coap_string_t *query COAP_UNUSED, in hnd_delete_resource() 163 const coap_string_t *query COAP_UNUSED, in hnd_post_test() 229 const coap_string_t *query COAP_UNUSED, in hnd_put_test() 282 const coap_string_t *query COAP_UNUSED, in hnd_delete_test() 300 const coap_string_t *query COAP_UNUSED, in hnd_get_query() 342 const coap_string_t *query COAP_UNUSED, in hnd_get_separate()
|
D | coap-rd.c | 71 coap_string_t data; /**< points to the resource description */ 121 const coap_string_t *query COAP_UNUSED, in hnd_get_resource() 145 const coap_string_t *query COAP_UNUSED, in hnd_put_resource() 159 coap_string_t tmp; in hnd_put_resource() 222 const coap_string_t *query COAP_UNUSED, in hnd_delete_resource() 240 const coap_string_t *query COAP_UNUSED, in hnd_get_rd() 262 coap_string_t *result) { in parse_param() 265 memset(result, 0, sizeof(coap_string_t)); in parse_param() 404 const coap_string_t *query COAP_UNUSED, in hnd_post_rd() 410 …coap_string_t h = {0, NULL}, ins = {0, NULL}, rt = {0, NULL}, lt = {0, NULL}; /* store query param… in hnd_post_rd()
|
D | coap-server.c | 235 const coap_string_t *query COAP_UNUSED, in hnd_get_index() 249 const coap_string_t *query, in hnd_get_fetch_time() 307 const coap_string_t *query COAP_UNUSED, in hnd_put_time() 355 const coap_string_t *query COAP_UNUSED, in hnd_delete_time() 371 const coap_string_t *query, in hnd_get_async() 429 const coap_string_t *query, in hnd_get_example_data() 473 const coap_string_t *query COAP_UNUSED, in hnd_put_example_data() 652 coap_string_t *query; /* Incoming query */ 664 coap_string_t **uri_path, in get_uri_proxy_scheme_info() 665 coap_string_t **uri_query) { in get_uri_proxy_scheme_info() [all …]
|
D | coap-client.c | 76 static coap_string_t output_file = { 0, NULL }; /* output file name */ 79 static coap_string_t payload = { 0, NULL }; /* optional payload to send */ 963 cmdline_input(char *text, coap_string_t *buf) { in cmdline_input() 980 cmdline_input_from_file(char *filename, coap_string_t *buf) { in cmdline_input_from_file()
|
/third_party/libcoap/tests/ |
D | test_uri.c | 341 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri13() 442 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri18() 467 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri19() 487 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri20() 508 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri21() 531 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri22() 552 coap_string_t *uri_path = coap_get_uri_path(&pdu); in t_parse_uri23()
|
/third_party/libcoap/examples/lwip/ |
D | server-coap.c | 29 const coap_pdu_t *request, const coap_string_t *query, in hnd_get_time()
|
/third_party/libcoap/examples/contiki/ |
D | server.c | 95 const coap_pdu_t *request, const coap_string_t *query, in hnd_get_time()
|