| /xsrc/external/mit/MesaLib/dist/src/freedreno/common/ |
| freedreno_uuid.c | 31 #include "util/mesa-sha1.h" 53 uint8_t sha1[SHA1_DIGEST_LENGTH]; local 54 _mesa_sha1_final(&sha1_ctx, sha1); 57 memcpy(uuid, sha1, UUID_SIZE); 68 * UUID, so we use SHA1("freedreno" + gpu_id). 89 uint8_t sha1[SHA1_DIGEST_LENGTH]; local 90 _mesa_sha1_final(&sha1_ctx, sha1); 93 memcpy(uuid, sha1, UUID_SIZE);
|
| /xsrc/external/mit/MesaLib/dist/src/intel/common/ |
| intel_uuid.c | 26 #include "util/mesa-sha1.h" 34 uint8_t sha1[20]; local 37 assert(size <= sizeof(sha1)); 50 _mesa_sha1_final(&sha1_ctx, sha1); 51 memcpy(uuid, sha1, size); 61 uint8_t sha1[20]; local 63 assert(size <= sizeof(sha1)); 73 _mesa_sha1_final(&sha1_ctx, sha1); 74 memcpy(uuid, sha1, size);
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| mesa-sha1_test.c | 29 #include "mesa-sha1.h" 37 const char *sha1; member in struct:__anon2880 48 unsigned char sha1[20]; local 50 sha1); 53 _mesa_sha1_format(buf, sha1); 55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) { 59 test_data[i].sha1, buf);
|
| os_memory_fd.c | 41 #include "mesa-sha1.h" 55 get_driver_id_sha1_hash(uint8_t sha1[SHA1_DIGEST_LENGTH], const char *driver_id) { 61 _mesa_sha1_final(&sha1_ctx, sha1); 80 uint8_t sha1[SHA1_DIGEST_LENGTH]; 81 get_driver_id_sha1_hash(sha1, driver_id); 84 if (memcmp(header.uuid, sha1, UUID_SIZE)) { 152 uint8_t sha1[SHA1_DIGEST_LENGTH]; local 153 get_driver_id_sha1_hash(sha1, driver_id); 156 memcpy(header->uuid, sha1, UUID_SIZE);
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/util/ |
| vk_shader_module.h | 39 unsigned char sha1[20]; member in struct:vk_shader_module
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| mesa-sha1_test.c | 29 #include "mesa-sha1.h" 37 const char *sha1; member in struct:__anon5040 48 unsigned char sha1[20]; local 50 sha1); 53 _mesa_sha1_format(buf, sha1); 55 if (memcmp(test_data[i].sha1, buf, SHA1_LENGTH) != 0) { 59 test_data[i].sha1, buf);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_live_shader_cache.h | 68 unsigned char sha1[20]; member in struct:util_live_shader
|
| u_live_shader_cache.c | 35 #include "util/mesa-sha1.h" 39 /* Take the first dword of SHA1. */ 99 /* Compute SHA1 of pipe_shader_state. */ 101 unsigned char sha1[20]; local 111 _mesa_sha1_final(&sha1_ctx, sha1); 118 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, sha1); 143 memcpy(shader->sha1, sha1, sizeof(sha1)); 149 struct hash_entry *entry2 = _mesa_hash_table_search(cache->hashtable, sha1); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/lima/ |
| lima_disk_cache.c | 30 #include "util/mesa-sha1.h" 48 char sha1[41]; local 49 _mesa_sha1_format(sha1, cache_key); 50 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1); 76 char sha1[41]; local 77 _mesa_sha1_format(sha1, cache_key); 78 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1); 104 char sha1[41]; local 105 _mesa_sha1_format(sha1, cache_key); 106 fprintf(stderr, "[mesa disk cache] retrieving %s: ", sha1); 156 char sha1[41]; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/ |
| ir3_disk_cache.c | 57 assert(note && build_id_length(note) == 20); /* sha1 */ 173 char sha1[41]; local 174 _mesa_sha1_format(sha1, cache_key); 175 fprintf(stderr, "[mesa disk cache] retrieving variant %s: ", sha1); 212 char sha1[41]; local 213 _mesa_sha1_format(sha1, cache_key); 214 fprintf(stderr, "[mesa disk cache] storing variant %s\n", sha1);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| etnaviv_disk_cache.c | 45 assert(note && build_id_length(note) == 20); /* sha1 */ 137 char sha1[41]; local 139 _mesa_sha1_format(sha1, cache_key); 140 fprintf(stderr, "[mesa disk cache] retrieving variant %s: ", sha1); 173 char sha1[41]; local 175 _mesa_sha1_format(sha1, cache_key); 176 fprintf(stderr, "[mesa disk cache] storing variant %s\n", sha1);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| program_binary.c | 47 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1 52 /* If internal_format is 0, it must be followed by the 20 byte sha1 that 54 * something besides a sha1, then a new internal_format value can be added. 57 uint8_t sha1[20]; member in struct:program_binary_header 58 /* Fields following sha1 can be changed since the sha1 will guarantee that 76 const void *sha1, void *binary, unsigned binary_size, 91 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1)); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/ |
| tu_descriptor_set.h | 92 unsigned char sha1[20]; member in struct:tu_pipeline_layout
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| program_binary.c | 47 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1 52 /* If internal_format is 0, it must be followed by the 20 byte sha1 that 54 * something besides a sha1, then a new internal_format value can be added. 57 uint8_t sha1[20]; member in struct:program_binary_header 58 /* Fields following sha1 can be changed since the sha1 will guarantee that 76 const void *sha1, void *binary, unsigned binary_size, 91 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1)); [all...] |
| /xsrc/external/mit/xorg-server/dist/os/ |
| xsha1.c | 36 #if defined(HAVE_SHA1_IN_LIBMD) /* Use libmd for SHA1 */ \ 37 || defined(HAVE_SHA1_IN_LIBC) /* Use libc for SHA1 */ 47 #include <sha1.h> 80 #elif defined(HAVE_SHA1_IN_COMMONCRYPTO) /* Use CommonCrypto for SHA1 */ 114 #elif defined(HAVE_SHA1_IN_CRYPTOAPI) /* Use CryptoAPI for SHA1 */ 156 #elif defined(HAVE_SHA1_IN_LIBNETTLE) /* Use libnettle for SHA1 */ 158 #include <nettle/sha1.h> 191 #elif defined(HAVE_SHA1_IN_LIBGCRYPT) /* Use libgcrypt for SHA1 */ 280 static EVP_MD *sha1 = NULL; variable 290 if (sha1 == NULL) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/ |
| radv_descriptor_set.h | 102 unsigned char sha1[20]; member in struct:radv_pipeline_layout
|
| radv_pipeline_cache.c | 27 #include "util/mesa-sha1.h" 36 unsigned char sha1[20]; member in union:cache_entry::__anon529 128 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1)); 135 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1)); 157 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1)); 163 _mesa_sha1_update(&ctx, module->sha1, sizeof(module->sha1)); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| tu_pipeline_cache.c | 28 #include "util/mesa-sha1.h" 39 unsigned char sha1[20]; member in union:cache_entry::__anon999 94 const unsigned char *sha1) 97 const uint32_t start = (*(uint32_t *) sha1); 109 if (memcmp(entry->sha1, sha1, sizeof(entry->sha1)) == 0) { 119 const unsigned char *sha1) 125 entry = tu_pipeline_cache_search_unlocked(cache, sha1); 355 if (!entry || tu_pipeline_cache_search(dst, entry->sha1)) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_disk_cache.c | 38 #include "util/mesa-sha1.h" 96 char sha1[41]; local 97 _mesa_sha1_format(sha1, cache_key); 98 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1); 149 char sha1[41]; local 150 _mesa_sha1_format(sha1, cache_key); 151 fprintf(stderr, "[mesa disk cache] retrieving %s: ", sha1); 251 assert(note && build_id_length(note) == 20); /* sha1 */
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_disk_cache.c | 38 #include "util/mesa-sha1.h" 95 char sha1[41]; local 96 _mesa_sha1_format(sha1, cache_key); 97 fprintf(stderr, "[mesa disk cache] storing %s\n", sha1); 163 char sha1[41]; local 164 _mesa_sha1_format(sha1, cache_key); 165 fprintf(stderr, "[mesa disk cache] retrieving %s: ", sha1); 279 assert(note && build_id_length(note) == 20); /* sha1 */
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| r300_screen.c | 98 unsigned char sha1[20]; local 106 _mesa_sha1_final(&ctx, sha1); 107 disk_cache_format_hex_id(cache_id, sha1, 20 * 2);
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/spirv_to_dxil/ |
| spirv_to_dxil.c | 340 const char sha1[] = MESA_GIT_SHA1; local 341 const char* dash = strchr(sha1, '-');
|
| /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/ |
| radv_descriptor_set.h | 95 unsigned char sha1[20]; member in struct:radv_pipeline_layout
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| nouveau_screen.c | 152 unsigned char sha1[20]; local 161 _mesa_sha1_final(&ctx, sha1); 162 disk_cache_format_hex_id(cache_id, sha1, 20 * 2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_disk_cache.c | 32 #include "util/mesa-sha1.h" 60 unsigned char sha1[20]; local 64 _mesa_sha1_format(sha1_buf, prog->sh.data->sha1); 67 _mesa_sha1_compute(key, brw_prog_key_size(stage), sha1); 68 _mesa_sha1_format(sha1_buf, sha1); 118 * lookup, so set the id to 0 for the sha1 hashing. program_string_id will 278 unsigned char sha1[20]; local 280 gen_shader_sha1(prog, stage, key, sha1); 281 _mesa_sha1_format(buf, sha1); 286 disk_cache_put(cache, sha1, binary.data, binary.size, NULL) [all...] |