/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.c | 44 cache_key cache_key; in lima_vs_disk_cache_store() local 45 disk_cache_compute_key(cache, key, sizeof(*key), cache_key); in lima_vs_disk_cache_store() 49 _mesa_sha1_format(sha1, cache_key); in lima_vs_disk_cache_store() 60 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL); in lima_vs_disk_cache_store() 72 cache_key cache_key; in lima_fs_disk_cache_store() local 73 disk_cache_compute_key(cache, key, sizeof(*key), cache_key); in lima_fs_disk_cache_store() 77 _mesa_sha1_format(sha1, cache_key); in lima_fs_disk_cache_store() 87 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL); in lima_fs_disk_cache_store() 100 cache_key cache_key; in lima_vs_disk_cache_retrieve() local 101 disk_cache_compute_key(cache, key, sizeof(*key), cache_key); in lima_vs_disk_cache_retrieve() [all …]
|
/third_party/mesa3d/src/util/ |
D | disk_cache.h | 49 typedef uint8_t cache_key[CACHE_KEY_SIZE]; typedef 75 cache_key *keys; /* sha1 list of shaders that make up the cache item */ 198 disk_cache_remove(struct disk_cache *cache, const cache_key key); 210 disk_cache_put(struct disk_cache *cache, const cache_key key, 226 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, 244 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size); 256 disk_cache_put_key(struct disk_cache *cache, const cache_key key); 269 disk_cache_has_key(struct disk_cache *cache, const cache_key key); 276 cache_key key); 297 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put() [all …]
|
D | disk_cache.c | 261 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove() 272 create_put_job(struct disk_cache *cache, const cache_key key, in create_put_job() 282 memcpy(dc_job->key, key, sizeof(cache_key)); in create_put_job() 297 dc_job->cache_item_metadata.keys = (cache_key *) in create_put_job() 298 malloc(cache_item_metadata->num_keys * sizeof(cache_key)); in create_put_job() 305 sizeof(cache_key) * cache_item_metadata->num_keys); in create_put_job() 370 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put() 393 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy() 419 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) in disk_cache_get() 458 disk_cache_put_key(struct disk_cache *cache, const cache_key key) in disk_cache_put_key() [all …]
|
D | disk_cache_os.h | 85 cache_key key; 107 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key, 114 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key);
|
D | disk_cache_os.c | 387 make_cache_file_directory(struct disk_cache *cache, const cache_key key) in make_cache_file_directory() 532 blob_read_bytes(&ci_blob_reader, num_keys * sizeof(cache_key)); in parse_and_validate_cache_item() 618 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key) in disk_cache_get_cache_filename() 671 dc_job->cache_item_metadata.num_keys * sizeof(cache_key); in create_cache_item_header_and_blob() 929 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key, in disk_cache_load_item_foz()
|
D | fossilize_db.c | 63 truncate_hash_to_64bits(const uint8_t *cache_key) in truncate_hash_to_64bits() argument 68 hash |= ((uint64_t)cache_key[i]) << shift * 8; in truncate_hash_to_64bits()
|
/third_party/libcoap/src/ |
D | coap_cache.c | 81 coap_cache_key_t *cache_key; in coap_cache_derive_key_w_ignore() local 127 cache_key = coap_malloc_type(COAP_CACHE_KEY, sizeof(coap_cache_key_t)); in coap_cache_derive_key_w_ignore() 128 if (cache_key) { in coap_cache_derive_key_w_ignore() 129 memcpy(cache_key->key, digest.key, sizeof(cache_key->key)); in coap_cache_derive_key_w_ignore() 131 return cache_key; in coap_cache_derive_key_w_ignore() 147 coap_delete_cache_key(coap_cache_key_t *cache_key) { in coap_delete_cache_key() argument 148 coap_free_type(COAP_CACHE_KEY, cache_key); in coap_delete_cache_key() 179 entry->cache_key = coap_cache_derive_key(session, pdu, session_based); in coap_new_cache_entry() 180 if (!entry->cache_key) { in coap_new_cache_entry() 190 HASH_ADD(hh, session->context->cache, cache_key[0], sizeof(coap_cache_key_t), entry); in coap_new_cache_entry() [all …]
|
D | coap_resource.c | 497 coap_delete_cache_key(obs->cache_key); 709 const coap_cache_key_t *cache_key) { argument 717 && (memcmp(cache_key, s->cache_key, sizeof(coap_cache_key_t)) == 0)) 730 coap_cache_key_t *cache_key = NULL; local 748 cache_key = coap_cache_derive_key_w_ignore(session, request, 752 if (cache_key) { 753 s = coap_find_observer_cache_key(resource, session, cache_key); 780 coap_delete_cache_key(cache_key); 788 coap_delete_cache_key(cache_key); 797 if (cache_key == NULL) { [all …]
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 75 _mesa_sha1_final(&ctx, shader->cache_key); in etna_disk_cache_init_shader_key() 80 cache_key cache_key) in compute_variant_key() argument 86 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key() 89 disk_cache_compute_key(compiler->disk_cache, blob.data, blob.size, cache_key); in compute_variant_key() 129 cache_key cache_key; in etna_disk_cache_retrieve() local 131 compute_variant_key(compiler, v, cache_key); in etna_disk_cache_retrieve() 136 _mesa_sha1_format(sha1, cache_key); in etna_disk_cache_retrieve() 141 void *buffer = disk_cache_get(compiler->disk_cache, cache_key, &size); in etna_disk_cache_retrieve() 165 cache_key cache_key; in etna_disk_cache_store() local 167 compute_variant_key(compiler, v, cache_key); in etna_disk_cache_store() [all …]
|
D | etnaviv_shader.h | 88 cache_key cache_key; /* shader disk-cache key */ member
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 104 _mesa_sha1_final(&ctx, shader->cache_key); in ir3_disk_cache_init_shader_key() 109 cache_key cache_key) in compute_variant_key() argument 114 blob_write_bytes(&blob, &shader->cache_key, sizeof(shader->cache_key)); in compute_variant_key() 119 cache_key); in compute_variant_key() 222 cache_key cache_key; in ir3_disk_cache_retrieve() local 224 compute_variant_key(shader, v, cache_key); in ir3_disk_cache_retrieve() 228 _mesa_sha1_format(sha1, cache_key); in ir3_disk_cache_retrieve() 233 void *buffer = disk_cache_get(shader->compiler->disk_cache, cache_key, &size); in ir3_disk_cache_retrieve() 261 cache_key cache_key; in ir3_disk_cache_store() local 263 compute_variant_key(shader, v, cache_key); in ir3_disk_cache_store() [all …]
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 52 cache_key cache_key) in crocus_disk_cache_compute_key() argument 68 disk_cache_compute_key(cache, data, data_size, cache_key); in crocus_disk_cache_compute_key() 92 cache_key cache_key; in crocus_disk_cache_store() local 93 crocus_disk_cache_compute_key(cache, ish, prog_key, prog_key_size, cache_key); in crocus_disk_cache_store() 97 _mesa_sha1_format(sha1, cache_key); in crocus_disk_cache_store() 122 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL); in crocus_disk_cache_store() 145 cache_key cache_key; in crocus_disk_cache_retrieve() local 146 crocus_disk_cache_compute_key(cache, ish, prog_key, key_size, cache_key); in crocus_disk_cache_retrieve() 150 _mesa_sha1_format(sha1, cache_key); in crocus_disk_cache_retrieve() 155 void *buffer = disk_cache_get(screen->disk_cache, cache_key, &size); in crocus_disk_cache_retrieve()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 81 cache_key cache_key) in v3d_disk_cache_compute_key() argument 101 disk_cache_compute_key(cache, blob.data, blob.size, cache_key); in v3d_disk_cache_compute_key() 121 cache_key cache_key; in v3d_disk_cache_retrieve() local 122 v3d_disk_cache_compute_key(cache, key, cache_key); in v3d_disk_cache_retrieve() 125 void *buffer = disk_cache_get(cache, cache_key, &buffer_size); in v3d_disk_cache_retrieve() 129 _mesa_sha1_format(sha1, cache_key); in v3d_disk_cache_retrieve() 205 cache_key cache_key; in v3d_disk_cache_store() local 206 v3d_disk_cache_compute_key(cache, key, cache_key); in v3d_disk_cache_store() 210 _mesa_sha1_format(sha1, cache_key); in v3d_disk_cache_store() 230 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL); in v3d_disk_cache_store()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 52 cache_key cache_key) in iris_disk_cache_compute_key() argument 68 disk_cache_compute_key(cache, data, data_size, cache_key); in iris_disk_cache_compute_key() 91 cache_key cache_key; in iris_disk_cache_store() local 92 iris_disk_cache_compute_key(cache, ish, prog_key, prog_key_size, cache_key); in iris_disk_cache_store() 96 _mesa_sha1_format(sha1, cache_key); in iris_disk_cache_store() 126 disk_cache_put(cache, cache_key, blob.data, blob.size, NULL); in iris_disk_cache_store() 159 cache_key cache_key; in iris_disk_cache_retrieve() local 160 iris_disk_cache_compute_key(cache, ish, prog_key, key_size, cache_key); in iris_disk_cache_retrieve() 164 _mesa_sha1_format(sha1, cache_key); in iris_disk_cache_retrieve() 169 void *buffer = disk_cache_get(screen->disk_cache, cache_key, &size); in iris_disk_cache_retrieve()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | nir_load_libclc.c | 89 unsigned char cache_key[20]; member 104 snprintf((char *)clc->cache_key, sizeof(clc->cache_key), in open_clc_data() 127 _mesa_sha1_final(&ctx, clc->cache_key); in open_clc_data() 313 cache_key cache_key; in nir_load_libclc_shader() local 315 disk_cache_compute_key(disk_cache, clc.cache_key, in nir_load_libclc_shader() 316 sizeof(clc.cache_key), cache_key); in nir_load_libclc_shader() 319 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in nir_load_libclc_shader() 364 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in nir_load_libclc_shader()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_pipeline_cache.c | 341 cache_key cache_key; in vk_pipeline_cache_lookup_object() local 342 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key); in vk_pipeline_cache_lookup_object() 345 uint8_t *data = disk_cache_get(disk_cache, cache_key, &data_size); in vk_pipeline_cache_lookup_object() 430 cache_key cache_key; in vk_pipeline_cache_add_object() local 432 object->key_size, cache_key); in vk_pipeline_cache_add_object() 434 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in vk_pipeline_cache_add_object()
|
/third_party/libcoap/include/coap3/ |
D | coap_cache.h | 112 void coap_delete_cache_key(coap_cache_key_t *cache_key); 179 const coap_cache_key_t *cache_key);
|
D | coap_cache_internal.h | 43 coap_cache_key_t *cache_key; member
|
D | coap_subscribe_internal.h | 66 coap_cache_key_t *cache_key; /** cache_key to identify requester */ member
|
/third_party/mesa3d/src/compiler/glsl/ |
D | shader_cache.cpp | 120 (cache_key *) malloc(prog->NumShaders * sizeof(cache_key)); in shader_cache_write_program_metadata() 128 sizeof(cache_key)); in shader_cache_write_program_metadata()
|
/third_party/python/Lib/xml/etree/ |
D | ElementPath.py | 366 cache_key = (path,) 368 cache_key += tuple(sorted(namespaces.items())) 371 selector = _cache[cache_key] 394 _cache[cache_key] = selector
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 309 cache_key cache_key; in v3dv_pipeline_cache_search_for_pipeline() local 310 disk_cache_compute_key(disk_cache, sha1_key, 20, cache_key); in v3dv_pipeline_cache_search_for_pipeline() 313 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in v3dv_pipeline_cache_search_for_pipeline() 316 _mesa_sha1_format(sha1buf, cache_key); in v3dv_pipeline_cache_search_for_pipeline() 480 cache_key cache_key; in pipeline_cache_upload_shared_data() local 481 disk_cache_compute_key(disk_cache, shared_data->sha1_key, 20, cache_key); in pipeline_cache_upload_shared_data() 488 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL); in pipeline_cache_upload_shared_data()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline.c | 526 } cache_key; member 1396 &stages[s].cache_key, in anv_graphics_pipeline_load_cached_shaders() 1397 sizeof(stages[s].cache_key), &cache_hit); in anv_graphics_pipeline_load_cached_shaders() 1532 stages[s].cache_key.stage = s; in anv_graphics_pipeline_compile() 1533 memcpy(stages[s].cache_key.sha1, sha1, sizeof(sha1)); in anv_graphics_pipeline_compile() 1722 &stages[s].cache_key, in anv_graphics_pipeline_compile() 1723 sizeof(stages[s].cache_key), in anv_graphics_pipeline_compile() 1798 .cache_key = { in anv_pipeline_compile_cs() 1816 anv_pipeline_hash_compute(pipeline, layout, &stage, stage.cache_key.sha1); in anv_pipeline_compile_cs() 1821 &stage.cache_key, in anv_pipeline_compile_cs() [all …]
|
/third_party/skia/third_party/externals/jinja2/ |
D | environment.py | 850 cache_key = (weakref.ref(self.loader), name) 852 template = self.cache.get(cache_key) 859 self.cache[cache_key] = template
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | environment.py | 850 cache_key = (weakref.ref(self.loader), name) 852 template = self.cache.get(cache_key) 859 self.cache[cache_key] = template
|