Lines Matching refs:hash_table
102 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry) in entry_is_deleted()
108 entry_is_present(const struct hash_table *ht, struct hash_entry *entry) in entry_is_present()
113 struct hash_table *
119 struct hash_table *ht; in _mesa_hash_table_create()
121 ht = ralloc(mem_ctx, struct hash_table); in _mesa_hash_table_create()
151 _mesa_hash_table_destroy(struct hash_table *ht, in _mesa_hash_table_destroy()
174 _mesa_hash_table_clear(struct hash_table *ht, in _mesa_hash_table_clear()
204 _mesa_hash_table_set_deleted_key(struct hash_table *ht, const void *deleted_key) in _mesa_hash_table_set_deleted_key()
210 hash_table_search(struct hash_table *ht, uint32_t hash, const void *key) in hash_table_search()
243 _mesa_hash_table_search(struct hash_table *ht, const void *key) in _mesa_hash_table_search()
250 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash, in _mesa_hash_table_search_pre_hashed()
258 hash_table_insert(struct hash_table *ht, uint32_t hash,
262 _mesa_hash_table_rehash(struct hash_table *ht, unsigned new_size_index) in _mesa_hash_table_rehash()
264 struct hash_table old_ht; in _mesa_hash_table_rehash()
293 hash_table_insert(struct hash_table *ht, uint32_t hash, in hash_table_insert()
369 _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data) in _mesa_hash_table_insert()
376 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash, in _mesa_hash_table_insert_pre_hashed()
390 _mesa_hash_table_remove(struct hash_table *ht, in _mesa_hash_table_remove()
408 _mesa_hash_table_next_entry(struct hash_table *ht, in _mesa_hash_table_next_entry()
434 _mesa_hash_table_random_entry(struct hash_table *ht, in _mesa_hash_table_random_entry()
565 struct hash_table *table = ht->table; in _mesa_hash_table_u64_destroy()