Lines Matching refs:compare
185 hash_Exists(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
192 if ((*compare) (key, memberptr->data)) {
205 * to determine the bucket number, and "compare" and "key" to determine
214 hash_Insert(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
220 if (hash_Exists(hashtable, hashcode, compare, key)) {
243 hash_Delete(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
259 while (memberptr && (*compare) (key, memberptr->data)) {
278 if ((*compare) (key, memberptr->data)) {
306 hash_Lookup(hash_tbl *hashtable, unsigned int hashcode, hash_cmpfp compare,
313 if ((*compare) (key, memberptr->data)) {