/third_party/libcoap/src/ |
D | str.c | 67 coap_binary_t *coap_new_binary(size_t size) { in coap_new_binary() 68 return (coap_binary_t *)coap_new_string(size); in coap_new_binary() 71 coap_binary_t *coap_resize_binary(coap_binary_t *s, size_t size) { in coap_resize_binary() 74 coap_binary_t *new = coap_new_binary(size); in coap_resize_binary() 80 coap_binary_t *new = coap_realloc_type(COAP_STRING, in coap_resize_binary() 82 sizeof(coap_binary_t) + size); in coap_resize_binary() 91 void coap_delete_binary(coap_binary_t *s) { in coap_delete_binary()
|
D | coap_tinydtls.c | 34 coap_binary_t *priv_key; 35 coap_binary_t *pub_key; 735 static coap_binary_t * 741 coap_binary_t *decoded; in pem_base64_decode() 794 typedef coap_binary_t * (*asn1_callback)(const uint8_t *data, size_t size); 883 coap_binary_t *test; in asn1_derive_keys() 926 static coap_binary_t * 929 coap_binary_t *test; in ec_abstract_pkcs8_asn1() 957 static coap_binary_t * 979 coap_binary_t *asn1_priv; in coap_dtls_context_set_pki() [all …]
|
D | coap_asn1.c | 62 coap_binary_t * 71 coap_binary_t *tag_data; in get_asn1_tag()
|
D | resource.c | 687 const coap_binary_t *token) { 723 const coap_binary_t *token, 749 coap_binary_t tmp_token = { s->pdu->token_length, s->pdu->token }; 804 const coap_binary_t *token) { 817 const coap_binary_t *token) { 862 coap_binary_t token; 1086 const coap_binary_t *token) { 1127 const coap_binary_t *token) {
|
D | block.c | 279 coap_cancel_observe(coap_session_t *session, coap_binary_t *token, in coap_cancel_observe() 1558 coap_binary_t * 1559 coap_block_build_body(coap_binary_t *body_data, size_t length, in coap_block_build_body() 1585 coap_binary_t *new = coap_resize_binary(body_data, offset + length); in coap_block_build_body()
|
D | net.c | 1390 coap_binary_t token = { 0, NULL }; in coap_retransmit() 2341 coap_binary_t token = { 0, NULL }; in coap_cancel() 2498 coap_binary_t token = { pdu->token_length, pdu->token }; in handle_request() 3020 const coap_binary_t token = in coap_dispatch() 3077 coap_binary_t token = { 0, NULL }; in coap_dispatch()
|
D | coap_gnutls.c | 989 coap_binary_t *pub_key = get_asn1_tag(COAP_ASN1_BITSTRING, data, size, NULL); in get_asn1_spki() 990 coap_binary_t *prime = get_asn1_tag(COAP_ASN1_IDENTIFIER, data, size, NULL); in get_asn1_spki()
|
/third_party/libcoap/include/coap3/ |
D | str.h | 50 typedef struct coap_binary_t { struct 53 } coap_binary_t; typedef 111 coap_binary_t *coap_new_binary(size_t size); 118 void coap_delete_binary(coap_binary_t *binary); 133 coap_binary_t *coap_resize_binary(coap_binary_t *binary, size_t new_size);
|
D | coap_subscribe_internal.h | 72 const coap_binary_t *token); 98 const coap_binary_t *token, 112 const coap_binary_t *token); 124 const coap_binary_t *token); 139 const coap_binary_t *token);
|
D | coap_block_internal.h | 57 coap_binary_t *app_token; /**< original PDU token */ 112 coap_binary_t *body_data; /**< Used for re-assembling entire body */ 113 coap_binary_t *app_token; /**< app requesting PDU token */ 139 coap_binary_t *body_data; /**< Used for re-assembling entire body */
|
D | block.h | 157 coap_binary_t * 158 coap_block_build_body(coap_binary_t *body_data, size_t length, 343 int coap_cancel_observe(coap_session_t *session, coap_binary_t *token,
|
D | coap_asn1_internal.h | 84 coap_binary_t *get_asn1_tag(coap_asn1_tag_t ltag, const uint8_t *ptr,
|
/third_party/libcoap/tests/ |
D | test_encode.c | 24 const coap_binary_t teststr = { 0, NULL }; in t_decode1() 35 coap_binary_t teststr = { sizeof(data), data }; in t_decode2() 46 coap_binary_t teststr = { sizeof(data), data }; in t_decode3() 57 coap_binary_t teststr = { sizeof(data), data }; in t_decode4() 67 const coap_binary_t teststr = { 0, NULL }; in t_decode5() 78 coap_binary_t teststr = { sizeof(data), data }; in t_decode6() 89 coap_binary_t teststr = { sizeof(data), data }; in t_decode7() 100 coap_binary_t teststr = { sizeof(data), data }; in t_decode8()
|
/third_party/libcoap/man/ |
D | coap_string.txt.in | 44 *coap_binary_t *coap_new_binary(size_t _size_);* 46 *void coap_delete_binary(coap_binary_t *_binary_);* 48 *coap_binary_t *coap_resize_binary(coap_binary_t *_binary_, size_t _new_size_);* 54 *int coap_binary_equal(coap_binary_t *_binary1_, coap_binary_t *_binary2_);* 91 typedef struct coap_binary_t { 94 } coap_binary_t; 127 The *coap_new_binary*() function allocates a new coap_binary_t of _size_ 135 The *coap_delete_binary*() function is used to delete the coap_binary_t 157 coap_binary_t or NULL if there was a failure. 160 coap_binary_t or NULL if there was a failure.
|
D | coap_cache.txt.in | 206 static coap_binary_t *example_data_ptr = NULL; 211 coap_binary_t *bdata = (coap_binary_t*)data; 224 coap_binary_t *token, 234 coap_binary_t *data_so_far;
|
D | coap_block.txt.in | 41 *coap_binary_t * 42 coap_block_build_body(coap_binary_t *_body_data_, size_t _length_,
|
D | coap_observe.txt.in | 29 *int coap_cancel_observe(coap_session_t *_session_, coap_binary_t *_token_,
|
/third_party/libcoap/examples/ |
D | coap-server.c | 157 coap_binary_t *value; 176 alloc_resource_data(coap_binary_t *value) { in alloc_resource_data() 211 static coap_binary_t 213 coap_binary_t body; in reference_resource_data() 432 coap_binary_t body; in hnd_get_example_data() 436 coap_binary_t *value = coap_new_binary(1500); in hnd_get_example_data() 461 coap_binary_t *bdata = (coap_binary_t*)data; in cache_free_app_data() 482 coap_binary_t *data_so_far; in hnd_put_example_data() 585 coap_binary_t body; in hnd_put_example_data() 651 coap_binary_t *token; /* Incoming token */ [all …]
|
D | coap-client.c | 55 coap_binary_t the_token = { 0, _token_data };
|
/third_party/libcoap/doc/ |
D | upgrade_4.2.1_4.3.0.txt | 49 coap_binary_t *token,
|