Home
last modified time | relevance | path

Searched refs:hh (Results 1 – 11 of 11) sorted by relevance

/net-tools-3.5.0/libcoap/include/coap/
Duthash.h103 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument
108 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
109 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
110 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
150 #define HASH_MAKE_TABLE(hh,head) \ argument
152 (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \
154 if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \
155 memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \
156 (head)->hh.tbl->tail = &((head)->hh); \
157 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
[all …]
Dresource.h84 UT_hash_handle hh; member
371 HASH_ADD(hh, (r), key, sizeof(coap_key_t), (obj))
374 HASH_DELETE(hh, (r), (obj))
378 HASH_ITER(hh, (r), tmp, rtmp)
381 HASH_FIND(hh, (r), (k), sizeof(coap_key_t), (res)); \
/net-tools-3.5.0/tinydtls-0.8.2/
Duthash.h82 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument
87 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
88 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
89 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
128 #define HASH_MAKE_TABLE(hh,head) \ argument
130 (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \
132 if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \
133 memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \
134 (head)->hh.tbl->tail = &((head)->hh); \
135 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
[all …]
Dpeer.h54 UT_hash_handle hh; member
Ddtls.c66 HASH_FIND(hh,head,sess,sizeof(session_t),out)
68 HASH_ADD(hh,head,sess,sizeof(session_t),add)
70 HASH_DELETE(hh,head,delptr)
3813 HASH_ITER(hh, ctx->peers, p, tmp) { in dtls_free_context()
/net-tools-3.5.0/libcoap/examples/
Detsi_iot_01.c42 UT_hash_handle hh; member
58 UT_hash_handle hh; member
94 HASH_FIND(hh, test_resources, key, sizeof(coap_key_t), p); in coap_find_payload()
104 HASH_ADD(hh, test_resources, resource_key, sizeof(coap_key_t), payload); in coap_add_payload()
108 HASH_ADD(hh, test_dynamic_uris, resource_key, sizeof(coap_key_t), uri); in coap_add_payload()
116 HASH_FIND(hh, test_dynamic_uris, in coap_delete_payload()
119 HASH_DELETE(hh, test_dynamic_uris, uri); in coap_delete_payload()
124 HASH_DELETE(hh, test_resources, payload); in coap_delete_payload()
Dcoap-rd.c51 UT_hash_handle hh; /**< hash handle (for internal use only) */ member
106 HASH_FIND(hh, resources, resource->key, sizeof(coap_key_t), rd); in hnd_get_resource()
145 HASH_FIND(hh, resources, resource->key, sizeof(coap_key_t), rd); in hnd_put_resource()
211 HASH_FIND(hh, resources, resource->key, sizeof(coap_key_t), rd); in hnd_delete_resource()
213 HASH_DELETE(hh, resources, rd); in hnd_delete_resource()
509 HASH_ADD(hh, resources, key, sizeof(coap_key_t), rd); in hnd_post_rd()
/net-tools-3.5.0/libcoap/src/
Dresource.c459 HASH_ITER(hh, context->resources, res, rtmp) {
/net-tools-3.5.0/tinydtls-0.8.2/doc/
DDoxyfile.in591 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
/net-tools-3.5.0/mbedtls-2.4.0/doxygen/
Dmbedtls.doxyfile681 # *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh
/net-tools-3.5.0/libcoap/doc/
DDoxyfile.in772 # *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,