Home
last modified time | relevance | path

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

123456

/external/mesa3d/src/util/
Dhash_table.h41 struct hash_entry { struct
48 struct hash_entry *table; argument
78 void (*delete_function)(struct hash_entry *entry));
80 void (*delete_function)(struct hash_entry *entry));
89 struct hash_entry *
91 struct hash_entry *
94 struct hash_entry *
96 struct hash_entry *
100 struct hash_entry *entry);
104 struct hash_entry *_mesa_hash_table_next_entry(struct hash_table *ht,
[all …]
Dhash_table.c131 entry_is_free(const struct hash_entry *entry) in entry_is_free()
137 entry_is_deleted(const struct hash_table *ht, struct hash_entry *entry) in entry_is_deleted()
143 entry_is_present(const struct hash_table *ht, struct hash_entry *entry) in entry_is_present()
163 ht->table = rzalloc_array(mem_ctx, struct hash_entry, ht->size); in _mesa_hash_table_init()
205 ht->table = ralloc_array(ht, struct hash_entry, ht->size); in _mesa_hash_table_clone()
211 memcpy(ht->table, src->table, ht->size * sizeof(struct hash_entry)); in _mesa_hash_table_clone()
224 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_destroy()
245 void (*delete_function)(struct hash_entry *entry)) in _mesa_hash_table_clear()
247 struct hash_entry *entry; in _mesa_hash_table_clear()
279 static struct hash_entry *
[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
127 struct hash_entry *new_array, *ent; in fill_dir_block()
194 sizeof(struct hash_entry) * (fd->max_array+500)); in fill_dir_block()
228 const struct hash_entry *he_a = (const struct hash_entry *) a; in ino_cmp()
229 const struct hash_entry *he_b = (const struct hash_entry *) b; in ino_cmp()
237 const struct hash_entry *he_a = (const struct hash_entry *) a; in name_cmp()
238 const struct hash_entry *he_b = (const struct hash_entry *) b; in name_cmp()
263 const struct hash_entry *he_a = (const struct hash_entry *) a; in hash_cmp()
264 const struct hash_entry *he_b = (const struct hash_entry *) b; in hash_cmp()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_builder_print_visitor.cpp259 const struct hash_entry *const he = in print_without_declaration()
268 const struct hash_entry *const he = in visit()
439 const struct hash_entry *const he = in print_without_declaration()
512 const struct hash_entry *const he_lhs = in visit_enter()
526 const struct hash_entry *const he_lhs = in visit_leave()
529 const struct hash_entry *const he_rhs = in visit_leave()
584 const struct hash_entry *const he = in print_without_declaration()
631 const struct hash_entry *const he = in visit_enter()
681 const struct hash_entry *const he = in visit_leave()
708 const struct hash_entry *const he = in visit_leave()
[all …]
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.cpp45 free_entry(struct hash_entry *entry) in free_entry()
81 struct hash_entry *e = _mesa_hash_table_search(this->ht, var); in get_variable_entry()
Dir_array_refcount.cpp44 free_entry(struct hash_entry *entry) in free_entry()
83 struct hash_entry *e = _mesa_hash_table_search(this->ht, var); in get_variable_entry()
Dir_function_detect_recursion.cpp173 hash_entry *entry = _mesa_hash_table_search(this->function_hash, sig); in get_function()
264 hash_entry *entry = _mesa_hash_table_search(visitor->function_hash, key); in remove_unlinked_functions()
/external/mesa3d/src/intel/tools/
Dintel_sanitize_gpu.c87 struct hash_entry *e = _mesa_hash_table_search(fds_to_bo_sizes, in bo_size_table()
98 struct hash_entry *e = _mesa_hash_table_search(t, (void*)(uintptr_t)handle); in bo_size()
121 struct hash_entry *e = _mesa_hash_table_search(fds_to_bo_sizes, in dup_drm_fd()
132 struct hash_entry *e = _mesa_hash_table_search(fds_to_bo_sizes, in del_drm_fd()
291 struct hash_entry *e = in gem_close()
/external/mesa3d/src/util/tests/hash_table/
Drandom_entry.c50 uint32_t_key_is_even(struct hash_entry *entry) in uint32_t_key_is_even()
59 struct hash_entry *entry; in main()
Dinsert_and_lookup.c41 struct hash_entry *entry; in main()
Ddestroy_callback.c41 delete_callback(struct hash_entry *entry) in delete_callback()
Dreplacement.c41 struct hash_entry *entry; in main()
Dremove_key.c38 struct hash_entry *entry; in main()
/external/libjpeg-turbo/
Dwrgif.c64 typedef int hash_entry; /* must hold (code_int << 8) | byte */ typedef
66 #define HASH_ENTRY(prefix, suffix) ((((hash_entry)(prefix)) << 8) | (suffix))
95 hash_entry *hash_value; /* => hash table of symbol values */
366 register hash_entry probe_value; in put_LZW_pixel_rows()
567 dest->hash_value = (hash_entry *) in jinit_write_gif()
569 HSIZE * sizeof(hash_entry)); in jinit_write_gif()
/external/mesa3d/src/gallium/auxiliary/util/
Du_live_shader_cache.c118 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get()
149 struct hash_entry *entry2 = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get()
180 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, in util_shader_reference()
/external/mesa3d/src/compiler/nir/
Dnir_lower_global_vars_to_local.c42 struct hash_entry *entry = in register_var_use()
87 struct hash_entry *entry = _mesa_hash_table_search(var_func_table, var); in nir_lower_global_vars_to_local()
/external/mesa3d/src/drm-shim/
Ddevice.c128 struct hash_entry *entry = in drm_shim_fd_lookup()
189 struct hash_entry *entry = in drm_shim_ioctl_gem_close()
286 struct hash_entry *entry = in drm_shim_bo_lookup()
/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/mesa/main/
Dhash.c128 const struct hash_entry *entry; in _mesa_HashLookup_unlocked()
187 struct hash_entry *entry; in _mesa_HashInsert_unlocked()
263 struct hash_entry *entry; in _mesa_HashRemove_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()
/external/mesa3d/src/mesa/program/
Dsymbol_table.c99 struct hash_entry *hte = _mesa_hash_table_search(table->ht, in _mesa_symbol_table_pop_scope()
136 struct hash_entry *entry = _mesa_hash_table_search(table->ht, name); in find_symbol()
/external/mesa3d/src/mesa/vbo/
Dvbo_minmax_index.c70 vbo_minmax_cache_delete_entry(struct hash_entry *entry) in vbo_minmax_cache_delete_entry()
112 struct hash_entry *result; in vbo_get_minmax_cached()
182 struct hash_entry *table_entry; in vbo_minmax_cache_store()

123456