Home
last modified time | relevance | path

Searched refs:deleted_entries (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/util/
Dset.c135 ht->deleted_entries = 0; in _mesa_set_init()
228 ht->entries = ht->deleted_entries = 0; in set_clear_fast()
253 set->deleted_entries = 0; in _mesa_set_clear()
336 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in set_rehash()
360 ht->deleted_entries = 0; in set_rehash()
401 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in set_search_or_add()
437 ht->deleted_entries--; in set_search_or_add()
551 ht->deleted_entries++; in _mesa_set_remove()
571 assert(!ht->deleted_entries); in _mesa_set_next_entry_unsafe()
Dhash_table.c165 ht->deleted_entries = 0; in _mesa_hash_table_init()
261 ht->entries = ht->deleted_entries = 0; in hash_table_clear_fast()
287 ht->deleted_entries = 0; in _mesa_hash_table_clear()
394 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in _mesa_hash_table_rehash()
418 ht->deleted_entries = 0; in _mesa_hash_table_rehash()
439 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in hash_table_insert()
485 ht->deleted_entries--; in hash_table_insert()
535 ht->deleted_entries++; in _mesa_hash_table_remove()
555 assert(!ht->deleted_entries); in _mesa_hash_table_next_entry_unsafe()
Dset.h55 uint32_t deleted_entries; member
Dhash_table.h58 uint32_t deleted_entries; member
/third_party/mesa3d/src/util/tests/hash_table/
Dclear.c91 assert(!ht->deleted_entries); in main()
104 assert(!ht->deleted_entries); in main()
/third_party/mesa3d/src/util/tests/
Dset_test.cpp56 EXPECT_EQ(s->deleted_entries, 0); in TEST()
68 EXPECT_EQ(s->deleted_entries, 0); in TEST()