Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/third_party/libwebsockets/lib/misc/cache-ttl/
Dheap.c54 _lws_cache_heap_item_destroy(lws_cache_ttl_lru_t_heap_t *cache, in _lws_cache_heap_item_destroy()
74 lws_cache_heap_item_destroy(lws_cache_ttl_lru_t_heap_t *cache, in lws_cache_heap_item_destroy()
153 lws_cache_item_evict_lru(lws_cache_ttl_lru_t_heap_t *cache) in lws_cache_item_evict_lru()
173 lws_cache_ttl_lru_t_heap_t *cache = lws_container_of(sul, in expiry_cb() local
197 earliest_expiry(lws_cache_ttl_lru_t_heap_t *cache, lws_usec_t *pearliest) in earliest_expiry()
213 update_sul(lws_cache_ttl_lru_t_heap_t *cache) in update_sul()
234 lws_cache_heap_specific(lws_cache_ttl_lru_t_heap_t *cache, in lws_cache_heap_specific()
252 lws_cache_heap_tag_match(struct lws_cache_ttl_lru *cache, const char *wc, in lws_cache_heap_tag_match()
262 lws_cache_ttl_lru_t_heap_t *cache = (lws_cache_ttl_lru_t_heap_t *)_c; in lws_cache_heap_lookup() local
326 lws_cache_ttl_lru_t_heap_t *cache = (lws_cache_ttl_lru_t_heap_t *)_c; in lws_cache_heap_write() local
[all …]
Dlws-cache-ttl.c46 lws_cache_schedule(struct lws_cache_ttl_lru *cache, sul_cb_t cb, lws_usec_t e) in lws_cache_schedule()
56 lws_cache_write_through(struct lws_cache_ttl_lru *cache, in lws_cache_write_through()
91 lws_cache_lookup(struct lws_cache_ttl_lru *cache, const char *wildcard_key, in lws_cache_lookup()
203 lws_cache_item_get(struct lws_cache_ttl_lru *cache, const char *specific_key, in lws_cache_item_get()
219 lws_cache_expunge(struct lws_cache_ttl_lru *cache) in lws_cache_expunge()
233 lws_cache_item_remove(struct lws_cache_ttl_lru *cache, const char *wildcard_key) in lws_cache_item_remove()
246 lws_cache_footprint(struct lws_cache_ttl_lru *cache) in lws_cache_footprint()
252 lws_cache_debug_dump(struct lws_cache_ttl_lru *cache) in lws_cache_debug_dump()
290 lws_cache_ttl_lru_t *cache = *_cache; in lws_cache_destroy() local
Dfile.c75 nsc_backing_open_lock(lws_cache_nscookiejar_t *cache, int mode, const char *par) in nsc_backing_open_lock()
119 nsc_backing_close_unlock(lws_cache_nscookiejar_t *cache, int fd) in nsc_backing_close_unlock()
150 nscookiejar_iterate(lws_cache_nscookiejar_t *cache, int fd, in nscookiejar_iterate()
324 lws_cache_nscookiejar_tag_match(struct lws_cache_ttl_lru *cache, in lws_cache_nscookiejar_tag_match()
444 nsc_lookup_cb(lws_cache_nscookiejar_t *cache, void *opaque, int flags, in nsc_lookup_cb()
504 lws_cache_nscookiejar_t *cache = (lws_cache_nscookiejar_t *)_c; in lws_cache_nscookiejar_lookup() local
557 nsc_regen_cb(lws_cache_nscookiejar_t *cache, void *opaque, int flags, in nsc_regen_cb()
616 nsc_regen(lws_cache_nscookiejar_t *cache, const char *wc_delete, in nsc_regen()
699 lws_cache_nscookiejar_t *cache = lws_container_of(sul, in expiry_cb() local
722 lws_cache_nscookiejar_t *cache = (lws_cache_nscookiejar_t *)_c; in lws_cache_nscookiejar_write() local
[all …]
/third_party/skia/third_party/externals/freetype/src/cache/
Dftccache.c90 ftc_get_top_node_for_hash( FTC_Cache cache, in ftc_get_top_node_for_hash()
111 ftc_cache_resize( FTC_Cache cache ) in ftc_cache_resize()
223 FTC_Cache cache ) in ftc_node_hash_unlink()
256 FTC_Cache cache ) in ftc_node_hash_link()
274 FTC_Cache cache; in ftc_node_destroy() local
326 FTC_Cache_Init( FTC_Cache cache ) in FTC_Cache_Init()
333 ftc_cache_init( FTC_Cache cache ) in ftc_cache_init()
349 FTC_Cache_Clear( FTC_Cache cache ) in FTC_Cache_Clear()
387 ftc_cache_done( FTC_Cache cache ) in ftc_cache_done()
407 FTC_Cache_Done( FTC_Cache cache ) in FTC_Cache_Done()
[all …]
Dftcglyph.c42 FTC_Cache cache ) in FTC_GNode_UnselectFamily()
55 FTC_Cache cache ) in FTC_GNode_Done()
67 FTC_Cache cache, in ftc_gnode_compare()
87 FTC_Cache cache, in FTC_GNode_Compare()
106 FTC_Cache cache ) in FTC_Family_Init()
120 FTC_GCache cache = (FTC_GCache)ftccache; in ftc_gcache_init() local
154 FTC_GCache cache = (FTC_GCache)ftccache; in ftc_gcache_done() local
186 FTC_GCache_Lookup( FTC_GCache cache, in FTC_GCache_Lookup()
/third_party/mesa3d/src/gallium/winsys/virgl/common/
Dvirgl_resource_cache.c50 virgl_resource_cache_entry_release(struct virgl_resource_cache *cache, in virgl_resource_cache_entry_release()
58 virgl_resource_cache_destroy_expired(struct virgl_resource_cache *cache, int64_t now) in virgl_resource_cache_destroy_expired()
72 virgl_resource_cache_init(struct virgl_resource_cache *cache, in virgl_resource_cache_init()
86 virgl_resource_cache_add(struct virgl_resource_cache *cache, in virgl_resource_cache_add()
103 virgl_resource_cache_remove_compatible(struct virgl_resource_cache *cache, in virgl_resource_cache_remove_compatible()
149 virgl_resource_cache_flush(struct virgl_resource_cache *cache) in virgl_resource_cache_flush()
/third_party/mbedtls/library/
Dssl_cache.c24 void mbedtls_ssl_cache_init(mbedtls_ssl_cache_context *cache) in mbedtls_ssl_cache_init()
37 static int ssl_cache_find_entry(mbedtls_ssl_cache_context *cache, in ssl_cache_find_entry()
80 mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data; in mbedtls_ssl_cache_get() local
130 static int ssl_cache_pick_writing_slot(mbedtls_ssl_cache_context *cache, in ssl_cache_pick_writing_slot()
252 mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data; in mbedtls_ssl_cache_set() local
326 mbedtls_ssl_cache_context *cache = (mbedtls_ssl_cache_context *) data; in mbedtls_ssl_cache_remove() local
371 void mbedtls_ssl_cache_set_timeout(mbedtls_ssl_cache_context *cache, int timeout) in mbedtls_ssl_cache_set_timeout()
381 void mbedtls_ssl_cache_set_max_entries(mbedtls_ssl_cache_context *cache, int max) in mbedtls_ssl_cache_set_max_entries()
390 void mbedtls_ssl_cache_free(mbedtls_ssl_cache_context *cache) in mbedtls_ssl_cache_free()
/third_party/skia/third_party/externals/swiftshader/tests/SystemUnitTests/
DLRUCacheTests.cpp27 void checkRange(const Cache &cache, std::vector<std::pair<typename Cache::Key, typename Cache::Data… in checkRange()
46 LRUCache<std::string, std::string> cache(8); in TEST() local
63 LRUCache<std::string, std::string> cache(4); in TEST() local
85 LRUCache<std::string, std::string> cache(4); in TEST() local
111 LRUCache<std::string, std::string> cache(4); in TEST() local
160 LRUCache<std::string, std::string> cache(4); in TEST() local
/third_party/mesa3d/src/virtio/vulkan/
Dvn_renderer_internal.c12 vn_renderer_shmem_cache_dump(struct vn_renderer_shmem_cache *cache) in vn_renderer_shmem_cache_dump()
37 vn_renderer_shmem_cache_init(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_init()
58 vn_renderer_shmem_cache_fini(struct vn_renderer_shmem_cache *cache) in vn_renderer_shmem_cache_fini()
79 choose_bucket(struct vn_renderer_shmem_cache *cache, in choose_bucket()
97 struct vn_renderer_shmem_cache *cache, int64_t now) in vn_renderer_shmem_cache_remove_expired_locked()
122 vn_renderer_shmem_cache_add(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_add()
149 vn_renderer_shmem_cache_get(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_get()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc495 … const std::vector<std::vector<char>> &output_columns, const std::shared_ptr<DatasetCache> &cache, in MapDataset()
906 …auto cache = std::make_shared<DatasetCacheImpl>(id, mem_sz, spill, hostname, port, num_connections… in CreateDatasetCacheCharIF() local
912 const std::shared_ptr<DatasetCache> &cache) { in AGNewsDataset()
921 … const std::shared_ptr<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset()
930 const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset()
939 … const std::reference_wrapper<Sampler> &sampler, const std::shared_ptr<DatasetCache> &cache) { in AlbumDataset()
949 const std::shared_ptr<DatasetCache> &cache) { in AmazonReviewDataset()
957 const std::shared_ptr<DatasetCache> &cache) { in Caltech256Dataset()
964 const std::shared_ptr<DatasetCache> &cache) { in Caltech256Dataset()
972 const std::shared_ptr<DatasetCache> &cache) { in Caltech256Dataset()
[all …]
/third_party/rust/rust/src/bootstrap/builder/
Dtests.rs119 let cache = run_build(&[], config); in test_exclude() localVariable
145 let mut cache = in alias_and_path_for_library() localVariable
152 let mut cache = run_build(&["library".into(), "core".into()], configure("doc", &["A"], &["A"])); in alias_and_path_for_library() localVariable
180 let mut cache = run_build(&[], configure("build", &["A"], &["A"])); in build_default() localVariable
201 let mut cache = run_build(&[], config); in build_stage_0() localVariable
218 let mut cache = run_build(&[], config); in build_cross_compile() localVariable
263 let mut cache = run_build(&[], config); in doc_default() localVariable
294 let mut cache = run_build(&[], configure(&["A"], &["A"])); in dist_baseline() localVariable
318 let mut cache = run_build(&[], configure(&["A"], &["A", "B"])); in dist_with_targets() localVariable
347 let mut cache = run_build(&[], configure(&["A", "B"], &["A", "B"])); in dist_with_hosts() localVariable
[all …]
/third_party/mesa3d/src/asahi/lib/
Dagx_bg_eot.c36 agx_compile_bg_eot_shader(struct agx_bg_eot_cache *cache, nir_shader *shader, in agx_compile_bg_eot_shader()
115 agx_build_background_shader(struct agx_bg_eot_cache *cache, in agx_build_background_shader()
150 agx_build_end_of_tile_shader(struct agx_bg_eot_cache *cache, in agx_build_end_of_tile_shader()
191 agx_get_bg_eot_shader(struct agx_bg_eot_cache *cache, in agx_get_bg_eot_shader()
218 agx_bg_eot_init(struct agx_bg_eot_cache *cache, struct agx_device *dev) in agx_bg_eot_init()
228 agx_bg_eot_cleanup(struct agx_bg_eot_cache *cache) in agx_bg_eot_cleanup()
238 agx_get_precompiled_locked(struct agx_bg_eot_cache *cache, unsigned program) in agx_get_precompiled_locked()
312 agx_get_precompiled(struct agx_bg_eot_cache *cache, unsigned program) in agx_get_precompiled()
331 agx_helper_program(struct agx_bg_eot_cache *cache) in agx_helper_program()
/third_party/mesa3d/src/util/
Ddisk_cache.c74 disk_cache_init_queue(struct disk_cache *cache) in disk_cache_init_queue()
104 struct disk_cache *cache = NULL; in disk_cache_type_create() local
222 struct disk_cache *cache; in disk_cache_create() local
322 disk_cache_destroy(struct disk_cache *cache) in disk_cache_destroy()
350 disk_cache_wait_for_idle(struct disk_cache *cache) in disk_cache_wait_for_idle()
356 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove()
372 create_put_job(struct disk_cache *cache, const cache_key key, in create_put_job()
483 blob_put_compressed(struct disk_cache *cache, const cache_key key, in blob_put_compressed()
512 blob_get_compressed(struct disk_cache *cache, const cache_key key, in blob_get_compressed()
561 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put()
[all …]
Ddisk_cache.h291 disk_cache_destroy(struct disk_cache *cache) in disk_cache_destroy()
296 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put()
303 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy()
310 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove()
315 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) in disk_cache_get()
321 disk_cache_put_key(struct disk_cache *cache, const cache_key key) in disk_cache_put_key()
326 disk_cache_has_key(struct disk_cache *cache, const cache_key key) in disk_cache_has_key()
332 disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size, in disk_cache_compute_key()
338 disk_cache_set_callbacks(struct disk_cache *cache, disk_cache_put_cb put, in disk_cache_set_callbacks()
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_bo_cache.c30 static void add_bucket(struct etna_bo_cache *cache, int size) in add_bucket()
41 void etna_bo_cache_init(struct etna_bo_cache *cache) in etna_bo_cache_init()
67 void etna_bo_cache_cleanup(struct etna_bo_cache *cache, time_t time) in etna_bo_cache_cleanup()
94 static struct etna_bo_bucket *get_bucket(struct etna_bo_cache *cache, uint32_t size) in get_bucket()
148 struct etna_bo *etna_bo_cache_alloc(struct etna_bo_cache *cache, uint32_t *size, in etna_bo_cache_alloc()
172 int etna_bo_cache_free(struct etna_bo_cache *cache, struct etna_bo *bo) in etna_bo_cache_free()
/third_party/ntfs-3g/libntfs-3g/
Dcache.c63 static void inserthashindex(struct CACHE_HEADER *cache, in inserthashindex()
103 static void drophashindex(struct CACHE_HEADER *cache, in drophashindex()
147 struct CACHED_GENERIC *ntfs_fetch_cache(struct CACHE_HEADER *cache, in ntfs_fetch_cache()
212 struct CACHED_GENERIC *ntfs_enter_cache(struct CACHE_HEADER *cache, in ntfs_enter_cache()
335 static void do_invalidate(struct CACHE_HEADER *cache, in do_invalidate()
374 int ntfs_invalidate_cache(struct CACHE_HEADER *cache, in ntfs_invalidate_cache()
432 int ntfs_remove_cache(struct CACHE_HEADER *cache, in ntfs_remove_cache()
451 static void ntfs_free_cache(struct CACHE_HEADER *cache) in ntfs_free_cache()
477 struct CACHE_HEADER *cache; in ntfs_create_cache() local
/third_party/libdrm/freedreno/
Dfreedreno_bo_cache.c36 add_bucket(struct fd_bo_cache *cache, int size) in add_bucket()
52 fd_bo_cache_init(struct fd_bo_cache *cache, int coarse) in fd_bo_cache_init()
82 fd_bo_cache_cleanup(struct fd_bo_cache *cache, time_t time) in fd_bo_cache_cleanup()
109 static struct fd_bo_bucket * get_bucket(struct fd_bo_cache *cache, uint32_t size) in get_bucket()
162 fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size, uint32_t flags) in fd_bo_cache_alloc()
194 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
/third_party/libdrm/etnaviv/
Detnaviv_bo_cache.c33 static void add_bucket(struct etna_bo_cache *cache, int size) in add_bucket()
44 drm_private void etna_bo_cache_init(struct etna_bo_cache *cache) in etna_bo_cache_init()
70 drm_private void etna_bo_cache_cleanup(struct etna_bo_cache *cache, time_t time) in etna_bo_cache_cleanup()
96 static struct etna_bo_bucket *get_bucket(struct etna_bo_cache *cache, uint32_t size) in get_bucket()
158 drm_private struct etna_bo *etna_bo_cache_alloc(struct etna_bo_cache *cache, uint32_t *size, in etna_bo_cache_alloc()
181 drm_private int etna_bo_cache_free(struct etna_bo_cache *cache, struct etna_bo *bo) in etna_bo_cache_free()
/third_party/mesa3d/src/freedreno/drm/
Dfreedreno_bo_cache.c15 #define BO_CACHE_LOG(cache, fmt, ...) do { \ argument
29 dump_cache_stats(struct fd_bo_cache *cache) in dump_cache_stats()
72 add_bucket(struct fd_bo_cache *cache, int size) in add_bucket()
93 fd_bo_cache_init(struct fd_bo_cache *cache, int coarse, const char *name) in fd_bo_cache_init()
126 fd_bo_cache_cleanup(struct fd_bo_cache *cache, time_t time) in fd_bo_cache_cleanup()
176 get_bucket(struct fd_bo_cache *cache, uint32_t size) in get_bucket()
221 fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size, uint32_t flags) in fd_bo_cache_alloc()
267 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_bo_cache_free()
/third_party/mesa3d/src/util/tests/
Dxmlconfig.cpp165 driOptionCache cache; in TEST_F() local
202 driOptionCache cache; in drirc_init() local
217 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
231 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
246 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
259 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
269 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
279 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
290 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
/third_party/mesa3d/src/vulkan/runtime/
Dvk_pipeline_cache.c40 #define vk_pipeline_cache_log(cache, ...) \ argument
45 get_disk_cache(const struct vk_pipeline_cache *cache) in get_disk_cache()
66 vk_raw_data_cache_object_deserialize(struct vk_pipeline_cache *cache, in vk_raw_data_cache_object_deserialize()
147 vk_pipeline_cache_lock(struct vk_pipeline_cache *cache) in vk_pipeline_cache_lock()
155 vk_pipeline_cache_unlock(struct vk_pipeline_cache *cache) in vk_pipeline_cache_unlock()
163 vk_pipeline_cache_remove_object(struct vk_pipeline_cache *cache, in vk_pipeline_cache_remove_object()
179 vk_pipeline_cache_object_weak_ref(struct vk_pipeline_cache *cache, in vk_pipeline_cache_object_weak_ref()
210 vk_pipeline_cache_object_serialize(struct vk_pipeline_cache *cache, in vk_pipeline_cache_object_serialize()
258 vk_pipeline_cache_object_deserialize(struct vk_pipeline_cache *cache, in vk_pipeline_cache_object_deserialize()
291 vk_pipeline_cache_insert_object(struct vk_pipeline_cache *cache, in vk_pipeline_cache_insert_object()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_cache.c103 struct util_cache *cache; in util_cache_create() local
133 util_cache_entry_get(struct util_cache *cache, in util_cache_entry_get()
170 util_cache_entry_destroy(struct util_cache *cache, in util_cache_entry_destroy()
195 util_cache_set(struct util_cache *cache, in util_cache_set()
235 util_cache_get(struct util_cache *cache, in util_cache_get()
262 util_cache_clear(struct util_cache *cache) in util_cache_clear()
285 util_cache_destroy(struct util_cache *cache) in util_cache_destroy()
317 util_cache_remove(struct util_cache *cache, in util_cache_remove()
341 ensure_sanity(const struct util_cache *cache) in ensure_sanity()
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_cache.c42 struct translate_cache *cache = MALLOC_STRUCT(translate_cache); in translate_cache_create() local
52 static inline void delete_translates(struct translate_cache *cache) in delete_translates()
65 void translate_cache_destroy(struct translate_cache *cache) in translate_cache_destroy()
90 struct translate * translate_cache_find(struct translate_cache *cache, in translate_cache_find()
/third_party/libwebsockets/lib/misc/lwsac/
Dcached-file.c78 lwsac_use_cached_file_start(lwsac_cached_file_t cache) in lwsac_use_cached_file_start()
88 lwsac_use_cached_file_end(lwsac_cached_file_t *cache) in lwsac_use_cached_file_end()
109 lwsac_use_cached_file_detach(lwsac_cached_file_t *cache) in lwsac_use_cached_file_detach()
127 lwsac_cached_file(const char *filepath, lwsac_cached_file_t *cache, size_t *len) in lwsac_cached_file()
/third_party/skia/m133/tests/
DImageCacheTest.cpp51 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) { in test_cache()
82 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) { in test_cache_purge_shared_id()
124 SkResourceCache cache(defLimit); in DEF_TEST() local
130 SkResourceCache cache(pool_factory); in DEF_TEST() local
134 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST() local
138 SkResourceCache cache(defLimit); in DEF_TEST() local
145 SkResourceCache cache(4096); in DEF_TEST() local

12345678910>>...28