Home
last modified time | relevance | path

Searched refs:localCache (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/core/
DSkMaskCache.cpp10 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
11 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
76 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { in FindAndRef() argument
79 if (!CHECK_LOCAL(localCache, find, Find, key, RRectBlurRec::Visitor, &result)) { in FindAndRef()
90 SkResourceCache* localCache) { in Add() argument
92 return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data)); in Add()
168 SkResourceCache* localCache) { in FindAndRef() argument
171 if (!CHECK_LOCAL(localCache, find, Find, key, RectsBlurRec::Visitor, &result)) { in FindAndRef()
182 SkResourceCache* localCache) { in Add() argument
184 return CHECK_LOCAL(localCache, add, Add, new RectsBlurRec(key, mask, data)); in Add()
DSkYUVPlanesCache.cpp15 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
16 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
78 SkResourceCache* localCache) { in FindAndRef() argument
81 if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { in FindAndRef()
90 SkResourceCache* localCache) { in Add() argument
92 return CHECK_LOCAL(localCache, add, Add, new YUVPlanesRec(key, data, pixmaps)); in Add()
DSkBitmapCache.cpp216 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
217 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
272 SkResourceCache* localCache) { in FindAndRef() argument
276 if (!CHECK_LOCAL(localCache, find, Find, key, MipMapRec::Finder, &result)) { in FindAndRef()
282 static SkResourceCache::DiscardableFactory get_fact(SkResourceCache* localCache) { in get_fact() argument
283 return localCache ? localCache->discardableFactory() in get_fact()
287 const SkMipmap* SkMipmapCache::AddAndRef(const SkImage_Base* image, SkResourceCache* localCache) { in AddAndRef() argument
293 SkMipmap* mipmap = SkMipmap::Build(src, get_fact(localCache)); in AddAndRef()
296 CHECK_LOCAL(localCache, add, Add, rec); in AddAndRef()
DSkMaskCache.h28 SkResourceCache* localCache = nullptr);
31 SkResourceCache* localCache = nullptr);
38 SkResourceCache* localCache = nullptr);
41 SkResourceCache* localCache = nullptr);
DSkYUVPlanesCache.h28 SkResourceCache* localCache = nullptr);
35 SkResourceCache* localCache = nullptr);
DSkBitmapCache.h62 SkResourceCache* localCache = nullptr);
64 SkResourceCache* localCache = nullptr);
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java351 final LocalCache<K, V> localCache; field in LocalCache.LocalManualCache
359 this.localCache = new LocalCache<K, V>(builder, loader); in LocalManualCache()
366 V value = localCache.get(key); in get()
373 localCache.put(key, newValue); in get()
382 return localCache.getIfPresent(key); in getIfPresent()
387 localCache.put(key, value); in put()
393 localCache.remove(key); in invalidate()
398 localCache.clear(); in invalidateAll()
403 return localCache.size(); in size()
408 return localCache; in asMap()
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DThreadReferenceImpl.java100 private LocalCache localCache; field in ThreadReferenceImpl
103 localCache = new LocalCache(); in resetLocalCache()
267 LocalCache snapshot = localCache; in jdwpStatus()
332 LocalCache snapshot = localCache; in frameCount()
400 LocalCache snapshot = localCache; in privateFrames()
444 LocalCache snapshot = localCache; in ownedMonitors()
470 LocalCache snapshot = localCache; in currentContendedMonitor()
497 LocalCache snapshot = localCache; in ownedMonitorsAndFrames()
/external/python/cpython3/PC/
Dpython_uwp.cpp36 const auto localCache = appData.LocalCacheFolder(); in get_user_base() local
37 if (localCache) { in get_user_base()
38 auto path = localCache.Path(); in get_user_base()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DCaching.h33 Expected<NativeObjectCache> localCache(StringRef CacheDirectoryPath,
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java4672 final LocalCache<K, V> localCache;
4678 private LocalManualCache(LocalCache<K, V> localCache) {
4679 this.localCache = localCache;
4687 return localCache.getIfPresent(key);
4693 return localCache.get(
4705 return localCache.getAllPresent(keys);
4710 localCache.put(key, value);
4715 localCache.putAll(m);
4721 localCache.remove(key);
4726 localCache.invalidateAll(keys);
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java4843 final LocalCache<K, V> localCache;
4849 private LocalManualCache(LocalCache<K, V> localCache) {
4850 this.localCache = localCache;
4857 return localCache.getIfPresent(key);
4863 return localCache.get(
4875 return localCache.getAllPresent(keys);
4880 localCache.put(key, value);
4885 localCache.putAll(m);
4891 localCache.remove(key);
4896 localCache.invalidateAll(keys);
[all …]
/external/guava/android/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java61 assertSame(loader, cache.localCache.defaultLoader); in testComputingFunction()
135 ConcurrentMap<Object, Object> map = cache.localCache; // modifiable map view in testStatsNoops()
284 Segment<Object, Object> segment = cache.localCache.segments[0]; in testAsMapRecency()
DCacheTesting.java118 return ((LocalLoadingCache<K, V>) cache).localCache; in toLocalCache()
DCacheBuilderTest.java178 LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache; in testMaximumSize_largerThanInt()
DLocalCacheTest.java2557 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyLoading()
2558 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyLoading()
2574 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyLoading()
2614 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyManual()
2615 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyManual()
2630 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyManual()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java61 assertSame(loader, cache.localCache.defaultLoader); in testComputingFunction()
135 ConcurrentMap<Object, Object> map = cache.localCache; // modifiable map view in testStatsNoops()
284 Segment<Object, Object> segment = cache.localCache.segments[0]; in testAsMapRecency()
DCacheTesting.java118 return ((LocalLoadingCache<K, V>) cache).localCache; in toLocalCache()
DLocalCacheTest.java2606 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyLoading()
2607 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyLoading()
2623 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyLoading()
2663 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyManual()
2664 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyManual()
2679 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyManual()
DCacheBuilderTest.java178 LocalCache<?, ?> cache = ((LocalCache.LocalManualCache<?, ?>) builder.build()).localCache; in testMaximumSize_largerThanInt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp30 Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath, in localCache() function in lto