Home
last modified time | relevance | path

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

/external/cronet/net/disk_cache/blockfile/
Deviction.cc131 int deleted_entries = 0; in TrimCache() local
144 deleted_entries++; in TrimCache()
149 if (!empty && (deleted_entries > 20 || in TrimCache()
163 CACHE_UMA(COUNTS, "TrimItemsV1", 0, deleted_entries); in TrimCache()
343 int deleted_entries = 0; in TrimCacheV2() local
360 deleted_entries++; in TrimCacheV2()
365 if (!empty && (deleted_entries > 20 || in TrimCacheV2()
390 CACHE_UMA(COUNTS, "TrimItemsV2", 0, deleted_entries); in TrimCacheV2()
500 int deleted_entries = 0; in TrimDeleted() local
502 (empty || (deleted_entries < 20 && in TrimDeleted()
[all …]
/external/virglrenderer/src/mesa/util/
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()
Dhash_table.h59 uint32_t deleted_entries; member
/external/mesa3d/src/util/
Dset.c141 ht->deleted_entries = 0; in _mesa_set_create()
236 set->deleted_entries = 0; in _mesa_set_clear()
335 ht->deleted_entries = 0; in set_rehash()
376 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in set_search_or_add()
412 ht->deleted_entries--; in set_search_or_add()
526 ht->deleted_entries++; in _mesa_set_remove()
Dhash_table.c165 ht->deleted_entries = 0; in _mesa_hash_table_init()
260 ht->deleted_entries = 0; in _mesa_hash_table_clear()
383 ht->deleted_entries = 0; in _mesa_hash_table_rehash()
404 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in hash_table_insert()
450 ht->deleted_entries--; in hash_table_insert()
500 ht->deleted_entries++; in _mesa_hash_table_remove()
Dset.h55 uint32_t deleted_entries; member
Dhash_table.h59 uint32_t deleted_entries; member