Home
last modified time | relevance | path

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

12345678910>>...21

/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()
307 lws_cache_nscookiejar_tag_match(struct lws_cache_ttl_lru *cache, in lws_cache_nscookiejar_tag_match()
427 nsc_lookup_cb(lws_cache_nscookiejar_t *cache, void *opaque, int flags, in nsc_lookup_cb()
487 lws_cache_nscookiejar_t *cache = (lws_cache_nscookiejar_t *)_c; in lws_cache_nscookiejar_lookup() local
540 nsc_regen_cb(lws_cache_nscookiejar_t *cache, void *opaque, int flags, in nsc_regen_cb()
599 nsc_regen(lws_cache_nscookiejar_t *cache, const char *wc_delete, in nsc_regen()
682 lws_cache_nscookiejar_t *cache = lws_container_of(sul, in expiry_cb() local
705 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_init(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_init()
33 vn_renderer_shmem_cache_fini(struct vn_renderer_shmem_cache *cache) in vn_renderer_shmem_cache_fini()
51 choose_bucket(struct vn_renderer_shmem_cache *cache, in choose_bucket()
69 struct vn_renderer_shmem_cache *cache, int64_t now) in vn_renderer_shmem_cache_remove_expired_locked()
94 vn_renderer_shmem_cache_add(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_add()
121 vn_renderer_shmem_cache_get(struct vn_renderer_shmem_cache *cache, in vn_renderer_shmem_cache_get()
158 vn_renderer_shmem_cache_debug_dump(struct vn_renderer_shmem_cache *cache) in vn_renderer_shmem_cache_debug_dump()
/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/mesa3d/src/util/
Ddisk_cache.c76 struct disk_cache *cache = NULL; in disk_cache_create() local
239 disk_cache_destroy(struct disk_cache *cache) in disk_cache_destroy()
255 disk_cache_wait_for_idle(struct disk_cache *cache) in disk_cache_wait_for_idle()
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()
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()
485 disk_cache_has_key(struct disk_cache *cache, const cache_key key) in disk_cache_has_key()
[all …]
Ddisk_cache.h292 disk_cache_destroy(struct disk_cache *cache) { in disk_cache_destroy()
297 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put()
305 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy()
313 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove()
319 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) in disk_cache_get()
325 disk_cache_put_key(struct disk_cache *cache, const cache_key key) in disk_cache_put_key()
331 disk_cache_has_key(struct disk_cache *cache, const cache_key key) in disk_cache_has_key()
337 disk_cache_compute_key(struct disk_cache *cache, const void *data, size_t size, in disk_cache_compute_key()
344 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/mesa3d/src/freedreno/drm/
Dfreedreno_bo_cache.c34 add_bucket(struct fd_bo_cache *cache, int size) in add_bucket()
50 fd_bo_cache_init(struct fd_bo_cache *cache, int coarse) in fd_bo_cache_init()
80 fd_bo_cache_cleanup(struct fd_bo_cache *cache, time_t time) in fd_bo_cache_cleanup()
110 get_bucket(struct fd_bo_cache *cache, uint32_t size) in get_bucket()
156 fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size, uint32_t flags) in fd_bo_cache_alloc()
188 fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo) in fd_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/mesa/program/
Dprog_cache.c84 rehash(struct gl_program_cache *cache) in rehash()
110 clear_cache(struct gl_context *ctx, struct gl_program_cache *cache, in clear_cache()
143 struct gl_program_cache *cache = CALLOC_STRUCT(gl_program_cache); in _mesa_new_program_cache() local
158 _mesa_delete_program_cache(struct gl_context *ctx, struct gl_program_cache *cache) in _mesa_delete_program_cache()
167 struct gl_program_cache *cache) in _mesa_delete_shader_cache()
176 _mesa_search_program_cache(struct gl_program_cache *cache, in _mesa_search_program_cache()
205 struct gl_program_cache *cache, in _mesa_program_cache_insert()
234 struct gl_program_cache *cache, in _mesa_shader_cache_insert()
/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/util/tests/
Dxmlconfig.cpp165 driOptionCache cache; in TEST_F() local
207 driOptionCache cache; in drirc_init() local
222 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
236 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
251 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
264 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
274 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
284 driOptionCache cache = drirc_init("driver", "drm", in TEST_F() local
/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/tests/
DImageCacheTest.cpp45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) { in test_cache()
76 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) { in test_cache_purge_shared_id()
120 SkResourceCache cache(defLimit); in DEF_TEST() local
126 SkResourceCache cache(pool_factory); in DEF_TEST() local
130 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST() local
134 SkResourceCache cache(defLimit); in DEF_TEST() local
141 SkResourceCache cache(4096); in DEF_TEST() local
/third_party/alsa-utils/axfer/
Dframe-cache.c11 static void align_frames_in_i(struct frame_cache *cache, in align_frames_in_i()
29 static void align_frames_in_n(struct frame_cache *cache, in align_frames_in_n()
48 int frame_cache_init(struct frame_cache *cache, snd_pcm_access_t access, in frame_cache_init()
100 void frame_cache_destroy(struct frame_cache *cache) in frame_cache_destroy()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c48 radv_pipeline_cache_lock(struct radv_pipeline_cache *cache) in radv_pipeline_cache_lock()
57 radv_pipeline_cache_unlock(struct radv_pipeline_cache *cache) in radv_pipeline_cache_unlock()
76 radv_pipeline_cache_init(struct radv_pipeline_cache *cache, struct radv_device *device) in radv_pipeline_cache_init()
101 radv_pipeline_cache_finish(struct radv_pipeline_cache *cache) in radv_pipeline_cache_finish()
209 radv_pipeline_cache_search_unlocked(struct radv_pipeline_cache *cache, const unsigned char *sha1) in radv_pipeline_cache_search_unlocked()
233 radv_pipeline_cache_search(struct radv_pipeline_cache *cache, const unsigned char *sha1) in radv_pipeline_cache_search()
247 radv_pipeline_cache_set_entry(struct radv_pipeline_cache *cache, struct cache_entry *entry) in radv_pipeline_cache_set_entry()
268 radv_pipeline_cache_grow(struct radv_pipeline_cache *cache) in radv_pipeline_cache_grow()
300 radv_pipeline_cache_add_entry(struct radv_pipeline_cache *cache, struct cache_entry *entry) in radv_pipeline_cache_add_entry()
314 struct radv_device *device, struct radv_pipeline_cache *cache, const unsigned char *sha1, in radv_create_shaders_from_pipeline_cache()
[all …]

12345678910>>...21