| /third_party/node/deps/npm/node_modules/cacache/ |
| D | get.js | 17 size: {} property 20 module.exports = function get (cache, key, opts) { argument 23 module.exports.byDigest = function getByDigest (cache, digest, opts) { argument 26 function getData (byDigest, cache, key, opts) { argument 38 size: memoized.entry.size property 49 size: opts.size property 53 size: entry.size, property 66 module.exports.sync = function get (cache, key, opts) { argument 69 module.exports.sync.byDigest = function getByDigest (cache, digest, opts) { argument 72 function getDataSync (byDigest, cache, key, opts) { argument [all …]
|
| /third_party/mesa3d/src/etnaviv/drm/ |
| D | etnaviv_bo_cache.c | 30 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() 43 unsigned long size, cache_max_size = 64 * 1024 * 1024; in etna_bo_cache_init() local 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/ |
| D | freedreno_bo_cache.c | 34 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() 52 unsigned long size, cache_max_size = 64 * 1024 * 1024; in fd_bo_cache_init() local 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/libdrm/freedreno/ |
| D | freedreno_bo_cache.c | 36 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() 54 unsigned long size, cache_max_size = 64 * 1024 * 1024; in fd_bo_cache_init() local 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/ |
| D | etnaviv_bo_cache.c | 33 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() 46 unsigned long size, cache_max_size = 64 * 1024 * 1024; in etna_bo_cache_init() local 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/util/ |
| D | disk_cache.h | 82 disk_cache_format_hex_id(char *buf, const uint8_t *hex_id, unsigned size) in disk_cache_format_hex_id() 292 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() 298 const void *data, size_t size, in disk_cache_put() 305 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy() 306 void *data, size_t size, 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() [all …]
|
| D | disk_cache.c | 76 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() 273 void *data, size_t size, in create_put_job() 370 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put() 371 const void *data, size_t size, in disk_cache_put() 393 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy() 394 void *data, size_t size, in disk_cache_put_nocopy() [all …]
|
| /third_party/mesa3d/src/virtio/vulkan/ |
| D | vn_renderer_internal.c | 12 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() 52 size_t size, 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() 122 size_t size) 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/mesa3d/src/broadcom/vulkan/ |
| D | v3dv_bo.c | 48 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_dump_stats() local 85 bo_remove_from_cache(struct v3dv_bo_cache *cache, struct v3dv_bo *bo) in bo_remove_from_cache() 95 bo_from_cache(struct v3dv_device *device, uint32_t size, const char *name) in bo_from_cache() 97 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_from_cache() local 168 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_cache_free_all() local 185 uint32_t size, in v3dv_bo_init() 205 uint32_t size, in v3dv_bo_alloc() 269 uint32_t size) in v3dv_bo_map_unsynchronized() 314 v3dv_bo_map(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size) in v3dv_bo_map() 343 reallocate_size_list(struct v3dv_bo_cache *cache, in reallocate_size_list() [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/translate/ |
| D | translate_cache.c | 42 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() 75 unsigned size = sizeof(struct translate_key) - in translate_hash_key_size() local 83 unsigned size = translate_hash_key_size(key); in create_key() local 90 struct translate * translate_cache_find(struct translate_cache *cache, in translate_cache_find()
|
| /third_party/node/deps/npm/node_modules/cacache/lib/content/ |
| D | read.js | 17 size: {} property 21 function read (cache, integrity, opts) { argument 37 function readSync (cache, integrity, opts) { argument 53 function readStream (cache, integrity, opts) { argument 63 size: opts.size property 80 function copy (cache, integrity, dest, opts) { argument 87 function copySync (cache, integrity, dest, opts) { argument 95 function hasContent (cache, integrity) { argument 98 return lstatAsync(cpath).then(stat => ({ size: stat.size, sri, stat })) property 112 function hasContentSync (cache, integrity) { argument [all …]
|
| /third_party/node/deps/npm/node_modules/cacache/lib/ |
| D | verify.js | 29 function verify (cache, opts) { argument 58 function markStartTime (cache, opts) { argument 62 function markEndTime (cache, opts) { argument 66 function fixPerms (cache, opts) { argument 83 function garbageCollect (cache, opts) { argument 139 size: stat.size, property 151 }).catch({ code: 'ENOENT' }, () => ({ size: 0, valid: false })) property 154 function rebuildIndex (cache, opts) { argument 188 function rebuildBucket (cache, bucket, stats, opts) { argument 197 size: entry.size property [all …]
|
| D | entry-index.js | 25 constructor (cache, key) { argument 35 size: {} property 39 function insert (cache, key, integrity, opts) { argument 46 size: opts.size, property 77 function insertSync (cache, key, integrity, opts) { argument 84 size: opts.size, property 103 function find (cache, key) { argument 123 function findSync (cache, key) { argument 143 function del (cache, key, opts) { argument 148 function delSync (cache, key, opts) { argument [all …]
|
| /third_party/alsa-utils/axfer/ |
| D | frame-cache.c | 11 static void align_frames_in_i(struct frame_cache *cache, in align_frames_in_i() 16 unsigned int size; in align_frames_in_i() local 29 static void align_frames_in_n(struct frame_cache *cache, in align_frames_in_n() 35 unsigned int size; in align_frames_in_n() local 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/libwebsockets/lib/misc/cache-ttl/ |
| D | file.c | 75 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() 359 nsc_line_to_tag(const char *buf, size_t size, char *tag, size_t max_tag, in nsc_line_to_tag() 427 nsc_lookup_cb(lws_cache_nscookiejar_t *cache, void *opaque, int flags, in nsc_lookup_cb() 428 const char *buf, size_t size) 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() 541 const char *buf, size_t size) in nsc_regen_cb() [all …]
|
| D | heap.c | 54 _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 323 const uint8_t *source, size_t size, lws_usec_t expiry, in lws_cache_heap_write() [all …]
|
| /third_party/mesa3d/src/gallium/drivers/lima/ |
| D | lima_disk_cache.c | 37 lima_vs_disk_cache_store(struct disk_cache *cache, in lima_vs_disk_cache_store() 65 lima_fs_disk_cache_store(struct disk_cache *cache, in lima_fs_disk_cache_store() 92 lima_vs_disk_cache_retrieve(struct disk_cache *cache, in lima_vs_disk_cache_retrieve() 109 size_t size; in lima_vs_disk_cache_retrieve() local 144 lima_fs_disk_cache_retrieve(struct disk_cache *cache, in lima_fs_disk_cache_retrieve() 161 size_t size; in lima_fs_disk_cache_retrieve() local
|
| /third_party/mesa3d/src/gallium/drivers/nouveau/ |
| D | nouveau_mm.c | 47 struct nouveau_mman *cache; member 85 mm_get_order(uint32_t size) in mm_get_order() 95 mm_bucket_by_order(struct nouveau_mman *cache, int order) in mm_bucket_by_order() 103 mm_bucket_by_size(struct nouveau_mman *cache, unsigned size) in mm_bucket_by_size() 123 mm_slab_new(struct nouveau_mman *cache, struct mm_bucket *bucket, int chunk_order) in mm_slab_new() 127 const uint32_t size = mm_default_slab_size(chunk_order); in mm_slab_new() local 169 nouveau_mm_allocate(struct nouveau_mman *cache, in nouveau_mm_allocate() 170 uint32_t size, struct nouveau_bo **bo, uint32_t *offset) in nouveau_mm_allocate() 254 struct nouveau_mman *cache = MALLOC_STRUCT(nouveau_mman); in nouveau_mm_create() local 288 nouveau_mm_destroy(struct nouveau_mman *cache) in nouveau_mm_destroy()
|
| /third_party/mesa3d/src/mesa/program/ |
| D | prog_cache.c | 51 GLuint size, n_items; member 84 rehash(struct gl_program_cache *cache) in rehash() 88 GLuint size, i; in rehash() local 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/skia/third_party/externals/freetype/src/cache/ |
| D | ftcsbits.c | 48 FT_ULong size; in ftc_sbit_copy_bitmap() local 65 FTC_Cache cache ) in ftc_snode_free() 84 FTC_Cache cache ) in FTC_SNode_Free() 216 FTC_Cache cache ) in FTC_SNode_New() 274 FTC_Cache cache ) in ftc_snode_new() 286 FTC_Cache cache ) in ftc_snode_weight() 292 FT_Offset size; in ftc_snode_weight() local 333 FTC_Cache cache, in ftc_snode_compare() 387 FT_ULong size; in ftc_snode_compare() local 418 FTC_Cache cache, in FTC_SNode_Compare()
|
| /third_party/freetype/src/cache/ |
| D | ftcsbits.c | 48 FT_ULong size; in ftc_sbit_copy_bitmap() local 65 FTC_Cache cache ) in ftc_snode_free() 84 FTC_Cache cache ) in FTC_SNode_Free() 216 FTC_Cache cache ) in FTC_SNode_New() 276 FTC_Cache cache ) in ftc_snode_new() 288 FTC_Cache cache ) in ftc_snode_weight() 294 FT_Offset size; in ftc_snode_weight() local 335 FTC_Cache cache, in ftc_snode_compare() 389 FT_ULong size; in ftc_snode_compare() local 420 FTC_Cache cache, in FTC_SNode_Compare()
|
| /third_party/flutter/skia/third_party/externals/freetype/src/cache/ |
| D | ftcsbits.c | 49 FT_ULong size; in ftc_sbit_copy_bitmap() local 68 FTC_Cache cache ) in ftc_snode_free() 87 FTC_Cache cache ) in FTC_SNode_Free() 212 FTC_Cache cache ) in FTC_SNode_New() 270 FTC_Cache cache ) in ftc_snode_new() 282 FTC_Cache cache ) in ftc_snode_weight() 288 FT_Offset size; in ftc_snode_weight() local 329 FTC_Cache cache, in ftc_snode_compare() 383 FT_ULong size; in ftc_snode_compare() local 414 FTC_Cache cache, in FTC_SNode_Compare()
|
| /third_party/mesa3d/src/amd/vulkan/ |
| D | radv_pipeline_cache.c | 48 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 …]
|
| /third_party/mesa3d/src/gallium/drivers/v3d/ |
| D | v3d_bufmgr.c | 46 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_dump_stats() local 81 v3d_bo_remove_from_cache(struct v3d_bo_cache *cache, struct v3d_bo *bo) in v3d_bo_remove_from_cache() 88 v3d_bo_from_cache(struct v3d_screen *screen, uint32_t size, const char *name) in v3d_bo_from_cache() 90 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_from_cache() local 121 v3d_bo_alloc(struct v3d_screen *screen, uint32_t size, const char *name) in v3d_bo_alloc() 237 struct v3d_bo_cache *cache = &screen->bo_cache; in free_stale_bos() local 263 v3d_bo_cache_free_all(struct v3d_bo_cache *cache) in v3d_bo_cache_free_all() 278 struct v3d_bo_cache *cache = &screen->bo_cache; in v3d_bo_last_unreference_locked_timed() local 326 uint32_t handle, uint32_t size) in v3d_bo_open_handle() 399 int size; in v3d_bo_open_dmabuf() local [all …]
|
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| D | u_cache.c | 75 uint32_t size; member 101 uint32_t size) in util_cache_create() 103 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() [all …]
|