Home
last modified time | relevance | path

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

/external/libevent/
Dht-internal.h101 #define _HT_SET_HASH(elm, field, hashfn) \ argument
102 do { (elm)->field.hte_hash = hashfn(elm); } while (0)
105 #define _HT_ELT_HASH(elm, field, hashfn) \ argument
108 #define _HT_SET_HASH(elm, field, hashfn) \ argument
110 #define _HT_ELT_HASH(elm, field, hashfn) \ argument
111 (hashfn(elm))
117 #define _HT_BUCKET(head, field, elm, hashfn) \ argument
118 ((head)->hth_table[_HT_ELT_HASH(elm,field,hashfn) % head->hth_table_length])
125 #define HT_PROTOTYPE(name, type, field, hashfn, eqfn) \ argument
145 p = &_HT_BUCKET(head, field, elm, hashfn); \
[all …]