Searched refs:hashvalue (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_hash.c | 107 int hashvalue; in make_hash_table() local 112 hashvalue = hash_function(cap_table[i].nte_name); in make_hash_table() 113 DEBUG(9, "%d\n", hashvalue); in make_hash_table() 115 if (cap_hash_table[hashvalue] != (struct name_table_entry *) 0) in make_hash_table() 118 cap_table[i].nte_link = cap_hash_table[hashvalue]; in make_hash_table() 119 cap_hash_table[hashvalue] = &cap_table[i]; in make_hash_table() 206 int hashvalue; in find_entry() local 209 hashvalue = hash_function(string); in find_entry() 211 ptr = cap_hash_table[hashvalue]; in find_entry()
|
/illumos-gate/usr/src/tools/smatch/src/cwchash/ |
H A D | hashtable_utility.c | 22 unsigned int hashvalue, index; in hashtable_change() local 23 hashvalue = hash(h,k); in hashtable_change() 24 index = indexFor(h->tablelength,hashvalue); in hashtable_change() 29 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) in hashtable_change()
|
H A D | hashtable.c | 166 unsigned int hashvalue, index; in hashtable_search() local 167 hashvalue = hash(h,k); in hashtable_search() 168 index = indexFor(h->tablelength,hashvalue); in hashtable_search() 173 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) return e->v; in hashtable_search() 189 unsigned int hashvalue, index; in hashtable_remove() local 191 hashvalue = hash(h,k); in hashtable_remove() 198 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) in hashtable_remove()
|
H A D | hashtable_itr.c | 132 unsigned int hashvalue, index; in hashtable_iterator_search() local 134 hashvalue = hash(h,k); in hashtable_iterator_search() 135 index = indexFor(h->tablelength,hashvalue); in hashtable_iterator_search() 142 if ((hashvalue == e->h) && (h->eqfn(k, e->k))) in hashtable_iterator_search()
|
H A D | hashtable_private.h | 33 indexFor(unsigned int tablelength, unsigned int hashvalue) { in indexFor() argument 34 return (hashvalue % tablelength); in indexFor()
|