Home
last modified time | relevance | path

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

12345678910>>...20

/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderGwtTest.java57 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 …]
DCacheEvictionTest.java46 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 …]
DCacheLoadingTest.java103 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 …]
DCacheExpirationTest.java53 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 …]
DCacheTesting.java65 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 …]
DLocalLoadingCacheTest.java63 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
DAbstractLoadingCacheTest.java37 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
DNullCacheTest.java44 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
/external/libnl/lib/
Dcache.c58 int nl_cache_nitems(struct nl_cache *cache) in nl_cache_nitems()
68 int nl_cache_nitems_filter(struct nl_cache *cache, struct nl_object *filter) in nl_cache_nitems_filter()
94 int nl_cache_is_empty(struct nl_cache *cache) in nl_cache_is_empty()
103 struct nl_cache_ops *nl_cache_get_ops(struct nl_cache *cache) in nl_cache_get_ops()
112 struct nl_object *nl_cache_get_first(struct nl_cache *cache) in nl_cache_get_first()
125 struct nl_object *nl_cache_get_last(struct nl_cache *cache) in nl_cache_get_last()
175 struct nl_cache *cache; in nl_cache_alloc() local
192 struct nl_cache *cache; in nl_cache_alloc_and_fill() local
215 struct nl_cache *cache; in nl_cache_alloc_name() local
237 struct nl_cache *cache; in nl_cache_subset() local
[all …]
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c286 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 …]
Dcaches-queues-lists.h99 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/
Dftccache.c91 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 …]
Dftcglyph.c43 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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_cache.c82 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/
Dprog_cache.c82 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/
Du_cache.c95 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/skia/tests/
DGpuLayerCacheTest.cpp26 static GrTexture* GetBackingTexture(GrLayerCache* cache) { in GetBackingTexture()
30 static int NumLayers(GrLayerCache* cache) { in NumLayers()
33 static void Purge(GrLayerCache* cache, uint32_t pictureID) { in Purge()
39 static GrCachedLayer* Find(GrLayerCache* cache, uint32_t pictureID, in Find()
48 GrLayerCache* cache, in create_layers()
79 GrLayerCache* cache, in lock_layer()
131 GrLayerCache cache(context); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
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
127 SkResourceCache cache(pool_factory); in DEF_TEST() local
131 SkResourceCache cache(SkDiscardableMemory::Create); in DEF_TEST() local
135 SkResourceCache cache(defLimit); in DEF_TEST() local
142 SkResourceCache cache(4096); in DEF_TEST() local
/external/boringssl/src/crypto/x509v3/
Dpcy_cache.c79 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_create() local
132 X509_POLICY_CACHE *cache; in policy_cache_new() local
236 void policy_cache_free(X509_POLICY_CACHE *cache) in policy_cache_free()
255 X509_POLICY_CACHE *cache; in policy_cache_set() local
273 X509_POLICY_DATA *policy_cache_find_data(const X509_POLICY_CACHE *cache, in policy_cache_find_data()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
DHttpResponseCacheTest.java112 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/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()
/external/v8/test/unittests/compiler/
Dnode-cache-unittest.cc19 Int32NodeCache cache; in TEST_F() local
33 Int32NodeCache cache; in TEST_F() local
51 Int32NodeCache cache; in TEST_F() local
75 Int64NodeCache cache; in TEST_F() local
89 Int64NodeCache cache; in TEST_F() local
113 Int32NodeCache cache; in TEST_F() local
136 Int64NodeCache cache; in TEST_F() local
/external/e2fsprogs/lib/blkid/
Dcache.c85 blkid_cache cache; in blkid_get_cache() local
120 void blkid_put_cache(blkid_cache cache) in blkid_put_cache()
159 void blkid_gc_cache(blkid_cache cache) in blkid_gc_cache()
187 blkid_cache cache = NULL; in main() local
Ddevname.c48 blkid_dev blkid_get_dev(blkid_cache cache, const char *devname, int flags) in blkid_get_dev()
182 static void probe_one(blkid_cache cache, const char *ptname, in probe_one()
300 static void lvm_probe_all(blkid_cache cache, int only_if_new) in lvm_probe_all()
365 evms_probe_all(blkid_cache cache, int only_if_new) in evms_probe_all()
394 static int probe_all(blkid_cache cache, int only_if_new) in probe_all()
512 int blkid_probe_all(blkid_cache cache) in blkid_probe_all()
524 int blkid_probe_all_new(blkid_cache cache) in blkid_probe_all_new()
538 blkid_cache cache = NULL; in main() local
/external/ltrace/
Dprototype.c328 protolib_cache_destroy(struct protolib_cache *cache) in protolib_cache_destroy()
341 consider_config_dir(struct protolib_cache *cache, in consider_config_dir()
364 load_dash_F_dirs(struct protolib_cache *cache, in load_dash_F_dirs()
383 load_config(struct protolib_cache *cache, in load_config()
405 struct protolib_cache *cache = data; in import_legacy_file() local
418 add_ltrace_conf(struct protolib_cache *cache) in add_ltrace_conf()
457 protolib_cache_init(struct protolib_cache *cache, struct protolib *import) in protolib_cache_init()
498 build_default_config(struct protolib_cache *cache, const char *key) in build_default_config()
530 attempt_to_cache(struct protolib_cache *cache, in attempt_to_cache()
546 protolib_cache_maybe_load(struct protolib_cache *cache, in protolib_cache_maybe_load()
[all …]

12345678910>>...20