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/
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/
Dcso_cache.c107 unsigned hash_key, enum cso_cache_type type, in cso_insert_state() argument
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() argument
122 return cso_hash_find(hash, hash_key); in cso_find_state()
127 unsigned hash_key, in cso_hash_find_data_from_template() argument
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() argument
149 struct cso_hash_iter iter = cso_find_state(sc, hash_key, type); in cso_find_state_template()
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,
Dcso_context.c194 if (sampler && cso_hash_take(hash, sampler->hash_key)) in sanitize_hash()
221 cso_hash_insert(hash, sampler->hash_key, sampler); in sanitize_hash()
431 unsigned key_size, hash_key; in cso_set_blend() local
438 hash_key = cso_construct_key((void*)templ, key_size); in cso_set_blend()
439 iter = cso_find_state_template(&ctx->cache, hash_key, CSO_BLEND, in cso_set_blend()
451 iter = cso_insert_state(&ctx->cache, hash_key, CSO_BLEND, cso); in cso_set_blend()
494 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_depth_stencil_alpha() local
496 hash_key, in cso_set_depth_stencil_alpha()
511 iter = cso_insert_state(&ctx->cache, hash_key, in cso_set_depth_stencil_alpha()
556 unsigned hash_key = cso_construct_key((void*)templ, key_size); in cso_set_rasterizer() local
[all …]
Dcso_hash.h120 unsigned hash_key,
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Denv_item_eliminate.h51 auto hash_key = std::make_pair(key, default_node); in operator() local
52 if (cache.find(hash_key) == cache.end()) { in operator()
77 cache[hash_key] = new_fg; in operator()
83 cache[hash_key] = new_fg; in operator()
86 return cache[hash_key]; in operator()
106 auto hash_key = std::make_pair(key, default_node); in operator() local
107 if (cache.find(hash_key) == cache.end()) { in operator()
141 cache[hash_key] = new_fg_outer; in operator()
146 cache[hash_key] = new_fg_outer; in operator()
149 return cache[hash_key]; in operator()
/third_party/flutter/engine/flutter/tools/fuchsia/
Dparse_manifest.py32 hash_key = 'md5_%s' % md5
35 output[hash_key] = os.path.dirname(val)
/third_party/mesa3d/src/mesa/program/
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/
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()
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()
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()
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()
327 siphash24((uint8_t*) &u, p, sizeof(dev_t), hash_key); in devt_hash_func()
373 static uint8_t *hash_key(HashmapBase *h) { in hash_key() function
[all …]
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_;
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_cache.c99 hash_key(struct brw_cache_item *item) in hash_key() function
181 hash = hash_key(&lookup); in brw_search_cache()
328 hash = hash_key(item); in brw_upload_cache()
/third_party/mesa3d/src/util/
Dhash_table.c903 struct hash_key *_key = (struct hash_key *)entry->key; in _mesa_hash_table_u64_remove()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c379 unsigned key_size, hash_key; in u_vbuf_set_vertex_elements_internal() local
386 hash_key = cso_construct_key((void*)velems, key_size); in u_vbuf_set_vertex_elements_internal()
387 iter = cso_find_state_template(&mgr->cso_cache, hash_key, CSO_VELEMENTS, in u_vbuf_set_vertex_elements_internal()
396 iter = cso_insert_state(&mgr->cso_cache, hash_key, CSO_VELEMENTS, cso); in u_vbuf_set_vertex_elements_internal()