Lines Matching refs:ht
65 void _mesa_hash_table_destroy(struct hash_table *ht,
67 void _mesa_hash_table_clear(struct hash_table *ht,
69 void _mesa_hash_table_set_deleted_key(struct hash_table *ht,
72 static inline uint32_t _mesa_hash_table_num_entries(struct hash_table *ht) in _mesa_hash_table_num_entries() argument
74 return ht->entries; in _mesa_hash_table_num_entries()
78 _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data);
80 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash,
83 _mesa_hash_table_search(struct hash_table *ht, const void *key);
85 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash,
87 void _mesa_hash_table_remove(struct hash_table *ht,
90 struct hash_entry *_mesa_hash_table_next_entry(struct hash_table *ht,
93 _mesa_hash_table_random_entry(struct hash_table *ht,
138 #define hash_table_foreach(ht, entry) \ argument
139 for (entry = _mesa_hash_table_next_entry(ht, NULL); \
141 entry = _mesa_hash_table_next_entry(ht, entry))
144 hash_table_call_foreach(struct hash_table *ht, in hash_table_call_foreach() argument
152 hash_table_foreach(ht, entry) in hash_table_call_foreach()
168 _mesa_hash_table_u64_destroy(struct hash_table_u64 *ht,
172 _mesa_hash_table_u64_insert(struct hash_table_u64 *ht, uint64_t key,
176 _mesa_hash_table_u64_search(struct hash_table_u64 *ht, uint64_t key);
179 _mesa_hash_table_u64_remove(struct hash_table_u64 *ht, uint64_t key);