Home
last modified time | relevance | path

Searched refs:hash_key (Results 1 - 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_cache.c82 unsigned hash_key; in create_key() local
86 hash_key = cso_construct_key(key, size); in create_key()
87 return hash_key; in create_key()
93 unsigned hash_key = create_key(key); in translate_cache_find() local
96 hash_key, in translate_cache_find()
102 cso_hash_insert(&cache->hash, hash_key, translate); in translate_cache_find()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.c107 unsigned hash_key, enum cso_cache_type type, in cso_insert_state()
113 return cso_hash_insert(hash, hash_key, state); in cso_insert_state()
118 unsigned hash_key, enum cso_cache_type type) in cso_find_state()
122 return cso_hash_find(hash, hash_key); in cso_find_state()
127 unsigned hash_key, in cso_hash_find_data_from_template()
131 struct cso_hash_iter iter = cso_hash_find(hash, hash_key); in cso_hash_find_data_from_template()
146 unsigned hash_key, enum cso_cache_type type, in cso_find_state_template()
149 struct cso_hash_iter iter = cso_find_state(sc, hash_key, type); in cso_find_state_template()
106 cso_insert_state(struct cso_cache *sc, unsigned hash_key, enum cso_cache_type type, void *state) cso_insert_state() argument
117 cso_find_state(struct cso_cache *sc, unsigned hash_key, enum cso_cache_type type) cso_find_state() argument
126 cso_hash_find_data_from_template( struct cso_hash *hash, unsigned hash_key, void *templ, int size ) cso_hash_find_data_from_template() argument
145 cso_find_state_template(struct cso_cache *sc, unsigned hash_key, enum cso_cache_type type, void *templ, unsigned size) cso_find_state_template() argument
H A Dcso_cache.h136 unsigned hash_key; member
160 unsigned hash_key, enum cso_cache_type type,
163 unsigned hash_key, enum cso_cache_type type);
165 unsigned hash_key, enum cso_cache_type type,
H A Dcso_context.c195 if (sampler && cso_hash_take(hash, sampler->hash_key)) in sanitize_hash()
222 cso_hash_insert(hash, sampler->hash_key, sampler); in sanitize_hash()
441 unsigned key_size, hash_key; in cso_set_blend() local
448 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
449 iter = cso_find_state_template(&ctx->cache, hash_key, CSO_BLEND, in cso_set_blend()
461 iter = cso_insert_state(&ctx->cache, hash_key, CSO_BLEND, cso); in cso_set_blend()
504 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha() local
506 hash_key, in cso_set_depth_stencil_alpha()
521 iter = cso_insert_state(&ctx->cache, hash_key, in cso_set_depth_stencil_alpha()
566 unsigned hash_key in cso_set_rasterizer() local
1032 unsigned key_size, hash_key; cso_set_vertex_elements_direct() local
1220 unsigned hash_key = cso_construct_key((void*)templ, key_size); set_sampler() local
[all...]
H A Dcso_hash.h120 unsigned hash_key,
/third_party/mesa3d/src/mesa/program/
H A Dprog_cache.c60 hash_key(const void *key, GLuint key_size) in hash_key() function
185 const GLuint hash = hash_key(key, keysize); in _mesa_search_program_cache()
209 const GLuint hash = hash_key(key, keysize); in _mesa_program_cache_insert()
238 const GLuint hash = hash_key(key, keysize); in _mesa_shader_cache_insert()
/third_party/eudev/src/shared/
H A Dhashmap.h70 typedef unsigned long (*hash_func_t)(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]);
78 unsigned long string_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
85 unsigned long trivial_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
92 unsigned long uint64_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
99 unsigned long devt_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) _pure_;
H A Dhashmap.c175 uint8_t hash_key[HASH_KEY_SIZE]; /* hash key; changes during resize */ member
276 unsigned long string_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) { in string_hash_func() argument
278 siphash24((uint8_t*) &u, p, strlen(p), hash_key); in string_hash_func()
291 unsigned long trivial_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) { in trivial_hash_func() argument
293 siphash24((uint8_t*) &u, &p, sizeof(p), hash_key); in trivial_hash_func()
306 unsigned long uint64_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) { in uint64_hash_func() argument
308 siphash24((uint8_t*) &u, p, sizeof(uint64_t), hash_key); in uint64_hash_func()
325 unsigned long devt_hash_func(const void *p, const uint8_t hash_key[HASH_KEY_SIZE]) { in devt_hash_func() argument
327 siphash24((uint8_t*) &u, p, sizeof(dev_t), hash_key); in devt_hash_func()
373 static uint8_t *hash_key(HashmapBas function
383 get_hash_key(uint8_t hash_key[HASH_KEY_SIZE], bool reuse_is_ok) get_hash_key() argument
[all...]
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_nir.h151 const uint32_t hash_key; member
H A Ddzn_meta.c482 _mesa_hash_table_search(meta->fs, (void *)(uintptr_t)info->hash_key); in dzn_meta_blits_get_fs()
507 _mesa_hash_table_insert(meta->fs, &info->hash_key, out); in dzn_meta_blits_get_fs()
/third_party/mesa3d/src/util/
H A Dhash_table.c908 struct hash_key *_key = (struct hash_key *)entry->key; in _mesa_hash_table_u64_remove()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_pbo_compute.c817 uint32_t hash_key = compute_shader_key(view_target, num_components); in download_texture_compute() local
818 assert(hash_key != 0); in download_texture_compute()
820 struct hash_entry *he = _mesa_hash_table_search(st->pbo.shaders, (void*)(uintptr_t)hash_key); in download_texture_compute()
824 he = _mesa_hash_table_insert(st->pbo.shaders, (void*)(uintptr_t)hash_key, cs); in download_texture_compute()
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_vbuf.c389 unsigned key_size, hash_key; in u_vbuf_set_vertex_elements_internal() local
396 hash_key = cso_construct_key((void*)velems, key_size); in u_vbuf_set_vertex_elements_internal()
397 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
406 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()

Completed in 23 milliseconds