Home
last modified time | relevance | path

Searched refs:hash_table (Results 1 – 25 of 123) sorted by relevance

12345

/external/mesa3d/src/util/
Dhash_table.h47 struct hash_table { struct
60 struct hash_table * argument
65 void _mesa_hash_table_destroy(struct hash_table *ht,
67 void _mesa_hash_table_clear(struct hash_table *ht,
69 void _mesa_hash_table_set_deleted_key(struct hash_table *ht,
72 static inline uint32_t _mesa_hash_table_num_entries(struct hash_table *ht) in _mesa_hash_table_num_entries()
78 _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data);
80 _mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash,
83 _mesa_hash_table_search(struct hash_table *ht, const void *key);
85 _mesa_hash_table_search_pre_hashed(struct hash_table *ht, uint32_t hash,
[all …]
Dhash_table.c102 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()
113 struct hash_table *
119 struct hash_table *ht; in _mesa_hash_table_create()
121 ht = ralloc(mem_ctx, struct hash_table); in _mesa_hash_table_create()
151 _mesa_hash_table_destroy(struct hash_table *ht, in _mesa_hash_table_destroy()
174 _mesa_hash_table_clear(struct hash_table *ht, in _mesa_hash_table_clear()
204 _mesa_hash_table_set_deleted_key(struct hash_table *ht, const void *deleted_key) in _mesa_hash_table_set_deleted_key()
210 hash_table_search(struct hash_table *ht, uint32_t hash, const void *key) in hash_table_search()
243 _mesa_hash_table_search(struct hash_table *ht, const void *key) in _mesa_hash_table_search()
[all …]
/external/mesa3d/src/compiler/glsl/
Dir_clone.cpp31 ir_rvalue::clone(void *mem_ctx, struct hash_table *) const in clone()
41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const in clone()
78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone()
84 ir_return::clone(void *mem_ctx, struct hash_table *ht) const in clone()
95 ir_discard::clone(void *mem_ctx, struct hash_table *ht) const in clone()
106 ir_loop_jump::clone(void *mem_ctx, struct hash_table *ht) const in clone()
114 ir_if::clone(void *mem_ctx, struct hash_table *ht) const in clone()
130 ir_loop::clone(void *mem_ctx, struct hash_table *ht) const in clone()
142 ir_call::clone(void *mem_ctx, struct hash_table *ht) const in clone()
158 ir_expression::clone(void *mem_ctx, struct hash_table *ht) const in clone()
[all …]
Dir.h110 struct hash_table *ht) const = 0;
223 virtual ir_rvalue *clone(void *mem_ctx, struct hash_table *) const;
233 struct hash_table *variable_context = NULL);
424 virtual ir_variable *clone(void *mem_ctx, struct hash_table *ht) const;
1158 struct hash_table *ht) const;
1160 struct hash_table *ht) const;
1176 struct hash_table *variable_context);
1281 struct hash_table *variable_context,
1295 virtual ir_function *clone(void *mem_ctx, struct hash_table *ht) const;
1382 virtual ir_if *clone(void *mem_ctx, struct hash_table *ht) const;
[all …]
Dir_constant_expression.cpp421 struct hash_table *variable_context, in constant_referenced()
512 ir_rvalue::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
632 struct hash_table *variable_context) in constant_expression_value()
705 ir_texture::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
714 struct hash_table *variable_context) in constant_expression_value()
749 struct hash_table *variable_context) in constant_expression_value()
777 struct hash_table *variable_context) in constant_expression_value()
840 struct hash_table *) in constant_expression_value() argument
851 ir_assignment::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
859 ir_constant::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
[all …]
Dopt_copy_propagation_elements.cpp141 void populate_acp(hash_table *lhs, hash_table *rhs) in populate_acp()
169 hash_table *lhs_ht;
170 hash_table *rhs_ht;
201 hash_table *orig_lhs_ht = lhs_ht; in visit_enter()
202 hash_table *orig_rhs_ht = rhs_ht; in visit_enter()
392 hash_table *orig_lhs_ht = lhs_ht; in handle_if_block()
393 hash_table *orig_rhs_ht = rhs_ht; in handle_if_block()
447 hash_table *orig_lhs_ht = lhs_ht; in handle_loop()
448 hash_table *orig_rhs_ht = rhs_ht; in handle_loop()
Dopt_constant_propagation.cpp135 hash_table *kills;
272 hash_table *orig_kills = this->kills; in visit_enter()
362 hash_table *orig_kills = this->kills; in handle_if_block()
381 hash_table *new_kills = this->kills; in handle_if_block()
410 hash_table *orig_kills = this->kills; in visit_enter()
428 hash_table *new_kills = this->kills; in visit_enter()
Dlink_uniform_block_active_visitor.h54 link_uniform_block_active_visitor(void *mem_ctx, struct hash_table *ht, in link_uniform_block_active_visitor()
69 struct hash_table *ht;
Dopt_copy_propagation.cpp77 hash_table *acp;
101 hash_table *orig_acp = this->acp; in visit_enter()
212 hash_table *orig_acp = this->acp; in handle_if_block()
263 hash_table *orig_acp = this->acp; in handle_loop()
/external/libaom/libaom/av1/encoder/
Dhash_motion.h35 } hash_table; typedef
37 void av1_hash_table_init(hash_table *p_hash_table, struct macroblock *x);
38 void av1_hash_table_destroy(hash_table *p_hash_table);
39 void av1_hash_table_create(hash_table *p_hash_table);
40 int32_t av1_hash_table_count(const hash_table *p_hash_table,
42 Iterator av1_hash_get_first_iterator(hash_table *p_hash_table,
44 int32_t av1_has_exact_match(hash_table *p_hash_table, uint32_t hash_value1,
57 void av1_add_to_hash_map_by_row_with_precal_data(hash_table *p_hash_table,
Dhash_motion.c23 static void hash_table_clear_all(hash_table *p_hash_table) { in hash_table_clear_all()
107 void av1_hash_table_init(hash_table *p_hash_table, MACROBLOCK *x) { in av1_hash_table_init()
116 void av1_hash_table_destroy(hash_table *p_hash_table) { in av1_hash_table_destroy()
122 void av1_hash_table_create(hash_table *p_hash_table) { in av1_hash_table_create()
134 static void hash_table_add_to_table(hash_table *p_hash_table, in hash_table_add_to_table()
150 int32_t av1_hash_table_count(const hash_table *p_hash_table, in av1_hash_table_count()
159 Iterator av1_hash_get_first_iterator(hash_table *p_hash_table, in av1_hash_get_first_iterator()
165 int32_t av1_has_exact_match(hash_table *p_hash_table, uint32_t hash_value1, in av1_has_exact_match()
303 void av1_add_to_hash_map_by_row_with_precal_data(hash_table *p_hash_table, in av1_add_to_hash_map_by_row_with_precal_data()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c61 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_init()
62 cache->hash_table = malloc(byte_size); in radv_pipeline_cache_init()
67 if (cache->hash_table == NULL || in radv_pipeline_cache_init()
72 memset(cache->hash_table, 0, byte_size); in radv_pipeline_cache_init()
79 if (cache->hash_table[i]) { in radv_pipeline_cache_finish()
81 if (cache->hash_table[i]->variants[j]) in radv_pipeline_cache_finish()
83 cache->hash_table[i]->variants[j]); in radv_pipeline_cache_finish()
85 vk_free(&cache->alloc, cache->hash_table[i]); in radv_pipeline_cache_finish()
88 free(cache->hash_table); in radv_pipeline_cache_finish()
147 struct cache_entry *entry = cache->hash_table[index]; in radv_pipeline_cache_search_unlocked()
[all …]
/external/e2fsprogs/e2fsck/
Drevoke.c119 struct list_head *hash_table; member
154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
239 table->hash_table = in journal_init_revoke_table()
241 if (!table->hash_table) { in journal_init_revoke_table()
248 INIT_LIST_HEAD(&table->hash_table[tmp]); in journal_init_revoke_table()
260 hash_list = &table->hash_table[i]; in journal_destroy_revoke_table()
264 kfree(table->hash_table); in journal_destroy_revoke_table()
491 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags()
522 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in journal_switch_revoke_table()
[all …]
/external/e2fsprogs/debugfs/
Drevoke.c119 struct list_head *hash_table; member
154 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in insert_revoke_hash()
176 hash_list = &journal->j_revoke->hash_table[hash(journal, blocknr)]; in find_revoke_record()
239 table->hash_table = in journal_init_revoke_table()
241 if (!table->hash_table) { in journal_init_revoke_table()
248 INIT_LIST_HEAD(&table->hash_table[tmp]); in journal_init_revoke_table()
260 hash_list = &table->hash_table[i]; in journal_destroy_revoke_table()
264 kfree(table->hash_table); in journal_destroy_revoke_table()
491 hash_list = &revoke->hash_table[i]; in jbd2_clear_buffer_revoked_flags()
522 INIT_LIST_HEAD(&journal->j_revoke->hash_table[i]); in journal_switch_revoke_table()
[all …]
/external/mesa3d/src/intel/common/
Dgen_decoder.h87 struct hash_table *commands;
88 struct hash_table *structs;
89 struct hash_table *registers_by_name;
90 struct hash_table *registers_by_offset;
91 struct hash_table *enums;
93 struct hash_table *access_cache;
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.h62 entry->LINK##_next = container->hash_table[hash]; \
63 container->hash_table[hash] = entry; \
76 container->hash_table[HASH_FUNCTION(entry->FIELD)] = \
149 struct file_buffer *hash_table[HASH_SIZE]; member
171 struct file_buffer *hash_table[HASH_SIZE]; member
/external/mesa3d/src/compiler/glsl/tests/
Dvaryings_test.cpp40 hash_table *consumer_inputs,
41 hash_table *consumer_interface_inputs,
47 hash_table *consumer_inputs,
48 hash_table *consumer_interface_inputs,
69 hash_table *consumer_inputs;
70 hash_table *consumer_interface_inputs;
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c78 get_array_elements(struct hash_table *ht, nir_variable *var, in get_array_elements()
128 struct hash_table *varyings) in lower_array()
267 struct hash_table *varyings, in lower_io_arrays_to_elements()
351 struct hash_table *split_inputs = in nir_lower_io_arrays_to_elements_no_indirects()
354 struct hash_table *split_outputs = in nir_lower_io_arrays_to_elements_no_indirects()
390 struct hash_table *split_inputs = in nir_lower_io_arrays_to_elements()
393 struct hash_table *split_outputs = in nir_lower_io_arrays_to_elements()
Dnir_lower_io_to_scalar.c132 get_channel_variables(struct hash_table *ht, nir_variable *var) in get_channel_variables()
173 nir_variable *var, struct hash_table *split_inputs, in lower_load_to_scalar_early()
174 struct hash_table *split_outputs) in lower_load_to_scalar_early()
234 struct hash_table *split_outputs) in lower_store_output_to_scalar_early()
285 struct hash_table *split_inputs = in nir_lower_io_to_scalar_early()
288 struct hash_table *split_outputs = in nir_lower_io_to_scalar_early()
/external/dnsmasq/src/
Dcache.c19 static struct crec *cache_head = NULL, *cache_tail = NULL, **hash_table = NULL; variable
82 if (!hash_table) in rehash()
89 old = hash_table; in rehash()
91 hash_table = new; in rehash()
115 return hash_table + ((val ^ (val >> 16)) & (hash_size - 1)); in hash_bucket()
248 for (crecp = hash_table[i], up = &hash_table[i]; in cache_scan_free()
494 for (crecp = hash_table[i], up = &hash_table[i]; crecp && (crecp->flags & F_REVERSE); in cache_find_by_addr()
552 for (lookup = hash_table[i]; lookup; lookup = lookup->hash_next) in add_hosts_entry()
721 for (cache = hash_table[i], up = &hash_table[i]; cache; cache = tmp) { in cache_reload()
845 for (cache = hash_table[i], up = &hash_table[i]; cache; cache = cache->hash_next) in cache_unhash_dhcp()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.h36 struct hash_table;
39 struct hash_table *ht;
/external/mesa3d/src/compiler/
Dglsl_types.h884 static struct hash_table *array_types;
887 static struct hash_table *record_types;
890 static struct hash_table *interface_types;
893 static struct hash_table *subroutine_types;
896 static struct hash_table *function_types;
/external/mesa3d/src/broadcom/compiler/
Dvir_lower_uniforms.c48 add_uniform(struct hash_table *ht, struct qreg reg) in add_uniform()
62 remove_uniform(struct hash_table *ht, struct qreg reg) in remove_uniform()
114 struct hash_table *ht = in vir_lower_uniforms()
Dvir_live_variables.c77 get_partial_update_state(struct hash_table *partial_update_ht, in get_partial_update_state()
96 struct hash_table *partial_update_ht, struct qinst *inst) in vir_setup_def()
181 sf_state_clear(struct hash_table *partial_update_ht) in sf_state_clear()
207 struct hash_table *partial_update_ht = in vir_setup_def_use()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir_lower_uniforms.c48 add_uniform(struct hash_table *ht, struct qreg reg) in add_uniform()
62 remove_uniform(struct hash_table *ht, struct qreg reg) in remove_uniform()
114 struct hash_table *ht = in qir_lower_uniforms()

12345