Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
Ddisk_cache.c367 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()
Ddisk_cache.h43 #define CACHE_KEY_SIZE 20 macro
48 typedef uint8_t cache_key[CACHE_KEY_SIZE];
Ddisk_cache_os.c930 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/
Dlp_screen.c935 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/
Dtgsi_to_nir.c2503 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/
Dsi_state_shaders.c232 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()