Searched refs:CACHE_KEY_SIZE (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/util/ |
D | disk_cache.c | 367 cache->blob_put_cb(key, CACHE_KEY_SIZE, data, size); in disk_cache_put() 390 cache->blob_put_cb(key, CACHE_KEY_SIZE, data, size); in disk_cache_put_nocopy() 426 cache->blob_get_cb(key, CACHE_KEY_SIZE, blob, max_blob_size); in disk_cache_get() 457 cache->blob_put_cb(key, CACHE_KEY_SIZE, key_chunk, sizeof(uint32_t)); in disk_cache_put_key() 464 entry = &cache->stored_keys[i * CACHE_KEY_SIZE]; in disk_cache_put_key() 466 memcpy(entry, key, CACHE_KEY_SIZE); in disk_cache_put_key() 485 return cache->blob_get_cb(key, CACHE_KEY_SIZE, &blob, sizeof(uint32_t)); in disk_cache_has_key() 491 entry = &cache->stored_keys[i * CACHE_KEY_SIZE]; in disk_cache_has_key() 493 return memcmp(entry, key, CACHE_KEY_SIZE) == 0; in disk_cache_has_key()
|
D | disk_cache.h | 43 #define CACHE_KEY_SIZE 20 macro 48 typedef uint8_t cache_key[CACHE_KEY_SIZE];
|
D | disk_cache_os.c | 930 size_t size = sizeof(*cache->size) + CACHE_INDEX_MAX_KEYS * CACHE_KEY_SIZE; in disk_cache_mmap_cache_index()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 935 unsigned char sha1[CACHE_KEY_SIZE]; in lp_disk_cache_find_shader() 957 unsigned char sha1[CACHE_KEY_SIZE]; in lp_disk_cache_insert_shader()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | tgsi_to_nir.c | 2503 uint8_t key[CACHE_KEY_SIZE], in save_nir_to_disk_cache() argument 2528 uint8_t key[CACHE_KEY_SIZE], in load_nir_from_disk_cache() argument 2564 uint8_t key[CACHE_KEY_SIZE]; in tgsi_to_nir()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 232 uint8_t key[CACHE_KEY_SIZE]; in si_shader_cache_insert_shader() 282 unsigned char sha1[CACHE_KEY_SIZE]; in si_shader_cache_load_shader()
|