Home
last modified time | relevance | path

Searched refs:hash_sizes (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/util/
Dset.c57 } hash_sizes[] = { variable
126 ht->size = hash_sizes[ht->size_index].size; in _mesa_set_init()
127 ht->rehash = hash_sizes[ht->size_index].rehash; in _mesa_set_init()
128 ht->size_magic = hash_sizes[ht->size_index].size_magic; in _mesa_set_init()
129 ht->rehash_magic = hash_sizes[ht->size_index].rehash_magic; in _mesa_set_init()
130 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_set_init()
227 memset(ht->table, 0, sizeof(struct set_entry) * hash_sizes[ht->size_index].size); in set_clear_fast()
342 if (new_size_index >= ARRAY_SIZE(hash_sizes)) in set_rehash()
346 hash_sizes[new_size_index].size); in set_rehash()
354 ht->size = hash_sizes[ht->size_index].size; in set_rehash()
[all …]
Dhash_table.c86 } hash_sizes[] = { variable
156 ht->size = hash_sizes[ht->size_index].size; in _mesa_hash_table_init()
157 ht->rehash = hash_sizes[ht->size_index].rehash; in _mesa_hash_table_init()
158 ht->size_magic = hash_sizes[ht->size_index].size_magic; in _mesa_hash_table_init()
159 ht->rehash_magic = hash_sizes[ht->size_index].rehash_magic; in _mesa_hash_table_init()
160 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_hash_table_init()
260 memset(ht->table, 0, sizeof(struct hash_entry) * hash_sizes[ht->size_index].size); in hash_table_clear_fast()
400 if (new_size_index >= ARRAY_SIZE(hash_sizes)) in _mesa_hash_table_rehash()
404 hash_sizes[new_size_index].size); in _mesa_hash_table_rehash()
412 ht->size = hash_sizes[ht->size_index].size; in _mesa_hash_table_rehash()
[all …]