Home
last modified time | relevance | path

Searched refs:cache_key (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/boost/libs/compute/test/
Dtest_copy_type_mismatch.cpp126 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
133 parameters->get(cache_key, "map_copy_threshold", 0); in BOOST_AUTO_TEST_CASE()
136 parameters->set(cache_key, "map_copy_threshold", 1024); in BOOST_AUTO_TEST_CASE()
153 parameters->set(cache_key, "map_copy_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
162 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
169 parameters->get(cache_key, "map_copy_threshold", 0); in BOOST_AUTO_TEST_CASE()
171 parameters->get(cache_key, "direct_copy_threshold", 0); in BOOST_AUTO_TEST_CASE()
175 parameters->set(cache_key, "map_copy_threshold", 0); in BOOST_AUTO_TEST_CASE()
176 parameters->set(cache_key, "direct_copy_threshold", 1024); in BOOST_AUTO_TEST_CASE()
196 parameters->set(cache_key, "map_copy_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_scan.cpp67 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
74 parameters->get(cache_key, "serial_scan_threshold", 0); in BOOST_AUTO_TEST_CASE()
76 parameters->set(cache_key, "serial_scan_threshold", 0); in BOOST_AUTO_TEST_CASE()
88 parameters->set(cache_key, "serial_scan_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
116 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
123 parameters->get(cache_key, "serial_scan_threshold", 0); in BOOST_AUTO_TEST_CASE()
125 parameters->set(cache_key, "serial_scan_threshold", 0); in BOOST_AUTO_TEST_CASE()
137 parameters->set(cache_key, "serial_scan_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
168 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
175 parameters->get(cache_key, "serial_scan_threshold", 0); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_extrema.cpp94 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
101 parameters->get(cache_key, "serial_find_extrema_threshold", 0); in BOOST_AUTO_TEST_CASE()
103 parameters->set(cache_key, "serial_find_extrema_threshold", 16); in BOOST_AUTO_TEST_CASE()
120 parameters->set(cache_key, "serial_find_extrema_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
198 std::string cache_key = in BOOST_AUTO_TEST_CASE() local
205 parameters->get(cache_key, "serial_find_extrema_threshold", 0); in BOOST_AUTO_TEST_CASE()
207 parameters->set(cache_key, "serial_find_extrema_threshold", 16); in BOOST_AUTO_TEST_CASE()
222 parameters->set(cache_key, "serial_find_extrema_threshold", map_copy_threshold); in BOOST_AUTO_TEST_CASE()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_disk_cache.c44 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/
Ddisk_cache.h48 typedef uint8_t cache_key[CACHE_KEY_SIZE]; typedef
74 cache_key *keys; /* sha1 list of shaders that make up the cache item */
194 disk_cache_remove(struct disk_cache *cache, const cache_key key);
206 disk_cache_put(struct disk_cache *cache, const cache_key key,
222 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
240 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
252 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
265 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
272 cache_key key);
293 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put()
[all …]
Ddisk_cache.c253 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove()
264 create_put_job(struct disk_cache *cache, const cache_key key, in create_put_job()
274 memcpy(dc_job->key, key, sizeof(cache_key)); in create_put_job()
289 dc_job->cache_item_metadata.keys = (cache_key *) in create_put_job()
290 malloc(cache_item_metadata->num_keys * sizeof(cache_key)); in create_put_job()
297 sizeof(cache_key) * cache_item_metadata->num_keys); in create_put_job()
362 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put()
385 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy()
411 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) in disk_cache_get()
450 disk_cache_put_key(struct disk_cache *cache, const cache_key key) in disk_cache_put_key()
[all …]
Ddisk_cache_os.h85 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);
/third_party/libcoap/src/
Dcoap_cache.c77 coap_cache_key_t *cache_key; in coap_cache_derive_key_w_ignore() local
121 cache_key = coap_malloc_type(COAP_CACHE_KEY, sizeof(coap_cache_key_t)); in coap_cache_derive_key_w_ignore()
122 if (cache_key) { in coap_cache_derive_key_w_ignore()
123 memcpy(cache_key->key, digest.key, sizeof(cache_key->key)); in coap_cache_derive_key_w_ignore()
125 return cache_key; in coap_cache_derive_key_w_ignore()
138 coap_delete_cache_key(coap_cache_key_t *cache_key) { in coap_delete_cache_key() argument
139 coap_free_type(COAP_CACHE_KEY, cache_key); in coap_delete_cache_key()
170 entry->cache_key = coap_cache_derive_key(session, pdu, session_based); in coap_new_cache_entry()
171 if (!entry->cache_key) { in coap_new_cache_entry()
181 HASH_ADD(hh, session->context->cache, cache_key[0], sizeof(coap_cache_key_t), entry); in coap_new_cache_entry()
[all …]
Dresource.c515 coap_delete_cache_key(obs->cache_key);
705 const coap_cache_key_t *cache_key) { argument
713 && (memcmp(cache_key, &s->cache_key, sizeof(s->cache_key)) == 0))
726 coap_cache_key_t *cache_key = NULL; local
742 cache_key = coap_cache_derive_key_w_ignore(session, request,
746 s = coap_find_observer_cache_key(resource, session, cache_key);
764 coap_delete_cache_key(cache_key);
772 coap_delete_cache_key(cache_key);
779 if (cache_key == NULL) {
780 cache_key = coap_cache_derive_key_w_ignore(session, request,
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_disk_cache.c99 _mesa_sha1_final(&ctx, shader->cache_key); in ir3_disk_cache_init_shader_key()
104 cache_key cache_key) in compute_variant_key() argument
109 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key()
114 cache_key); in compute_variant_key()
168 cache_key cache_key; in ir3_disk_cache_retrieve() local
170 compute_variant_key(compiler, v, cache_key); in ir3_disk_cache_retrieve()
174 _mesa_sha1_format(sha1, cache_key); in ir3_disk_cache_retrieve()
179 void *buffer = disk_cache_get(compiler->disk_cache, cache_key, &size); in ir3_disk_cache_retrieve()
207 cache_key cache_key; in ir3_disk_cache_store() local
209 compute_variant_key(compiler, v, cache_key); in ir3_disk_cache_store()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disk_cache.c78 _mesa_sha1_final(&ctx, shader->cache_key); in etna_disk_cache_init_shader_key()
83 cache_key cache_key) in compute_variant_key() argument
89 blob_write_bytes(&blob, &v->shader->cache_key, sizeof(v->shader->cache_key)); in compute_variant_key()
92 disk_cache_compute_key(compiler->disk_cache, blob.data, blob.size, cache_key); in compute_variant_key()
132 cache_key cache_key; in etna_disk_cache_retrieve() local
134 compute_variant_key(compiler, v, cache_key); in etna_disk_cache_retrieve()
139 _mesa_sha1_format(sha1, cache_key); in etna_disk_cache_retrieve()
144 void *buffer = disk_cache_get(compiler->disk_cache, cache_key, &size); in etna_disk_cache_retrieve()
168 cache_key cache_key; in etna_disk_cache_store() local
170 compute_variant_key(compiler, v, cache_key); in etna_disk_cache_store()
[all …]
Detnaviv_shader.h78 cache_key cache_key; /* shader disk-cache key */ member
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c52 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/iris/
Diris_disk_cache.c52 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/
Dnir_load_libclc.c89 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()
256 cache_key cache_key; in nir_load_libclc_shader() local
258 disk_cache_compute_key(disk_cache, clc.cache_key, in nir_load_libclc_shader()
259 sizeof(clc.cache_key), cache_key); in nir_load_libclc_shader()
262 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in nir_load_libclc_shader()
305 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in nir_load_libclc_shader()
/third_party/flutter/engine/flutter/flow/
Draster_cache.cc155 LayerRasterCacheKey cache_key(layer->unique_id(), ctm); in Prepare() local
156 Entry& entry = layer_cache_[cache_key]; in Prepare()
207 PictureRasterCacheKey cache_key(picture->uniqueID(), transformation_matrix); in Prepare() local
209 Entry& entry = picture_cache_[cache_key]; in Prepare()
228 PictureRasterCacheKey cache_key(picture.uniqueID(), ctm); in Get() local
229 auto it = picture_cache_.find(cache_key); in Get()
234 LayerRasterCacheKey cache_key(layer->unique_id(), ctm); in Get() local
235 auto it = layer_cache_.find(cache_key); in Get()
/third_party/boost/libs/compute/perf/
Dperf_accumulate.cpp55 const std::string cache_key = in tune_accumulate() local
66 params->set(cache_key, "tpb", tpbs[i]); in tune_accumulate()
68 params->set(cache_key, "vpt", vpts[j]); in tune_accumulate()
85 params->set(cache_key, "tpb", best_tpb); in tune_accumulate()
86 params->set(cache_key, "vpt", best_vpt); in tune_accumulate()
Dperf_saxpy.cpp74 const std::string cache_key = in tune_saxpy() local
85 params->set(cache_key, "tpb", tpbs[i]); in tune_saxpy()
87 params->set(cache_key, "vpt", vpts[j]); in tune_saxpy()
104 params->set(cache_key, "tpb", best_tpb); in tune_saxpy()
105 params->set(cache_key, "vpt", best_vpt); in tune_saxpy()
/third_party/boost/boost/compute/algorithm/detail/
Dfind_extrema_with_reduce.hpp52 std::string cache_key = std::string("__boost_find_extrema_reduce_") in find_extrema_with_reduce_requirements_met() local
59 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce_requirements_met()
269 std::string cache_key = std::string("__boost_find_extrema_with_reduce_") in find_extrema_with_reduce() local
278 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce()
279 size_t work_groups_per_cu = parameters->get(cache_key, "wgpcu", 100); in find_extrema_with_reduce()
352 std::string cache_key = std::string("__boost_find_extrema_with_reduce_") in find_extrema_with_reduce() local
361 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce()
362 size_t work_groups_per_cu = parameters->get(cache_key, "wgpcu", 64); in find_extrema_with_reduce()
Dradix_sort.hpp272 std::string cache_key = in radix_sort_impl() local
276 cache_key += std::string("_with_") + type_name<T2>(); in radix_sort_impl()
285 const uint_ k = parameters->get(cache_key, "k", 4); in radix_sort_impl()
287 const uint_ block_size = parameters->get(cache_key, "tpb", 128); in radix_sort_impl()
318 cache_key, options.str(), custom_type_def + radix_sort_source, context in radix_sort_impl()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dfind_extrema_with_reduce.hpp52 std::string cache_key = std::string("__boost_find_extrema_reduce_") in find_extrema_with_reduce_requirements_met() local
59 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce_requirements_met()
269 std::string cache_key = std::string("__boost_find_extrema_with_reduce_") in find_extrema_with_reduce() local
278 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce()
279 size_t work_groups_per_cu = parameters->get(cache_key, "wgpcu", 100); in find_extrema_with_reduce()
352 std::string cache_key = std::string("__boost_find_extrema_with_reduce_") in find_extrema_with_reduce() local
361 size_t work_group_size = parameters->get(cache_key, "wgsize", 256); in find_extrema_with_reduce()
362 size_t work_groups_per_cu = parameters->get(cache_key, "wgpcu", 64); in find_extrema_with_reduce()
Dradix_sort.hpp272 std::string cache_key = in radix_sort_impl() local
276 cache_key += std::string("_with_") + type_name<T2>(); in radix_sort_impl()
285 const uint_ k = parameters->get(cache_key, "k", 4); in radix_sort_impl()
287 const uint_ block_size = parameters->get(cache_key, "tpb", 128); in radix_sort_impl()
318 cache_key, options.str(), custom_type_def + radix_sort_source, context in radix_sort_impl()
Dmerge_sort_on_cpu.hpp259 std::string cache_key = in merge_sort_on_cpu() local
269 parameters->get(cache_key, "merge_with_merge_path_blocks_no_threshold", 8); in merge_sort_on_cpu()
271 parameters->get(cache_key, "merge_with_merge_path_input_size_threshold", 2097152); in merge_sort_on_cpu()
274 parameters->get(cache_key, "insertion_sort_block_size", 64); in merge_sort_on_cpu()
327 std::string cache_key = in merge_sort_by_key_on_cpu() local
334 parameters->get(cache_key, "insertion_sort_by_key_block_size", 64); in merge_sort_by_key_on_cpu()
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dcopy.hpp228 std::string cache_key = in dispatch_copy() local
252 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
256 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
314 std::string cache_key = in dispatch_copy() local
338 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
342 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
514 std::string cache_key = in dispatch_copy() local
538 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
542 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
597 std::string cache_key = in dispatch_copy() local
[all …]
/third_party/boost/boost/compute/algorithm/
Dcopy.hpp228 std::string cache_key = in dispatch_copy() local
252 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
256 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
314 std::string cache_key = in dispatch_copy() local
338 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
342 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
514 std::string cache_key = in dispatch_copy() local
538 cache_key, "map_copy_threshold", map_copy_threshold in dispatch_copy()
542 cache_key, "direct_copy_threshold", direct_copy_threshold in dispatch_copy()
597 std::string cache_key = in dispatch_copy() local
[all …]

1234