/third_party/mesa3d/src/util/ |
H A D | hash_table.h | 46 struct hash_table { struct 61 struct hash_table * 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 *h [all...] |
H A D | hash_table.c | 40 * http://cgit.freedesktop.org/~anholt/hash_table/tree/README 47 #include "hash_table.h" 58 * Magic number that gets stored outside of the struct hash_table. 65 * struct hash_table. We tell the hash table to use "1" as the deleted key 125 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 *h in _mesa_hash_table_create() [all...] |
H A D | u_hash_table.h | 37 #include "util/hash_table.h" 47 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,
|
H A D | u_hash_table.c | 51 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/ |
H A D | ir_clone.cpp | 28 #include "util/hash_table.h" 31 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 *h [all...] |
H A D | ir.h | 112 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 *h [all...] |
H A D | ir_constant_expression.cpp | 41 #include "util/hash_table.h" 478 struct hash_table *variable_context, in constant_referenced() 570 ir_rvalue::constant_expression_value(void *, struct hash_table *) in constant_expression_value() 690 struct hash_table *variable_context) in constant_expression_value() 868 ir_texture::constant_expression_value(void *, struct hash_table *) in constant_expression_value() 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() 1028 ir_assignment::constant_expression_value(void *, struct hash_table *) in constant_expression_value() [all...] |
H A D | opt_constant_propagation.cpp | 43 #include "util/hash_table.h" 107 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 *killed_all) 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()
|
H A D | link_uniform_block_active_visitor.h | 28 #include "util/hash_table.h" 63 link_uniform_block_active_visitor(void *mem_ctx, struct hash_table *ht, in link_uniform_block_active_visitor() 78 struct hash_table *ht;
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_search_helpers.h | 36 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 *h [all...] |
H A D | nir_split_per_member_structs.c | 30 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()
|
H A D | nir_lower_global_vars_to_local.c | 37 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()
|
H A D | nir_split_64bit_vec3_and_vec4.c | 31 #include "util/hash_table.h" 134 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/mesa3d/src/amd/vulkan/ |
H A D | radv_pipeline_cache.c | 88 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[ in radv_pipeline_cache_finish() [all...] |
/third_party/mesa3d/src/intel/common/ |
H A D | intel_decoder.h | 32 #include "util/hash_table.h" 104 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/auxiliary/driver_trace/ |
H A D | tr_context.h | 34 #include "util/hash_table.h" 51 struct hash_table blend_states; 52 struct hash_table rasterizer_states; 53 struct hash_table depth_stencil_alpha_states;
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_context.h | 106 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/d3d12/ |
H A D | d3d12_context.h | 171 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/panfrost/lib/ |
H A D | pan_device.h | 66 struct hash_table *blit; 67 struct hash_table *blend; 72 struct hash_table *rsds; 78 struct hash_table *shaders;
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_context.h | 258 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/mesa3d/src/compiler/spirv/ |
H A D | nir_lower_libclc.c | 37 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()
|
/third_party/mesa3d/src/gallium/winsys/virgl/drm/ |
H A D | virgl_drm_winsys.h | 35 struct hash_table; 99 struct hash_table *bo_handles; 100 struct hash_table *bo_names;
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | rehash.c | 100 static BUCKET *hash_table[257]; variable 128 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); in add_entry() 130 for (bp = hash_table[ndx]; bp; bp = bp->next) in add_entry() 136 bp->next = hash_table[ndx]; in add_entry() 139 hash_table[ndx] = bp; in add_entry() 413 for (i = 0; i < OSSL_NELEM(hash_table); i++) { in do_dir() 414 for (bp = hash_table[i]; bp; bp = nextbp) { in do_dir() 476 hash_table[i] = NULL; in do_dir()
|
/third_party/openssl/apps/ |
H A D | rehash.c | 103 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() 407 for (i = 0; i < OSSL_NELEM(hash_table); i++) { in do_dir() 408 for (bp = hash_table[i]; bp; bp = nextbp) { in do_dir() 470 hash_table[i] = NULL; in do_dir()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_validate.h | 49 struct hash_table; 64 struct hash_table *ht,
|