/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderGwtTest.java | 57 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testLoader() local 84 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testSizeConstraint() local 119 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testLoadingCache() local 137 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testExpireAfterAccess() local 154 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testExpireAfterWrite() local 181 final Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testExpireAfterWriteAndAccess() local 212 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testMapMethods() local 279 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testRemovalListener() local 318 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testPutAll() local 336 Cache<Integer, Integer> cache = CacheBuilder.newBuilder() in testInvalidate() local [all …]
|
D | CacheEvictionTest.java | 46 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testEviction_setMaxSegmentSize() local 56 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testEviction_setMaxSegmentWeight() local 66 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_maxSizeOneSegment() local 81 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_maxWeightOneSegment() local 98 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_maxSize() local 117 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_maxWeight() local 137 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testEviction_overflow() local 151 final LoadingCache<Integer, Integer> cache = in testUpdateRecency_onGet() local 164 final LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testUpdateRecency_onInvalidate() local 181 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_lru() local [all …]
|
D | CacheLoadingTest.java | 103 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testLoad() local 177 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testReload() local 224 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testRefresh() local 284 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testRefresh_getIfPresent() local 329 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testBulkLoad_default() local 377 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().recordStats().build(loader); in testBulkLoad_loadAll() local 439 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_extra() local 474 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobber() local 512 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobberNullValue() local 550 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobberNullKey() local [all …]
|
D | CacheTesting.java | 65 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) { in simulateValueReclamation() 84 static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) { in simulateKeyReclamation() 94 static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) { in getReferenceEntry() 105 static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) { in forceExpandSegment() 118 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) { in toLocalCache() 130 static boolean hasLocalCache(Cache<?, ?> cache) { in hasLocalCache() 134 static void drainRecencyQueues(Cache<?, ?> cache) { in drainRecencyQueues() 152 static void drainReferenceQueues(Cache<?, ?> cache) { in drainReferenceQueues() 173 static int getTotalSegmentSize(Cache<?, ?> cache) { in getTotalSegmentSize() 188 static void checkValidState(Cache<?, ?> cache) { in checkValidState() [all …]
|
D | CacheExpirationTest.java | 53 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testExpiration_expireAfterWrite() local 65 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testExpiration_expireAfterAccess() local 73 private void checkExpiration(LoadingCache<String, Integer> cache, WatchedCreatorLoader loader, in checkExpiration() 102 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testExpiringGet_expireAfterWrite() local 114 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testExpiringGet_expireAfterAccess() local 122 private void runExpirationTest(LoadingCache<String, Integer> cache, WatchedCreatorLoader loader, in runExpirationTest() 195 LoadingCache<Integer, AtomicInteger> cache = CacheBuilder.newBuilder() in testRemovalListener_expireAfterWrite() local 216 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testRemovalScheduler_expireAfterWrite() local 228 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testRemovalScheduler_expireAfterAccess() local 240 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testRemovalScheduler_expireAfterBoth() local [all …]
|
D | LocalLoadingCacheTest.java | 63 LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); in testComputingFunction() local 81 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testStats() local 140 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testStatsNoops() local 184 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testNoStats() local 208 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testRecordStats() local 236 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testAsMap() local 295 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testAsMapRecency() local
|
D | AbstractLoadingCacheTest.java | 37 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_checked() local 68 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_unchecked() local 99 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_error() local 130 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_otherThrowable() local
|
D | NullCacheTest.java | 44 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testGet() local 61 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testGet_expireAfterWrite() local 78 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testGet_expireAfterAccess() local 94 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testGet_computeNull() local
|
D | AbstractCacheTest.java | 39 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { in testGetIfPresent() local 54 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { in testGetAllPresent_empty() local 69 Cache<Object, Object> cache = new AbstractCache<Object, Object>() { in testGetAllPresent_cached() local 83 Cache<Integer, Integer> cache = new AbstractCache<Integer, Integer>() { in testInvalidateAll() local
|
/external/libnl/lib/ |
D | cache.c | 68 int nl_cache_nitems(struct nl_cache *cache) in nl_cache_nitems() 78 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter() 101 int nl_cache_is_empty(struct nl_cache *cache) in nl_cache_is_empty() 110 struct nl_cache_ops *nl_cache_get_ops(struct nl_cache *cache) in nl_cache_get_ops() 119 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first() 132 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last() 185 struct nl_cache *cache; in nl_cache_alloc() local 236 struct nl_cache *cache; in nl_cache_alloc_and_fill() local 267 struct nl_cache *cache; in nl_cache_alloc_name() local 300 struct nl_cache *cache; in nl_cache_subset() local [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 286 struct cache *cache = malloc(sizeof(struct cache)); in INSERT_LIST() local 331 struct file_buffer *cache_lookup(struct cache *cache, long long index) in cache_lookup() 362 static struct file_buffer *cache_freelist(struct cache *cache) in cache_freelist() 376 static struct file_buffer *cache_alloc(struct cache *cache) in cache_alloc() 390 static struct file_buffer *_cache_get(struct cache *cache, long long index, in _cache_get() 440 struct file_buffer *cache_get(struct cache *cache, long long index) in cache_get() 446 struct file_buffer *cache_get_nohash(struct cache *cache) in cache_get_nohash() 454 struct cache *cache = entry->cache; in cache_hash() local 468 struct cache *cache; in cache_block_put() local 507 void dump_cache(struct cache *cache) in dump_cache() [all …]
|
D | caches-queues-lists.h | 99 struct cache *cache; member 157 struct cache { struct 158 int max_buffers; 159 int count; 160 int buffer_size; 161 int noshrink_lookup; 162 int first_freelist; 186 extern struct cache *cache_init(int, int, int, int); argument
|
/external/freetype/src/cache/ |
D | ftccache.c | 91 ftc_get_top_node_for_hash( FTC_Cache cache, in ftc_get_top_node_for_hash() 113 ftc_cache_resize( FTC_Cache cache ) in ftc_cache_resize() 225 FTC_Cache cache ) in ftc_node_hash_unlink() 258 FTC_Cache cache ) in ftc_node_hash_link() 276 FTC_Cache cache; in ftc_node_destroy() local 328 FTC_Cache_Init( FTC_Cache cache ) in FTC_Cache_Init() 335 ftc_cache_init( FTC_Cache cache ) in ftc_cache_init() 351 FTC_Cache_Clear( FTC_Cache cache ) in FTC_Cache_Clear() 389 ftc_cache_done( FTC_Cache cache ) in ftc_cache_done() 409 FTC_Cache_Done( FTC_Cache cache ) in FTC_Cache_Done() [all …]
|
D | ftcglyph.c | 43 FTC_Cache cache ) in FTC_GNode_UnselectFamily() 56 FTC_Cache cache ) in FTC_GNode_Done() 68 FTC_Cache cache, in ftc_gnode_compare() 88 FTC_Cache cache, in FTC_GNode_Compare() 107 FTC_Cache cache ) in FTC_Family_Init() 121 FTC_GCache cache = (FTC_GCache)ftccache; in ftc_gcache_init() local 155 FTC_GCache cache = (FTC_GCache)ftccache; in ftc_gcache_done() local 187 FTC_GCache_Lookup( FTC_GCache cache, in FTC_GCache_Lookup()
|
/external/syslinux/core/include/ |
D | cache.h | 10 struct cache { struct 12 struct cache *prev; argument 13 struct cache *next; argument 17 /* functions defined in cache.c */ argument
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.cc | 41 static void *RawInternalAlloc(uptr size, InternalAllocatorCache *cache, in RawInternalAlloc() 51 InternalAllocatorCache *cache) { in RawInternalRealloc() 56 static void RawInternalFree(void *ptr, InternalAllocatorCache *cache) { in RawInternalFree() 122 void *InternalAlloc(uptr size, InternalAllocatorCache *cache, uptr alignment) { in InternalAlloc() 132 void *InternalRealloc(void *addr, uptr size, InternalAllocatorCache *cache) { in InternalRealloc() 146 void *InternalCalloc(uptr count, uptr size, InternalAllocatorCache *cache) { in InternalCalloc() 154 void InternalFree(void *addr, InternalAllocatorCache *cache) { in InternalFree()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_state_cache.c | 82 search_cache(struct brw_cache *cache, GLuint hash, in search_cache() 107 rehash(struct brw_cache *cache) in rehash() 133 brw_search_cache(struct brw_cache *cache, in brw_search_cache() 165 brw_cache_new_bo(struct brw_cache *cache, uint32_t new_size) in brw_cache_new_bo() 195 brw_try_upload_using_copy(struct brw_cache *cache, in brw_try_upload_using_copy() 234 brw_upload_item_data(struct brw_cache *cache, in brw_upload_item_data() 262 brw_upload_cache(struct brw_cache *cache, in brw_upload_cache() 324 struct brw_cache *cache = &brw->cache; in brw_init_caches() local 339 brw_clear_cache(struct brw_context *brw, struct brw_cache *cache) in brw_clear_cache() 387 brw_destroy_cache(struct brw_context *brw, struct brw_cache *cache) in brw_destroy_cache()
|
/external/mesa3d/src/mesa/program/ |
D | prog_cache.c | 82 rehash(struct gl_program_cache *cache) in rehash() 108 clear_cache(struct gl_context *ctx, struct gl_program_cache *cache, in clear_cache() 141 struct gl_program_cache *cache = CALLOC_STRUCT(gl_program_cache); in _mesa_new_program_cache() local 156 _mesa_delete_program_cache(struct gl_context *ctx, struct gl_program_cache *cache) in _mesa_delete_program_cache() 165 struct gl_program_cache *cache) in _mesa_delete_shader_cache() 174 _mesa_search_program_cache(struct gl_program_cache *cache, in _mesa_search_program_cache() 199 struct gl_program_cache *cache, in _mesa_program_cache_insert() 227 struct gl_program_cache *cache, in _mesa_shader_cache_insert()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_cache.c | 95 struct util_cache *cache; in util_cache_create() local 122 util_cache_entry_get(struct util_cache *cache, in util_cache_entry_get() 159 util_cache_entry_destroy(struct util_cache *cache, in util_cache_entry_destroy() 181 util_cache_set(struct util_cache *cache, in util_cache_set() 217 util_cache_get(struct util_cache *cache, in util_cache_get() 239 util_cache_clear(struct util_cache *cache) in util_cache_clear() 259 util_cache_destroy(struct util_cache *cache) in util_cache_destroy() 288 util_cache_remove(struct util_cache *cache, in util_cache_remove() 312 ensure_sanity(const struct util_cache *cache) in ensure_sanity()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/ |
D | HttpResponseCacheTest.java | 112 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in closeCloses() local 124 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in closeUninstalls() local 130 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in deleteUninstalls() local 140 HttpResponseCache cache = HttpResponseCache.install(cacheDir, 10 * 1024 * 1024); in statisticsTracking() local 172 private void initializeCache(HttpResponseCache cache) { in initializeCache()
|
/external/boringssl/src/crypto/x509v3/ |
D | pcy_cache.c | 80 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_create() local 125 X509_POLICY_CACHE *cache; in policy_cache_new() local 219 void policy_cache_free(X509_POLICY_CACHE *cache) in policy_cache_free() 240 X509_POLICY_CACHE *cache; in policy_cache_set() local 258 X509_POLICY_DATA *policy_cache_find_data(const X509_POLICY_CACHE *cache, in policy_cache_find_data()
|
/external/skia/tests/ |
D | ImageCacheTest.cpp | 45 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
|
/external/e2fsprogs/lib/blkid/ |
D | cache.c | 83 blkid_cache cache; in blkid_get_cache() local 118 void blkid_put_cache(blkid_cache cache) in blkid_put_cache() 157 void blkid_gc_cache(blkid_cache cache) in blkid_gc_cache() 183 blkid_cache cache = NULL; in main() local
|
D | devname.c | 49 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) in blkid_get_dev() 181 static void probe_one(blkid_cache cache, const char *ptname, in probe_one() 299 static void lvm_probe_all(blkid_cache cache, int only_if_new) in lvm_probe_all() 364 evms_probe_all(blkid_cache cache, int only_if_new) in evms_probe_all() 393 static int probe_all(blkid_cache cache, int only_if_new) in probe_all() 511 int blkid_probe_all(blkid_cache cache) in blkid_probe_all() 523 int blkid_probe_all_new(blkid_cache cache) in blkid_probe_all_new() 537 blkid_cache cache = NULL; in main() local
|
/external/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() 90 struct translate * translate_cache_find(struct translate_cache *cache, in translate_cache_find()
|