Lines Matching refs:sha1
27 #include "util/mesa-sha1.h"
37 unsigned char sha1[20];
142 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
163 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1));
174 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1));
209 radv_pipeline_cache_search_unlocked(struct radv_pipeline_cache *cache, const unsigned char *sha1)
212 const uint32_t start = (*(uint32_t *)sha1);
224 if (memcmp(entry->sha1, sha1, sizeof(entry->sha1)) == 0) {
233 radv_pipeline_cache_search(struct radv_pipeline_cache *cache, const unsigned char *sha1)
239 entry = radv_pipeline_cache_search_unlocked(cache, sha1);
314 struct radv_device *device, struct radv_pipeline_cache *cache, const unsigned char *sha1,
328 entry = radv_pipeline_cache_search_unlocked(cache, sha1);
342 disk_cache_compute_key(device->physical_device->disk_cache, sha1, 20, disk_sha1);
446 const unsigned char *sha1, struct radv_pipeline *pipeline,
455 struct cache_entry *entry = radv_pipeline_cache_search_unlocked(cache, sha1);
498 memcpy(entry->sha1, sha1, 20);
531 disk_cache_compute_key(device->physical_device->disk_cache, sha1, 20, disk_sha1);
711 if (!entry || radv_pipeline_cache_search(dst, entry->sha1))