Lines Matching refs:hash_entry
28 struct hash_entry { struct
34 struct hash_entry *entries; argument
78 struct hash_entry *entry, *entry_end; in hash_free()
152 struct hash_entry *entry, *entry_end; in hash_add()
156 size_t size = new_total * sizeof(struct hash_entry); in hash_add()
157 struct hash_entry *tmp = realloc(bucket->entries, size); in hash_add()
176 (entry_end - entry) * sizeof(struct hash_entry)); in hash_add()
195 struct hash_entry *entry, *entry_end; in hash_add_unique()
199 size_t size = new_total * sizeof(struct hash_entry); in hash_add_unique()
200 struct hash_entry *tmp = realloc(bucket->entries, size); in hash_add_unique()
215 (entry_end - entry) * sizeof(struct hash_entry)); in hash_add_unique()
229 const struct hash_entry *a = pa; in hash_entry_cmp()
230 const struct hash_entry *b = pb; in hash_entry_cmp()
240 const struct hash_entry se = { in hash_find()
244 const struct hash_entry *entry = bsearch( in hash_find()
246 sizeof(struct hash_entry), hash_entry_cmp); in hash_find()
259 struct hash_entry *entry, *entry_end; in hash_del()
260 const struct hash_entry se = { in hash_del()
266 sizeof(struct hash_entry), hash_entry_cmp); in hash_del()
275 (entry_end - entry) * sizeof(struct hash_entry)); in hash_del()
284 hash->step * sizeof(struct hash_entry); in hash_del()
285 struct hash_entry *tmp = realloc(bucket->entries, size); in hash_del()
311 const struct hash_entry *e; in hash_iter_next()