Home
last modified time | relevance | path

Searched refs:keylen_in (Results 1 – 2 of 2) sorted by relevance

/net-tools-3.5.0/libcoap/include/coap/
Duthash.h169 #define HASH_ADD(hh,head,fieldname,keylen_in,add) \ argument
170 HASH_ADD_KEYPTR(hh,head,&((add)->fieldname),keylen_in,add)
172 #define HASH_REPLACE(hh,head,fieldname,keylen_in,add,replaced) \ argument
175 HASH_FIND(hh,head,&((add)->fieldname),keylen_in,replaced); \
179 HASH_ADD(hh,head,fieldname,keylen_in,add); \
182 #define HASH_ADD_KEYPTR(hh,head,keyptr,keylen_in,add) \ argument
187 (add)->hh.keylen = (unsigned)(keylen_in); \
199 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \
203 HASH_EMIT_KEY(hh,head,keyptr,keylen_in); \
611 #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ argument
[all …]
/net-tools-3.5.0/tinydtls-0.8.2/
Duthash.h147 #define HASH_ADD(hh,head,fieldname,keylen_in,add) \ argument
148 HASH_ADD_KEYPTR(hh,head,&add->fieldname,keylen_in,add)
150 #define HASH_ADD_KEYPTR(hh,head,keyptr,keylen_in,add) \ argument
155 (add)->hh.keylen = keylen_in; \
167 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \
171 HASH_EMIT_KEY(hh,head,keyptr,keylen_in); \
636 #define HASH_FIND_IN_BKT(tbl,hh,head,keyptr,keylen_in,out) \ argument
641 if (out->hh.keylen == keylen_in) { \
642 if ((HASH_KEYCMP(out->hh.key,keyptr,keylen_in)) == 0) break; \