Lines Matching refs:hashcode
181 hash_Exists(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare, in hash_Exists() argument
186 memberptr = (hashtable->table)[hashcode % (hashtable->size)]; in hash_Exists()
209 hash_Insert(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare, in hash_Insert() argument
214 hashcode %= hashtable->size; in hash_Insert()
215 if (hash_Exists(hashtable, hashcode, compare, key)) { in hash_Insert()
223 temp->next = (hashtable->table)[hashcode]; in hash_Insert()
224 (hashtable->table)[hashcode] = temp; in hash_Insert()
237 hash_Delete(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare, in hash_Delete() argument
245 hashcode %= hashtable->size; in hash_Delete()
252 memberptr = (hashtable->table)[hashcode]; in hash_Delete()
254 (hashtable->table)[hashcode] = memberptr->next; in hash_Delete()
260 memberptr = (hashtable->table)[hashcode]; in hash_Delete()
299 hash_Lookup(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare, in hash_Lookup() argument
304 memberptr = (hashtable->table)[hashcode % (hashtable->size)]; in hash_Lookup()