Home
last modified time | relevance | path

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

12345678910

/third_party/mesa3d/src/util/
Dhash_table.h46 struct hash_table { struct
61 struct hash_table * argument
68 _mesa_hash_table_init(struct hash_table *ht,
74 struct hash_table *
77 struct hash_table *
78 _mesa_hash_table_clone(struct hash_table *src, void *dst_mem_ctx);
79 void _mesa_hash_table_destroy(struct hash_table *ht,
81 void _mesa_hash_table_clear(struct hash_table *ht,
83 void _mesa_hash_table_set_deleted_key(struct hash_table *ht,
86 static inline uint32_t _mesa_hash_table_num_entries(struct hash_table *ht) in _mesa_hash_table_num_entries()
[all …]
Dhash_table.c125 key_pointer_is_reserved(const struct hash_table *ht, const void *key) in key_pointer_is_reserved()
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()
149 _mesa_hash_table_init(struct hash_table *ht, in _mesa_hash_table_init()
171 struct hash_table *
177 struct hash_table *ht; in _mesa_hash_table_create()
182 ht = ralloc(mem_ctx, struct hash_table); in _mesa_hash_table_create()
208 struct hash_table *
214 struct hash_table *
215 _mesa_hash_table_clone(struct hash_table *src, void *dst_mem_ctx) in _mesa_hash_table_clone()
[all …]
Du_hash_table.h47 struct hash_table *
54 struct hash_table *
59 util_hash_table_get(struct hash_table *ht,
64 util_hash_table_foreach(struct hash_table *ht,
Du_hash_table.c51 struct hash_table *
92 struct hash_table *
100 util_hash_table_get(struct hash_table *ht, in util_hash_table_get()
110 util_hash_table_foreach(struct hash_table *ht, in util_hash_table_foreach()
/third_party/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_demote::clone(void *mem_ctx, struct hash_table *ht) const in clone()
112 ir_loop_jump::clone(void *mem_ctx, struct hash_table *ht) const in clone()
120 ir_if::clone(void *mem_ctx, struct hash_table *ht) const in clone()
136 ir_loop::clone(void *mem_ctx, struct hash_table *ht) const in clone()
148 ir_call::clone(void *mem_ctx, struct hash_table *ht) const in clone()
[all …]
Dir.h112 struct hash_table *ht) const = 0;
221 virtual ir_rvalue *clone(void *mem_ctx, struct hash_table *) const;
231 struct hash_table *variable_context = NULL);
422 virtual ir_variable *clone(void *mem_ctx, struct hash_table *ht) const;
1189 struct hash_table *ht) const;
1191 struct hash_table *ht) const;
1207 struct hash_table *variable_context);
1319 struct hash_table *variable_context,
1333 virtual ir_function *clone(void *mem_ctx, struct hash_table *ht) const;
1420 virtual ir_if *clone(void *mem_ctx, struct hash_table *ht) const;
[all …]
Dopt_constant_propagation.cpp107 void handle_if_block(exec_list *instructions, hash_table *kills, bool *killed_all);
117 hash_table *kills;
263 hash_table *orig_kills = this->kills; in visit_enter()
349 ir_constant_propagation_visitor::handle_if_block(exec_list *instructions, hash_table *kills, bool *… in handle_if_block()
352 hash_table *orig_kills = this->kills; in handle_if_block()
378 hash_table *new_kills = _mesa_pointer_hash_table_create(mem_ctx); in visit_enter()
403 hash_table *orig_kills = this->kills; in handle_loop()
422 hash_table *new_kills = this->kills; in handle_loop()
Dir_constant_expression.cpp478 struct hash_table *variable_context, in constant_referenced()
570 ir_rvalue::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
690 struct hash_table *variable_context) in constant_expression_value()
868 ir_texture::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
877 struct hash_table *variable_context) in constant_expression_value()
915 struct hash_table *variable_context) in constant_expression_value()
943 struct hash_table *variable_context) in constant_expression_value()
1017 struct hash_table *) in constant_expression_value() argument
1028 ir_assignment::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
1036 ir_constant::constant_expression_value(void *, struct hash_table *) in constant_expression_value() argument
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_search_helpers.h36 is_pos_power_of_two(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_pos_power_of_two()
68 is_neg_power_of_two(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_neg_power_of_two()
97 is_bitcount2(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_bitcount2()
116 is_unsigned_multiple_of_ ## test(UNUSED struct hash_table *ht, \
142 is_zero_to_one(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_zero_to_one()
174 is_gt_0_and_lt_1(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_gt_0_and_lt_1()
200 is_not_const_zero(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_not_const_zero()
230 is_ult_0xfffc07fc(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_ult_0xfffc07fc()
251 is_first_5_bits_uge_2(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_first_5_bits_uge_2()
271 is_not_const(UNUSED struct hash_table *ht, const nir_alu_instr *instr, in is_not_const()
[all …]
Dnir_split_per_member_structs.c30 struct hash_table *var_to_member_map;
35 struct hash_table *var_to_member_map) in find_var_member()
64 struct hash_table *var_to_member_map, void *dead_ctx) in split_variable()
120 struct hash_table *var_to_member_map) in rewrite_deref_instr()
159 struct hash_table *var_to_member_map = in nir_split_per_member_structs()
Dnir_split_vars.c148 struct hash_table *var_field_map, in split_var_list_structs()
197 struct hash_table *var_field_map, in split_struct_derefs_impl()
298 struct hash_table *var_field_map = in nir_split_struct_vars()
375 struct hash_table *var_info_map, in init_var_list_array_infos()
423 struct hash_table *var_info_map) in get_array_var_info()
432 struct hash_table *var_info_map, in get_array_deref_info()
447 struct hash_table *var_info_map, in mark_array_deref_used()
472 struct hash_table *var_info_map, in mark_array_usage_impl()
548 struct hash_table *var_info_map, in split_var_list_arrays()
706 struct hash_table *var_info_map, in split_array_copies_impl()
[all …]
Dnir_lower_global_vars_to_local.c37 struct hash_table *var_func_table) in register_var_use()
55 struct hash_table *var_func_table) in mark_global_var_uses_block()
77 struct hash_table *var_func_table = _mesa_pointer_hash_table_create(NULL); in nir_lower_global_vars_to_local()
Dnir_lower_io_arrays_to_elements.c85 get_array_elements(struct hash_table *ht, nir_variable *var, in get_array_elements()
114 struct hash_table *varyings) in lower_array()
273 struct hash_table *varyings, in lower_io_arrays_to_elements()
367 struct hash_table *split_inputs = _mesa_pointer_hash_table_create(NULL); in nir_lower_io_arrays_to_elements_no_indirects()
368 struct hash_table *split_outputs = _mesa_pointer_hash_table_create(NULL); in nir_lower_io_arrays_to_elements_no_indirects()
405 struct hash_table *split_inputs = _mesa_pointer_hash_table_create(NULL); in nir_lower_io_arrays_to_elements()
406 struct hash_table *split_outputs = _mesa_pointer_hash_table_create(NULL); in nir_lower_io_arrays_to_elements()
Dnir_split_64bit_vec3_and_vec4.c134 struct hash_table *split_vars) in get_var_pair()
169 nir_ssa_def *offset, struct hash_table *split_vars) in split_load_deref()
194 nir_ssa_def *offset, struct hash_table *split_vars) in split_store_deref()
268 struct hash_table *split_vars = (struct hash_table *)d; in nir_split_64bit_vec3_and_vec4_impl()
321 struct hash_table *split_vars = _mesa_pointer_hash_table_create(NULL); in nir_split_64bit_vec3_and_vec4()
/third_party/gstreamer/gstplugins_bad/gst/rtp/
Dgstrtp-utils.c28 GHashTable *hash_table; in gst_rtp_utils_set_properties_from_uri_query() local
31 hash_table = gst_uri_get_query_table (uri); in gst_rtp_utils_set_properties_from_uri_query()
33 if (hash_table) { in gst_rtp_utils_set_properties_from_uri_query()
34 g_hash_table_foreach (hash_table, in gst_rtp_utils_set_properties_from_uri_query()
37 g_hash_table_unref (hash_table); in gst_rtp_utils_set_properties_from_uri_query()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c88 const size_t byte_size = cache->table_size * sizeof(cache->hash_table[0]); in radv_pipeline_cache_init()
89 cache->hash_table = malloc(byte_size); in radv_pipeline_cache_init()
94 if (cache->hash_table == NULL || radv_is_cache_disabled(device)) in radv_pipeline_cache_init()
97 memset(cache->hash_table, 0, byte_size); in radv_pipeline_cache_init()
104 if (cache->hash_table[i]) { in radv_pipeline_cache_finish()
106 if (cache->hash_table[i]->shaders[j]) in radv_pipeline_cache_finish()
107 radv_shader_destroy(cache->device, cache->hash_table[i]->shaders[j]); in radv_pipeline_cache_finish()
109 if (cache->hash_table[i]->slab) in radv_pipeline_cache_finish()
110 radv_pipeline_slab_destroy(cache->device, cache->hash_table[i]->slab); in radv_pipeline_cache_finish()
111 vk_free(&cache->alloc, cache->hash_table[i]); in radv_pipeline_cache_finish()
[all …]
/third_party/mesa3d/src/intel/common/
Dintel_decoder.h104 struct hash_table *commands;
105 struct hash_table *structs;
106 struct hash_table *registers_by_name;
107 struct hash_table *registers_by_offset;
108 struct hash_table *enums;
110 struct hash_table *access_cache;
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.h171 struct hash_table *pso_cache;
172 struct hash_table *compute_pso_cache;
173 struct hash_table *root_signature_cache;
174 struct hash_table *cmd_signature_cache;
175 struct hash_table *gs_variant_cache;
176 struct hash_table *tcs_variant_cache;
177 struct hash_table *compute_transform_cache;
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_context.h51 struct hash_table blend_states;
52 struct hash_table rasterizer_states;
53 struct hash_table depth_stencil_alpha_states;
/third_party/mesa3d/src/panfrost/lib/
Dpan_device.h66 struct hash_table *blit;
67 struct hash_table *blend;
72 struct hash_table *rsds;
78 struct hash_table *shaders;
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h106 struct hash_table *def_ht;
128 struct hash_table *addr0_ht[4];
135 struct hash_table *sel_cond_conversions;
145 struct hash_table *block_ht;
150 struct hash_table *continue_block_ht;
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_context.h258 struct hash_table *plb_pp_stream;
263 struct hash_table *fs_cache;
264 struct hash_table *vs_cache;
272 struct hash_table *jobs;
275 struct hash_table *write_jobs;
/third_party/openssl/apps/
Drehash.c103 static BUCKET *hash_table[257]; variable
131 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); in add_entry()
133 for (bp = hash_table[ndx]; bp; bp = bp->next) in add_entry()
139 bp->next = hash_table[ndx]; in add_entry()
142 hash_table[ndx] = bp; in add_entry()
402 for (i = 0; i < OSSL_NELEM(hash_table); i++) { in do_dir()
403 for (bp = hash_table[i]; bp; bp = nextbp) { in do_dir()
465 hash_table[i] = NULL; in do_dir()
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.h35 struct hash_table;
99 struct hash_table *bo_handles;
100 struct hash_table *bo_names;
/third_party/mesa3d/src/compiler/spirv/
Dnir_lower_libclc.c37 struct hash_table *copy_vars) in lower_clc_call_instr()
73 struct hash_table *copy_vars) in nir_lower_libclc_impl()
102 struct hash_table *copy_vars = _mesa_pointer_hash_table_create(ra_ctx); in nir_lower_libclc()

12345678910