Lines Matching refs:set_entry
102 entry_is_free(struct set_entry *entry) in entry_is_free()
108 entry_is_deleted(struct set_entry *entry) in entry_is_deleted()
114 entry_is_present(struct set_entry *entry) in entry_is_present()
133 ht->table = rzalloc_array(mem_ctx, struct set_entry, ht->size); in _mesa_set_init()
191 clone->table = ralloc_array(clone, struct set_entry, clone->size); in _mesa_set_clone()
197 memcpy(clone->table, set->table, clone->size * sizeof(struct set_entry)); in _mesa_set_clone()
209 _mesa_set_destroy(struct set *ht, void (*delete_function)(struct set_entry *entry)) in _mesa_set_destroy()
227 memset(ht->table, 0, sizeof(struct set_entry) * hash_sizes[ht->size_index].size); in set_clear_fast()
238 _mesa_set_clear(struct set *set, void (*delete_function)(struct set_entry *entry)) in _mesa_set_clear()
243 struct set_entry *entry; in _mesa_set_clear()
263 static struct set_entry *
274 struct set_entry *entry = ht->table + hash_address; in set_search()
292 struct set_entry *
299 struct set_entry *
317 struct set_entry *entry = ht->table + hash_address; in set_add_rehash()
334 struct set_entry *table; in set_rehash()
345 table = rzalloc_array(ralloc_parent(ht->table), struct set_entry, in set_rehash()
392 static struct set_entry *
395 struct set_entry *available_entry = NULL; in set_search_or_add()
411 struct set_entry *entry = ht->table + hash_address; in set_search_or_add()
458 static struct set_entry *
461 struct set_entry *entry = set_search_or_add(ht, hash, key, NULL); in set_add()
479 struct set_entry *
486 struct set_entry *
494 struct set_entry *
503 struct set_entry *
509 struct set_entry *entry = set_search_or_add(set, hash, key, replaced); in _mesa_set_search_and_add_pre_hashed()
521 struct set_entry *
528 struct set_entry *
544 _mesa_set_remove(struct set *ht, struct set_entry *entry) in _mesa_set_remove()
568 struct set_entry *
569 _mesa_set_next_entry_unsafe(const struct set *ht, struct set_entry *entry) in _mesa_set_next_entry_unsafe()
590 struct set_entry *
591 _mesa_set_next_entry(const struct set *ht, struct set_entry *entry) in _mesa_set_next_entry()
607 struct set_entry *
609 int (*predicate)(struct set_entry *entry)) in _mesa_set_random_entry()
611 struct set_entry *entry; in _mesa_set_random_entry()