Home
last modified time | relevance | path

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

/third_party/elfutils/lib/
Dfixedsizehash.h60 #ifndef HASHTYPE
61 # define HASHTYPE size_t macro
79 HASHTYPE hval; in CONCAT()
133 HASHTYPE hval, TYPE *data) in CONCAT()
139 HASHTYPE hash; in CONCAT()
173 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
196 HASHTYPE hval, TYPE *data) in CONCAT()
224 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
244 HASHTYPE hval = HASHFCT (str, len ?: strlen (str)); in CONCAT()
260 #undef HASHTYPE
Ddynamicsizehash.h52 #ifndef HASHTYPE
53 # define HASHTYPE unsigned long int macro
65 HASHTYPE hashval; \
95 extern int name##_insert (name *htab, HASHTYPE hval, TYPE data); \
98 extern int name##_overwrite (name *htab, HASHTYPE hval, TYPE data); \
101 extern TYPE name##_find (name *htab, HASHTYPE hval, TYPE val);
Ddynamicsizehash_concurrent.h46 #ifndef HASHTYPE
47 # define HASHTYPE unsigned long int macro
62 _Atomic(HASHTYPE) hashval; \
97 extern int name##_insert (name *htab, HASHTYPE hval, TYPE data); \
100 extern TYPE name##_find (name *htab, HASHTYPE hval);
Ddynamicsizehash_concurrent.c43 lookup (NAME *htab, HASHTYPE hval) in lookup()
49 HASHTYPE hash; in lookup()
59 HASHTYPE second_hash = 1 + hval % (htab->size - 2); in lookup()
78 insert_helper (NAME *htab, HASHTYPE hval, TYPE val) in insert_helper()
85 HASHTYPE hash; in insert_helper()
120 HASHTYPE second_hash = 1 + hval % (htab->size - 2); in insert_helper()
234 HASHTYPE hashval = atomic_load_explicit( in resize_helper()
398 INSERT(NAME) (NAME *htab, HASHTYPE hval, TYPE data) in INSERT()
471 FIND(NAME) (NAME *htab, HASHTYPE hval) in FIND()
Ddynamicsizehash.c47 lookup (NAME *htab, HASHTYPE hval, TYPE val __attribute__ ((unused))) in lookup()
55 HASHTYPE hash; in lookup()
83 insert_entry_2 (NAME *htab, HASHTYPE hval, size_t idx, TYPE data) in insert_entry_2()
210 INSERT(NAME) (NAME *htab, HASHTYPE hval, TYPE data) in INSERT()
234 INSERT(NAME) (NAME *htab, HASHTYPE hval, TYPE data) in INSERT()
254 FIND(NAME) (NAME *htab, HASHTYPE hval, TYPE val) in FIND()
DChangeLog328 * dynamicsizehash.h (HASHTYPE): New macro.
330 * dynamicsizehash.c: Likewise. Use HASHTYPE for hash values.