/third_party/mesa3d/src/gallium/auxiliary/translate/ |
D | translate_cache.c | 82 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/ |
D | cso_cache.c | 107 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()
|
D | cso_cache.h | 136 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,
|
D | cso_context.c | 194 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 …]
|
D | cso_hash.h | 120 unsigned hash_key,
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | env_item_eliminate.h | 51 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/ |
D | parse_manifest.py | 32 hash_key = 'md5_%s' % md5 35 output[hash_key] = os.path.dirname(val)
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_cache.c | 60 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/ |
D | hashmap.c | 175 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 …]
|
D | hashmap.h | 70 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/ |
D | brw_program_cache.c | 99 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/ |
D | hash_table.c | 903 struct hash_key *_key = (struct hash_key *)entry->key; in _mesa_hash_table_u64_remove()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 379 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()
|