Lines Matching refs:ht
59 struct hash_table *ht; member
122 table->ht = _mesa_hash_table_create(NULL, uint_key_hash, in _mesa_NewHashTable()
124 if (table->ht == NULL) { in _mesa_NewHashTable()
130 _mesa_hash_table_set_deleted_key(table->ht, uint_key(DELETED_KEY_VALUE)); in _mesa_NewHashTable()
159 if (_mesa_hash_table_next_entry(table->ht, NULL) != NULL) { in _mesa_DeleteHashTable()
163 _mesa_hash_table_destroy(table->ht, NULL); in _mesa_DeleteHashTable()
186 entry = _mesa_hash_table_search(table->ht, uint_key(key)); in _mesa_HashLookup_unlocked()
277 entry = _mesa_hash_table_search_pre_hashed(table->ht, hash, uint_key(key)); in _mesa_HashInsert_unlocked()
281 _mesa_hash_table_insert_pre_hashed(table->ht, hash, uint_key(key), data); in _mesa_HashInsert_unlocked()
350 entry = _mesa_hash_table_search(table->ht, uint_key(key)); in _mesa_HashRemove_unlocked()
351 _mesa_hash_table_remove(table->ht, entry); in _mesa_HashRemove_unlocked()
390 hash_table_foreach(table->ht, entry) { in _mesa_HashDeleteAll()
392 _mesa_hash_table_remove(table->ht, entry); in _mesa_HashDeleteAll()
422 hash_table_foreach(table->ht, entry) { in _mesa_HashWalk()
507 count += _mesa_hash_table_num_entries(table->ht); in _mesa_HashNumEntries()