Home
last modified time | relevance | path

Searched refs:CACHE_KEY_SIZE (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/util/
Ddisk_cache.c336 cache->blob_put_cb(key, CACHE_KEY_SIZE, data, size); in disk_cache_put()
369 cache->blob_get_cb(key, CACHE_KEY_SIZE, blob, max_blob_size); in disk_cache_get()
396 cache->blob_put_cb(key, CACHE_KEY_SIZE, key_chunk, sizeof(uint32_t)); in disk_cache_put_key()
403 entry = &cache->stored_keys[i * CACHE_KEY_SIZE]; in disk_cache_put_key()
405 memcpy(entry, key, CACHE_KEY_SIZE); in disk_cache_put_key()
424 return cache->blob_get_cb(key, CACHE_KEY_SIZE, &blob, sizeof(uint32_t)); in disk_cache_has_key()
430 entry = &cache->stored_keys[i * CACHE_KEY_SIZE]; in disk_cache_has_key()
432 return memcmp(entry, key, CACHE_KEY_SIZE) == 0; in disk_cache_has_key()
Ddisk_cache.h43 #define CACHE_KEY_SIZE 20 macro
47 typedef uint8_t cache_key[CACHE_KEY_SIZE];
Ddisk_cache_os.c915 size_t size = sizeof(*cache->size) + CACHE_INDEX_MAX_KEYS * CACHE_KEY_SIZE; in disk_cache_mmap_cache_index()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c833 unsigned char sha1[CACHE_KEY_SIZE]; in lp_disk_cache_find_shader()
855 unsigned char sha1[CACHE_KEY_SIZE]; in lp_disk_cache_insert_shader()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c2493 uint8_t key[CACHE_KEY_SIZE], in save_nir_to_disk_cache() argument
2518 uint8_t key[CACHE_KEY_SIZE], in load_nir_from_disk_cache() argument
2554 uint8_t key[CACHE_KEY_SIZE]; in tgsi_to_nir()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c223 uint8_t key[CACHE_KEY_SIZE]; in si_shader_cache_insert_shader()
261 unsigned char sha1[CACHE_KEY_SIZE]; in si_shader_cache_load_shader()