Home
last modified time | relevance | path

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

12

/external/skia/src/core/
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()
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()
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/skqp/src/core/
DSkYUVPlanesCache.cpp12 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
13 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
74 SkResourceCache* localCache) { in FindAndRef() argument
77 if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { in FindAndRef()
86 SkResourceCache* localCache) { in Add() argument
88 return CHECK_LOCAL(localCache, add, Add, new YUVPlanesRec(key, data, info)); in Add()
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()
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->GetDiscardableFactory() in get_fact()
288 SkResourceCache* localCache) { in AddAndRef() argument
294 SkMipMap* mipmap = SkMipMap::Build(src, get_fact(localCache)); in AddAndRef()
297 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.h38 SkResourceCache* localCache = nullptr);
44 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/llvm-project/llvm/include/llvm/LTO/
DCaching.h33 Expected<NativeObjectCache> localCache(StringRef CacheDirectoryPath,
/external/guava/android/guava/src/com/google/common/cache/
DLocalCache.java4667 final LocalCache<K, V> localCache;
4673 private LocalManualCache(LocalCache<K, V> localCache) {
4674 this.localCache = localCache;
4682 return localCache.getIfPresent(key);
4688 return localCache.get(
4700 return localCache.getAllPresent(keys);
4705 localCache.put(key, value);
4710 localCache.putAll(m);
4716 localCache.remove(key);
4721 localCache.invalidateAll(keys);
[all …]
/external/llvm-project/mlir/lib/Support/
DStorageUniquer.cpp131 auto localIt = localCache->insert_as({hashValue}, lookupKey); in getOrCreate()
197 ThreadLocalCache<StorageTypeSet> localCache; member in __anonb14bee2a0111::ParametricStorageUniquer
/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()
/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()
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java4828 final LocalCache<K, V> localCache;
4834 private LocalManualCache(LocalCache<K, V> localCache) {
4835 this.localCache = localCache;
4842 return localCache.getIfPresent(key);
4848 return localCache.get(
4860 return localCache.getAllPresent(keys);
4865 localCache.put(key, value);
4870 localCache.putAll(m);
4876 localCache.remove(key);
4881 localCache.invalidateAll(keys);
[all …]
/external/llvm-project/llvm/lib/LTO/
DCaching.cpp30 Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath, in localCache() function in lto
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp30 Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath, in localCache() function in lto
/external/llvm-project/lld/wasm/
DLTO.cpp133 lto::localCache(config->thinLTOCacheDir, in compile()

12