Home
last modified time | relevance | path

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

/net-tools-3.5.0/libcoap/include/coap/
Duthash.h108 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
157 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
199 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \
229 (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \
252 HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
295 for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \
687 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \
690 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \
693 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \
695 for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_i++) \
[all …]
/net-tools-3.5.0/tinydtls-0.8.2/
Duthash.h87 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
135 (head)->hh.tbl->num_buckets = HASH_INITIAL_NUM_BUCKETS; \
167 HASH_FCN(keyptr,keylen_in, (head)->hh.tbl->num_buckets, \
198 (head)->hh.tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \
220 HASH_TO_BKT( _hd_hh_del->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \
257 for( _bkt_i = 0; _bkt_i < (head)->hh.tbl->num_buckets; _bkt_i++) { \
712 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \
715 2 * tbl->num_buckets * sizeof(struct UT_hash_bucket)); \
718 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \
720 for(_he_bkt_i = 0; _he_bkt_i < tbl->num_buckets; _he_bkt_i++) \
[all …]