Lines Matching defs:hashcode
149 * It is assumed that this result will be used as the "hashcode" parameter in
151 * adjust the hashcode for the size of each hashtable.
185 hash_Exists(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
190 memberptr = (hashtable->table)[hashcode % (hashtable->size)];
204 * Insert the data item "element" into the hash table using "hashcode"
214 hash_Insert(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
219 hashcode %= hashtable->size;
220 if (hash_Exists(hashtable, hashcode, compare, key)) {
228 temp->next = (hashtable->table)[hashcode];
229 (hashtable->table)[hashcode] = temp;
243 hash_Delete(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
251 hashcode %= hashtable->size;
258 memberptr = (hashtable->table)[hashcode];
260 (hashtable->table)[hashcode] = memberptr->next;
266 memberptr = (hashtable->table)[hashcode];
306 hash_Lookup(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
311 memberptr = (hashtable->table)[hashcode % (hashtable->size)];