Home
last modified time | relevance | path

Searched +defs:map +defs:cache (Results 1 – 25 of 58) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/cache/
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()
97 LocalCache<K, V> map = toLocalCache(cache); in getReferenceEntry() local
105 static <K, V> void forceExpandSegment(Cache<K, V> cache, K key) { in forceExpandSegment()
108 LocalCache<K, V> map = toLocalCache(cache); in forceExpandSegment() local
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()
136 LocalCache<?, ?> map = toLocalCache(cache); in drainRecencyQueues() local
[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
141 ConcurrentMap<Object, Object> map = cache.localCache; // modifiable map view 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
243 ConcurrentMap<Object, Object> map = cache.asMap(); in testAsMap() local
295 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testAsMapRecency() local
297 ConcurrentMap<Object, Object> map = cache.asMap(); in testAsMapRecency() 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
110 LoadingCache<Object, Object> map = CacheBuilder.newBuilder() in testGet_runtimeException() local
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
124 Map<Integer, Integer> map = cache.getAll(ImmutableList.of(10, 20, 30, 54, 443, 1)); 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
[all …]
DCacheBuilderTest.java58 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() in testNewBuilder() local
85 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() in testInitialCapacity_small() local
88 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_small() local
99 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() in testInitialCapacity_smallest() local
102 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testInitialCapacity_smallest() local
137 LoadingCache<?, ?> cache = CacheBuilder.newBuilder() in testConcurrencyLevel_small() local
140 LocalCache<?, ?> map = CacheTesting.toLocalCache(cache); in testConcurrencyLevel_small() local
399 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() in testRemovalNotification_clear() local
456 final LoadingCache <String, String> cache = CacheBuilder.newBuilder() in testRemovalNotification_clear_basher() local
557 final LoadingCache<String, String> cache = CacheBuilder.newBuilder() in testRemovalNotification_get_basher() 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 …]
DLocalCacheTest.java152 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); in testDefaults() local
196 LocalCache<Object, Object> map = in testSetKeyEquivalence() local
215 LocalCache<Object, Object> map = in testSetValueEquivalence() local
235 LocalCache<Object, Object> map = in checkConcurrencyLevel() local
276 LocalCache<Object, Object> map = makeLocalCache( in checkInitialCapacity() local
309 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder() in checkMaximumSize() local
342 LocalCache<Object, Object> map = in testSetWeigher() local
348 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakKeys()); in testSetWeakKeys() local
354 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().weakValues()); in testSetWeakValues() local
360 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().softValues()); in testSetSoftValues() local
[all …]
/external/skia/src/core/
DSkFindAndPlaceGlyph.h154 SkPoint map(SkPoint position) const override { in map() function
167 SkPoint map(SkPoint position) const override { in map() function
182 SkPoint map(SkPoint position) const override { in map() function
229 explicit GlyphFindAndPlaceSubpixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceSubpixel()
254 explicit GlyphFindAndPlaceFullPixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceFullPixel()
275 SkArenaAlloc* arena, SkAxisAlignment axisAlignment, SkStrike* cache) in getSubpixel()
297 SkStrike* cache, ProcessOneGlyph&& processOneGlyph) { in ProcessPosText()
/external/skqp/src/core/
DSkFindAndPlaceGlyph.h154 SkPoint map(SkPoint position) const override { in map() function
167 SkPoint map(SkPoint position) const override { in map() function
182 SkPoint map(SkPoint position) const override { in map() function
229 explicit GlyphFindAndPlaceSubpixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceSubpixel()
254 explicit GlyphFindAndPlaceFullPixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceFullPixel()
275 SkArenaAlloc* arena, SkAxisAlignment axisAlignment, SkStrike* cache) in getSubpixel()
297 SkStrike* cache, ProcessOneGlyph&& processOneGlyph) { in ProcessPosText()
/external/boringssl/src/crypto/x509v3/
Dpcy_map.c73 POLICY_MAPPING *map; in policy_cache_set_mapping() local
75 X509_POLICY_CACHE *cache = x->policy_cache; in policy_cache_set_mapping() local
/external/capstone/
Dutils.c20 unsigned short *cache = (unsigned short *)cs_mem_malloc(sizeof(*cache) * (max_id + 1)); in make_id2insn() local
30 unsigned short insn_find(insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache) in insn_find()
41 int name2id(name_map* map, int max, const char *name) in name2id()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_bufmgr.c54 struct vc5_bo_cache *cache = &screen->bo_cache; in vc5_bo_dump_stats() local
82 vc5_bo_remove_from_cache(struct vc5_bo_cache *cache, struct vc5_bo *bo) in vc5_bo_remove_from_cache()
93 struct vc5_bo_cache *cache = &screen->bo_cache; in vc5_bo_from_cache() local
236 struct vc5_bo_cache *cache = &screen->bo_cache; in free_stale_bos() local
263 vc5_bo_cache_free_all(struct vc5_bo_cache *cache) in vc5_bo_cache_free_all()
278 struct vc5_bo_cache *cache = &screen->bo_cache; in vc5_bo_last_unreference_locked_timed() local
532 struct drm_vc5_mmap_bo map; in vc5_bo_map_unsynchronized() local
557 void *map = vc5_bo_map_unsynchronized(bo); in vc5_bo_map() local
572 struct vc5_bo_cache *cache = &screen->bo_cache; in vc5_bufmgr_destroy() local
/external/v8/src/objects/
Dprototype-info-inl.h28 Handle<Map> map) { in SetObjectCreateMap()
33 MaybeObject* cache = object_create_map(); in HasObjectCreateMap() local
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_bufmgr.c80 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_dump_stats() local
108 vc4_bo_remove_from_cache(struct vc4_bo_cache *cache, struct vc4_bo *bo) in vc4_bo_remove_from_cache()
182 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_from_cache() local
296 struct vc4_bo_cache *cache = &screen->bo_cache; in free_stale_bos() local
323 vc4_bo_cache_free_all(struct vc4_bo_cache *cache) in vc4_bo_cache_free_all()
338 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bo_last_unreference_locked_timed() local
625 struct drm_vc4_mmap_bo map; in vc4_bo_map_unsynchronized() local
650 void *map = vc4_bo_map_unsynchronized(bo); in vc4_bo_map() local
665 struct vc4_bo_cache *cache = &screen->bo_cache; in vc4_bufmgr_destroy() local
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program_cache.c131 search_cache(struct brw_cache *cache, GLuint hash, in search_cache()
156 rehash(struct brw_cache *cache) in rehash()
182 brw_search_cache(struct brw_cache *cache, in brw_search_cache()
216 brw_cache_new_bo(struct brw_cache *cache, uint32_t new_size) in brw_cache_new_bo()
228 void *map = brw_bo_map(brw, new_bo, MAP_READ | MAP_WRITE | in brw_cache_new_bo() local
257 brw_lookup_prog(const struct brw_cache *cache, in brw_lookup_prog()
278 brw_alloc_item_data(struct brw_cache *cache, uint32_t size) in brw_alloc_item_data()
301 brw_find_previous_compile(struct brw_cache *cache, in brw_find_previous_compile()
318 brw_upload_cache(struct brw_cache *cache, in brw_upload_cache()
382 struct brw_cache *cache = &brw->cache; in brw_init_caches() local
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/internal/
DRegexCache.java29 private LRUCache<String, Pattern> cache; field in RegexCache
51 private LinkedHashMap<K, V> map; field in RegexCache.LRUCache
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/internal/
DRegexCache.java31 private LRUCache<String, Pattern> cache; field in RegexCache
53 private LinkedHashMap<K, V> map; field in RegexCache.LRUCache
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c390 struct anv_pipeline_bind_map *map) in anv_pipeline_compile()
465 struct anv_pipeline_cache *cache, in anv_pipeline_upload_kernel()
497 struct anv_pipeline_cache *cache, in anv_pipeline_compile_vs()
523 struct anv_pipeline_bind_map map = { in anv_pipeline_compile_vs() local
613 struct anv_pipeline_cache *cache, in anv_pipeline_compile_tcs_tes()
760 struct anv_pipeline_cache *cache, in anv_pipeline_compile_gs()
786 struct anv_pipeline_bind_map map = { in anv_pipeline_compile_gs() local
838 struct anv_pipeline_cache *cache, in anv_pipeline_compile_fs()
864 struct anv_pipeline_bind_map map = { in anv_pipeline_compile_fs() local
986 struct anv_pipeline_cache *cache, in anv_pipeline_compile_cs()
[all …]
Danv_allocator.c105 void *map; member
134 anv_free_list_pop(union anv_free_list *list, void **map, int32_t *offset) in anv_free_list_pop()
162 anv_free_list_push(union anv_free_list *list, void *map, int32_t offset, in anv_free_list_push()
317 void *map; in anv_block_pool_expand_range() local
1181 anv_bo_cache_init(struct anv_bo_cache *cache) in anv_bo_cache_init()
1198 anv_bo_cache_finish(struct anv_bo_cache *cache) in anv_bo_cache_finish()
1205 anv_bo_cache_lookup_locked(struct anv_bo_cache *cache, uint32_t gem_handle) in anv_bo_cache_lookup_locked()
1220 anv_bo_cache_lookup(struct anv_bo_cache *cache, uint32_t gem_handle) in anv_bo_cache_lookup()
1233 struct anv_bo_cache *cache, in anv_bo_cache_alloc()
1269 struct anv_bo_cache *cache, in anv_bo_cache_import()
[all …]
/external/guava/guava-tests/benchmark/com/google/common/cache/
DMapMakerComparisonBenchmark.java46 private final Map<Object, Object> map = new MapMaker().makeMap(); // Returns ConcurrentHashMap field in MapMakerComparisonBenchmark
47 private final Cache<Object, Object> cache = CacheBuilder.newBuilder().recordStats().build(); field in MapMakerComparisonBenchmark
/external/cldr/tools/java/org/unicode/cldr/draft/
DTypology.java122 private <T> T intern(Map<T, T> cache, T list) { in intern() argument
159 label_parent_uset.put(labels[j], map = new TreeMap<String, UnicodeSet>()); in label_parent_uset.put() argument
191 private static Map<String, UnicodeSet> freezeMapping(Map<String, UnicodeSet> map) { in freezeMapping()
/external/v8/src/
Dtransitions.cc46 bool TransitionsAccessor::HasSimpleTransitionTo(Map* map) { in HasSimpleTransitionTo()
92 Handle<Map> map(simple_transition, isolate_); in Insert() local
218 Map* map = Map::cast(raw_transitions_->ToWeakHeapObject()); in SearchTransition() local
371 Handle<WeakFixedArray> cache(GetPrototypeTransitions(), isolate_); in PutPrototypeTransition() local
397 WeakFixedArray* cache = GetPrototypeTransitions(); in GetPrototypeTransition() local
404 Map* map = Map::cast(target->ToWeakHeapObject()); in GetPrototypeTransition() local
/external/python/cpython2/Lib/multiprocessing/
Dpool.py248 def map(self, func, iterable, chunksize=None): member in Pool
335 def _handle_tasks(taskqueue, put, outqueue, pool, cache): argument
387 def _handle_results(outqueue, get, cache): argument
492 worker_handler, task_handler, result_handler, cache): argument
542 def __init__(self, cache, callback): argument
594 def __init__(self, cache, chunksize, length, callback): argument
639 def __init__(self, cache): argument
/external/v8/src/heap/
Dfactory.cc116 Map* map, in AllocateRawWithImmortalMap()
125 Handle<Map> map, PretenureFlag pretenure, in AllocateRawWithAllocationSite()
181 HeapObject* Factory::New(Handle<Map> map, PretenureFlag pretenure) { in New()
263 Handle<Oddball> Factory::NewOddball(Handle<Map> map, const char* to_string, in NewOddball()
295 Map* map = Map::cast(isolate()->heap()->root(map_root_index)); in NewFixedArrayWithFiller() local
327 Map* map = Map::cast(isolate()->heap()->root(map_root_index)); in NewWeakFixedArrayWithMap() local
476 Map* map = *fixed_double_array_map(); in NewFixedDoubleArray() local
528 Map* map = *small_ordered_hash_set_map(); in NewSmallOrderedHashSet() local
543 Map* map = *small_ordered_hash_map_map(); in NewSmallOrderedHashMap() local
778 Map* map = *one_byte_internalized_string_map(); in AllocateRawOneByteInternalizedString() local
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dpool.py263 def map(self, func, iterable, chunksize=None): member in Pool
419 def _handle_tasks(taskqueue, put, outqueue, pool, cache): argument
465 def _handle_results(outqueue, get, cache): argument
573 worker_handler, task_handler, result_handler, cache): argument
631 def __init__(self, cache, callback, error_callback): argument
676 def __init__(self, cache, chunksize, length, callback, error_callback): argument
717 def __init__(self, cache): argument

123