Home | History | Annotate | Download | only in util

Lines Matching refs:hash_table

40  * http://cgit.freedesktop.org/~anholt/hash_table/tree/README
47 #include "hash_table.h"
102 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry)
108 entry_is_present(const struct hash_table *ht, struct hash_entry *entry)
114 _mesa_hash_table_init(struct hash_table *ht,
134 struct hash_table *
140 struct hash_table *ht;
145 ht = ralloc(mem_ctx, struct hash_table);
157 struct hash_table *
158 _mesa_hash_table_clone(struct hash_table *src, void *dst_mem_ctx)
160 struct hash_table *ht;
162 ht = ralloc(dst_mem_ctx, struct hash_table);
166 memcpy(ht, src, sizeof(struct hash_table));
186 _mesa_hash_table_destroy(struct hash_table *ht,
207 _mesa_hash_table_clear(struct hash_table *ht,
237 _mesa_hash_table_set_deleted_key(struct hash_table *ht, const void *deleted_key)
243 hash_table_search(struct hash_table *ht, uint32_t hash, const void *key)
276 _mesa_hash_table_search(struct hash_table *ht, const void *key)
283 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash,
291 hash_table_insert(struct hash_table *ht, uint32_t hash,
295 _mesa_hash_table_rehash(struct hash_table *ht, unsigned new_size_index)
297 struct hash_table old_ht;
326 hash_table_insert(struct hash_table *ht, uint32_t hash,
402 _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data)
409 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash,
423 _mesa_hash_table_remove(struct hash_table *ht,
437 void _mesa_hash_table_remove_key(struct hash_table *ht,
450 _mesa_hash_table_next_entry(struct hash_table *ht,
476 _mesa_hash_table_random_entry(struct hash_table *ht,
553 struct hash_table *
617 struct hash_table *table = ht->table;