Lines Matching refs:item
128 hash_insert (struct hash_table *ht, const void *item) in hash_insert() argument
130 void **slot = hash_find_slot (ht, item); in hash_insert()
132 hash_insert_at (ht, item, slot); in hash_insert()
137 hash_insert_at (struct hash_table *ht, const void *item, const void *slot) in hash_insert_at() argument
145 old_item = item; in hash_insert_at()
147 *(void const **) slot = item; in hash_insert_at()
151 return (void *) hash_find_slot (ht, item); in hash_insert_at()
158 hash_delete (struct hash_table *ht, const void *item) in hash_delete() argument
160 void **slot = hash_find_slot (ht, item); in hash_delete()
167 void *item = *(void **) slot; in hash_delete_at() local
168 if (!HASH_VACANT (item)) in hash_delete_at()
172 return item; in hash_delete_at()
185 void *item = *vec; in hash_free_items() local
186 if (!HASH_VACANT (item)) in hash_free_items()
187 free (item); in hash_free_items()