/external/guava/guava-tests/test/com/google/common/cache/ |
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 136 final LoadingCache<Integer, Integer> cache = in testUpdateRecency_onGet() local 149 final LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testUpdateRecency_onInvalidate() local 166 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_lru() local 198 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testEviction_weightedLru() local [all …]
|
D | CacheLoadingTest.java | 100 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testLoad() local 173 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testReload() local 220 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testRefresh() local 279 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testRefresh_getIfPresent() local 323 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() in testBulkLoad_default() local 370 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_loadAll() local 432 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_extra() local 467 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobber() local 505 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobberNullValue() local 543 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); in testBulkLoad_clobberNullKey() local [all …]
|
D | CacheTesting.java | 64 static <K, V> void simulateValueReclamation(Cache<K, V> cache, K key) { in simulateValueReclamation() 83 static <K, V> void simulateKeyReclamation(Cache<K, V> cache, K key) { in simulateKeyReclamation() 93 static <K, V> ReferenceEntry<K, V> getReferenceEntry(Cache<K, V> cache, K key) { in getReferenceEntry() 102 static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) { in forceExpandSegment() 113 static <K, V> LocalCache<K, V> toLocalCache(Cache<K, V> cache) { in toLocalCache() 125 static boolean hasLocalCache(Cache<?, ?> cache) { in hasLocalCache() 129 static void drainRecencyQueues(Cache<?, ?> cache) { in drainRecencyQueues() 147 static void drainReferenceQueues(Cache<?, ?> cache) { in drainReferenceQueues() 168 static int getTotalSegmentSize(Cache<?, ?> cache) { in getTotalSegmentSize() 183 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 | 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
|
/external/libnl/lib/ |
D | cache.c | 58 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/chromium_org/net/http/ |
D | http_cache_unittest.cc | 89 explicit DeleteCacheCompletionCallback(MockHttpCache* cache) in DeleteCacheCompletionCallback() 122 void RunTransactionTestBase(net::HttpCache* cache, in RunTransactionTestBase() 166 void RunTransactionTestWithRequest(net::HttpCache* cache, in RunTransactionTestWithRequest() 174 void RunTransactionTestAndGetTiming(net::HttpCache* cache, in RunTransactionTestAndGetTiming() 182 void RunTransactionTest(net::HttpCache* cache, in RunTransactionTest() 187 void RunTransactionTestWithResponseInfo(net::HttpCache* cache, in RunTransactionTestWithResponseInfo() 195 net::HttpCache* cache, in RunTransactionTestWithResponseInfoAndGetTiming() 204 void RunTransactionTestWithResponse(net::HttpCache* cache, in RunTransactionTestWithResponse() 213 net::HttpCache* cache, in RunTransactionTestWithResponseAndGetTiming() 444 void CreateTruncatedEntry(std::string raw_headers, MockHttpCache* cache) { in CreateTruncatedEntry() [all …]
|
/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/chromium_org/third_party/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/chromium_org/components/omnibox/ |
D | answers_cache_unittest.cc | 11 AnswersCache cache(1); in TEST() local 16 AnswersCache cache(1); in TEST() local 23 AnswersCache cache(1); in TEST() local 45 AnswersCache cache(2); in TEST() local 68 AnswersCache cache(2); in TEST() local 94 AnswersCache cache(2); in TEST() local
|
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/WebKit/Source/web/ |
D | WebCache.cpp | 52 MemoryCache* cache = memoryCache(); in setCapacities() local 59 MemoryCache* cache = memoryCache(); in clear() local 68 MemoryCache* cache = memoryCache(); in getUsageStats() local 81 MemoryCache* cache = memoryCache(); in getResourceTypeStats() local
|
/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/chromium_org/third_party/mesa/src/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/pixman/pixman/ |
D | pixman-glyph.c | 95 lookup_glyph (pixman_glyph_cache_t *cache, in lookup_glyph() 117 insert_glyph (pixman_glyph_cache_t *cache, in insert_glyph() 141 remove_glyph (pixman_glyph_cache_t *cache, in remove_glyph() 167 clear_table (pixman_glyph_cache_t *cache) in clear_table() 188 pixman_glyph_cache_t *cache; in pixman_glyph_cache_create() local 204 pixman_glyph_cache_destroy (pixman_glyph_cache_t *cache) in pixman_glyph_cache_destroy() 214 pixman_glyph_cache_freeze (pixman_glyph_cache_t *cache) in pixman_glyph_cache_freeze() 220 pixman_glyph_cache_thaw (pixman_glyph_cache_t *cache) in pixman_glyph_cache_thaw() 244 pixman_glyph_cache_lookup (pixman_glyph_cache_t *cache, in pixman_glyph_cache_lookup() 252 pixman_glyph_cache_insert (pixman_glyph_cache_t *cache, in pixman_glyph_cache_insert() [all …]
|
/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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()
|
/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()
|
/external/e2fsprogs/lib/blkid/ |
D | cache.c | 85 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
|
/external/chromium_org/third_party/skia/tests/ |
D | GpuLayerCacheTest.cpp | 18 static int NumLayers(GrLayerCache* cache) { in NumLayers() 21 static void Purge(GrLayerCache* cache, uint32_t pictureID) { in Purge() 28 GrLayerCache* cache, in create_layers() 59 GrLayerCache* cache, in lock_layer() 101 GrLayerCache cache(context); in DEF_GPUTEST() local
|