Home
last modified time | relevance | path

Searched refs:hash_entry (Results 1 – 25 of 89) sorted by relevance

1234

/external/mesa3d/src/util/
Dhash_table.c96 entry_is_free(const struct hash_entry *entry) in entry_is_free()
102 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry) in entry_is_deleted()
108 entry_is_present(const struct hash_table *ht, struct hash_entry *entry) in entry_is_present()
131 ht->table = rzalloc_array(ht, struct hash_entry, ht->size); in _mesa_hash_table_create()
152 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_destroy()
158 struct hash_entry *entry; in _mesa_hash_table_destroy()
175 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_clear()
177 struct hash_entry *entry; in _mesa_hash_table_clear()
209 static struct hash_entry *
218 struct hash_entry *entry = ht->table + hash_address; in hash_table_search()
[all …]
Dhash_table.h41 struct hash_entry { struct
48 struct hash_entry *table; argument
66 void (*delete_function)(struct hash_entry *entry));
68 void (*delete_function)(struct hash_entry *entry));
77 struct hash_entry *
79 struct hash_entry *
82 struct hash_entry *
84 struct hash_entry *
88 struct hash_entry *entry);
90 struct hash_entry *_mesa_hash_table_next_entry(struct hash_table *ht,
[all …]
/external/kmod/shared/
Dhash.c28 struct hash_entry { struct
34 struct hash_entry *entries; argument
78 struct hash_entry *entry, *entry_end; in hash_free()
152 struct hash_entry *entry, *entry_end; in hash_add()
156 size_t size = new_total * sizeof(struct hash_entry); in hash_add()
157 struct hash_entry *tmp = realloc(bucket->entries, size); in hash_add()
176 (entry_end - entry) * sizeof(struct hash_entry)); in hash_add()
195 struct hash_entry *entry, *entry_end; in hash_add_unique()
199 size_t size = new_total * sizeof(struct hash_entry); in hash_add_unique()
200 struct hash_entry *tmp = realloc(bucket->entries, size); in hash_add_unique()
[all …]
/external/squashfs-tools/squashfs-tools/
Dread_xattrs.c52 static struct hash_entry { struct
55 struct hash_entry *next; argument
78 struct hash_entry *hash_entry = malloc(sizeof(*hash_entry)); in save_xattr_block() local
83 if(hash_entry == NULL) in save_xattr_block()
86 hash_entry->start = start; in save_xattr_block()
87 hash_entry->offset = offset; in save_xattr_block()
88 hash_entry->next = hash_table[hash]; in save_xattr_block()
89 hash_table[hash] = hash_entry; in save_xattr_block()
100 struct hash_entry *hash_entry = hash_table[hash]; in get_xattr_block() local
102 for(; hash_entry; hash_entry = hash_entry->next) in get_xattr_block()
[all …]
/external/e2fsprogs/e2fsck/
Drehash.c82 struct hash_entry *harray;
90 struct hash_entry { struct
112 struct hash_entry *new_array, *ent; in fill_dir_block() argument
172 sizeof(struct hash_entry) * (fd->max_array+500)); in fill_dir_block()
202 const struct hash_entry *he_a = (const struct hash_entry *) a; in ino_cmp()
203 const struct hash_entry *he_b = (const struct hash_entry *) b; in ino_cmp()
211 const struct hash_entry *he_a = (const struct hash_entry *) a; in name_cmp()
212 const struct hash_entry *he_b = (const struct hash_entry *) b; in name_cmp()
237 const struct hash_entry *he_a = (const struct hash_entry *) a; in hash_cmp()
238 const struct hash_entry *he_b = (const struct hash_entry *) b; in hash_cmp()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_builder_print_visitor.cpp257 const struct hash_entry *const he = in print_without_declaration()
266 const struct hash_entry *const he = in visit()
437 const struct hash_entry *const he = in print_without_declaration()
508 const struct hash_entry *const he_lhs = in visit_enter()
522 const struct hash_entry *const he_lhs = in visit_leave()
525 const struct hash_entry *const he_rhs = in visit_leave()
579 const struct hash_entry *const he = in print_without_declaration()
626 const struct hash_entry *const he = in visit_enter()
676 const struct hash_entry *const he = in visit_leave()
695 const struct hash_entry *const he = in visit_leave()
[all …]
Dopt_copy_propagation.cpp153 struct hash_entry *entry = _mesa_hash_table_search(acp, ir->var); in visit()
223 struct hash_entry *entry; in handle_if_block()
274 struct hash_entry *entry; in handle_loop()
323 struct hash_entry *entry = _mesa_hash_table_search(acp, var); in kill()
Dstring_to_uint_map.h114 hash_entry *entry = _mesa_hash_table_search(this->ht, in get()
141 struct hash_entry *entry = _mesa_hash_table_search(this->ht, dup_key); in put()
Dir_variable_refcount.cpp46 free_entry(struct hash_entry *entry) in free_entry()
82 struct hash_entry *e = _mesa_hash_table_search(this->ht, var); in get_variable_entry()
Dopt_copy_propagation_elements.cpp143 struct hash_entry *entry; in populate_acp()
306 hash_entry *ht_entry = _mesa_hash_table_search(lhs_ht, var); in handle_rvalue()
502 hash_entry *ht_entry = _mesa_hash_table_search(lhs_ht, k->var); in kill()
602 hash_entry *ht_entry = _mesa_hash_table_search(lhs_ht, lhs->var); in add_copy()
Dopt_constant_variable.cpp65 struct hash_entry *hte = _mesa_hash_table_search(ht, var); in get_assignment_entry()
193 struct hash_entry *hte; in do_constant_variable()
Dir_function_detect_recursion.cpp175 hash_entry *entry = _mesa_hash_table_search(this->function_hash, sig); in get_function()
266 hash_entry *entry = _mesa_hash_table_search(visitor->function_hash, key); in remove_unlinked_functions()
Dir_array_refcount.cpp45 free_entry(struct hash_entry *entry) in free_entry()
132 struct hash_entry *e = _mesa_hash_table_search(this->ht, var); in get_variable_entry()
/external/mesa3d/src/mesa/main/
Dhash.c109 const struct hash_entry *entry; in _mesa_HashLookup_unlocked()
168 struct hash_entry *entry; in _mesa_HashInsert_unlocked()
236 struct hash_entry *entry; in _mesa_HashRemove_unlocked()
285 struct hash_entry *entry; in _mesa_HashDeleteAll()
318 struct hash_entry *entry; in hash_walk_unlocked()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c50 struct hash_entry *entry; in add_uniform()
64 struct hash_entry *entry; in remove_uniform()
139 struct hash_entry *entry; in qir_lower_uniforms()
Dvc4_context.c45 struct hash_entry *entry; in vc4_flush()
87 struct hash_entry *entry = _mesa_hash_table_search(vc4->write_jobs, in vc4_invalidate_resource()
/external/mesa3d/src/broadcom/compiler/
Dvir_lower_uniforms.c50 struct hash_entry *entry; in add_uniform()
64 struct hash_entry *entry; in remove_uniform()
139 struct hash_entry *entry; in vir_lower_uniforms()
/external/mesa3d/src/util/tests/hash_table/
Drandom_entry.c46 uint32_t_key_is_even(struct hash_entry *entry) in uint32_t_key_is_even()
55 struct hash_entry *entry; in main()
Dclear.c46 static void delete_function(struct hash_entry *entry) in delete_function()
56 struct hash_entry *entry; in main()
/external/mesa3d/src/compiler/nir/
Dnir_lower_global_vars_to_local.c51 struct hash_entry *entry = in mark_global_var_uses_block()
86 struct hash_entry *entry; in nir_lower_global_vars_to_local()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.c130 struct hash_entry *entry; in fd_bc_flush()
165 struct hash_entry *entry; in fd_bc_flush_deferred()
221 struct hash_entry *entry = in fd_bc_invalidate_batch()
342 struct hash_entry *entry = in batch_from_key()
/external/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp133 hash_entry *entry = _mesa_hash_table_search(consumer_inputs, "a"); in TEST_F()
211 hash_entry *entry = _mesa_hash_table_search(consumer_interface_inputs, in TEST_F()
245 hash_entry *entry = _mesa_hash_table_search(consumer_interface_inputs, in TEST_F()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_job.c43 struct hash_entry *entry = _mesa_hash_table_search(ht, key); in remove_from_ht()
157 struct hash_entry *entry = _mesa_hash_table_search(vc5->write_jobs, in vc5_flush_jobs_writing_resource()
173 struct hash_entry *entry; in vc5_flush_jobs_reading_resource()
244 struct hash_entry *entry = _mesa_hash_table_search(vc5->jobs, in vc5_get_job()
Dvc5_context.c46 struct hash_entry *entry; in vc5_flush()
78 struct hash_entry *entry = _mesa_hash_table_search(vc5->write_jobs, in vc5_invalidate_resource()
/external/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c69 vbo_minmax_cache_delete_entry(struct hash_entry *entry) in vbo_minmax_cache_delete_entry()
111 struct hash_entry *result; in vbo_get_minmax_cached()
181 struct hash_entry *table_entry; in vbo_minmax_cache_store()

1234