Home
last modified time | relevance | path

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

/external/libevent/
Dht-internal.h105 #define HT_SET_HASH_(elm, field, hashfn) \ argument
106 do { (elm)->field.hte_hash = hashfn(elm); } while (0)
109 #define HT_ELT_HASH_(elm, field, hashfn) \ argument
112 #define HT_SET_HASH_(elm, field, hashfn) \ argument
114 #define HT_ELT_HASH_(elm, field, hashfn) \ argument
115 (hashfn(elm))
121 #define HT_BUCKET_(head, field, elm, hashfn) \ argument
122 ((head)->hth_table[HT_ELT_HASH_(elm,field,hashfn) % head->hth_table_length])
129 #define HT_PROTOTYPE(name, type, field, hashfn, eqfn) \ argument
149 p = &HT_BUCKET_(head, field, elm, hashfn); \
[all …]