Home
last modified time | relevance | path

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

/external/libevent/
Dht-internal.h105 #define _HT_ELT_HASH(elm, field, hashfn) \ macro
110 #define _HT_ELT_HASH(elm, field, hashfn) \ macro
118 ((head)->hth_table[_HT_ELT_HASH(elm,field,hashfn) % head->hth_table_length])
268 unsigned b = (_HT_ELT_HASH(*elm, field, hashfn) % head->hth_table_length)+1; \
280 unsigned h = _HT_ELT_HASH(*elm, field, hashfn); \
337 b2 = _HT_ELT_HASH(elm, field, hashfn) % new_len; \
355 b2 = _HT_ELT_HASH(e, field, hashfn) % new_len; \
407 if (_HT_ELT_HASH(elm, field, hashfn) != hashfn(elm)) \
409 if ((_HT_ELT_HASH(elm, field, hashfn) % head->hth_table_length) != i) \