Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapCache.cpp161 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
162 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
165 SkResourceCache* localCache) { in FindWH() argument
170 return CHECK_LOCAL(localCache, find, Find, BitmapKey(desc), BitmapRec::Finder, result); in FindWH()
174 SkResourceCache* localCache) { in AddWH() argument
181 CHECK_LOCAL(localCache, add, Add, rec); in AddWH()
186 SkResourceCache* localCache) { in Find() argument
189 return CHECK_LOCAL(localCache, find, Find, key, BitmapRec::Finder, result); in Find()
193 SkResourceCache* localCache) { in Add() argument
205 CHECK_LOCAL(localCache, add, Add, rec); in Add()
[all …]
DSkBitmapCache.h47 SkResourceCache* localCache = nullptr);
53 SkResourceCache* localCache = nullptr);
60 SkResourceCache* localCache = nullptr);
67 SkResourceCache* localCache = nullptr);
69 static bool Find(uint32_t genID, SkBitmap* result, SkResourceCache* localCache = nullptr);
71 static void Add(uint32_t genID, const SkBitmap&, SkResourceCache* localCache = nullptr);
77 SkResourceCache* localCache = nullptr);
78 static const SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = nullptr);
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__))
78 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { in FindAndRef() argument
81 if (!CHECK_LOCAL(localCache, find, Find, key, RRectBlurRec::Visitor, &result)) { in FindAndRef()
92 SkResourceCache* localCache) { in Add() argument
94 return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data)); in Add()
174 SkResourceCache* localCache) { in FindAndRef() argument
177 if (!CHECK_LOCAL(localCache, find, Find, key, RectsBlurRec::Visitor, &result)) { in FindAndRef()
188 SkResourceCache* localCache) { in Add() argument
190 return CHECK_LOCAL(localCache, add, Add, new RectsBlurRec(key, mask, data)); in Add()
DSkMaskCache.h28 SkResourceCache* localCache = nullptr);
31 SkResourceCache* localCache = nullptr);
38 SkResourceCache* localCache = nullptr);
41 SkResourceCache* localCache = nullptr);
DSkYUVPlanesCache.h41 SkResourceCache* localCache = nullptr);
47 SkResourceCache* localCache = nullptr);
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java348 final LocalCache<K, V> localCache; field in LocalCache.LocalManualCache
356 this.localCache = new LocalCache<K, V>(builder, loader); in LocalManualCache()
363 V value = localCache.get(key); in get()
370 localCache.put(key, newValue); in get()
380 return localCache.getIfPresent(key); in getIfPresent()
385 localCache.put(key, value); in put()
391 localCache.remove(key); in invalidate()
396 localCache.clear(); in invalidateAll()
401 return localCache.size(); in size()
406 return localCache; in asMap()
[all …]
/external/guava/guava/src/com/google/common/cache/
DLocalCache.java4718 final LocalCache<K, V> localCache;
4724 private LocalManualCache(LocalCache<K, V> localCache) {
4725 this.localCache = localCache;
4733 return localCache.getIfPresent(key);
4739 return localCache.get(key, new CacheLoader<Object, V>() {
4749 return localCache.getAllPresent(keys);
4754 localCache.put(key, value);
4759 localCache.putAll(m);
4765 localCache.remove(key);
4770 localCache.invalidateAll(keys);
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java64 assertSame(loader, cache.localCache.defaultLoader); in testComputingFunction()
141 ConcurrentMap<Object, Object> map = cache.localCache; // modifiable map view in testStatsNoops()
296 Segment<Object, Object> segment = cache.localCache.segments[0]; in testAsMapRecency()
DCacheTesting.java120 return ((LocalLoadingCache<K, V>) cache).localCache; in toLocalCache()
DLocalCacheTest.java2414 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyLoading()
2415 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyLoading()
2431 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyLoading()
2469 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyManual()
2470 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyManual()
2485 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyManual()
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...