Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapCache.cpp92 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
93 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
96 SkResourceCache* localCache) { in Find() argument
103 return CHECK_LOCAL(localCache, find, Find, key, BitmapRec::Finder, result); in Find()
107 const SkBitmap& result, SkResourceCache* localCache) { in Add() argument
115 CHECK_LOCAL(localCache, add, Add, rec); in Add()
120 SkResourceCache* localCache) { in Find() argument
123 return CHECK_LOCAL(localCache, find, Find, key, BitmapRec::Finder, result); in Find()
127 SkResourceCache* localCache) { in Add() argument
139 CHECK_LOCAL(localCache, add, Add, rec); in Add()
[all …]
DSkBitmapCache.h34 SkResourceCache* localCache = NULL);
40 const SkBitmap& result, SkResourceCache* localCache = NULL);
47 SkResourceCache* localCache = NULL);
54 SkResourceCache* localCache = NULL);
59 static const SkMipMap* FindAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL);
60 static const SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = NULL);
DSkYUVPlanesCache.cpp12 #define CHECK_LOCAL(localCache, localName, globalName, ...) \ argument
13 ((localCache) ? localCache->localName(__VA_ARGS__) : SkResourceCache::globalName(__VA_ARGS__))
70 SkResourceCache* localCache) { in FindAndRef() argument
73 if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { in FindAndRef()
82 SkResourceCache* localCache) { in Add() argument
84 return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(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__))
74 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { in FindAndRef() argument
77 if (!CHECK_LOCAL(localCache, find, Find, key, RRectBlurRec::Visitor, &result)) { in FindAndRef()
88 SkResourceCache* localCache) { in Add() argument
90 return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(RRectBlurRec, (key, mask, data))); in Add()
166 SkResourceCache* localCache) { in FindAndRef() argument
169 if (!CHECK_LOCAL(localCache, find, Find, key, RectsBlurRec::Visitor, &result)) { in FindAndRef()
180 SkResourceCache* localCache) { in Add() argument
182 return CHECK_LOCAL(localCache, add, Add, SkNEW_ARGS(RectsBlurRec, (key, mask, data))); in Add()
DSkMaskCache.h28 SkResourceCache* localCache = NULL);
31 SkResourceCache* localCache = NULL);
38 SkResourceCache* localCache = NULL);
41 SkResourceCache* localCache = NULL);
DSkYUVPlanesCache.h41 SkResourceCache* localCache = NULL);
47 SkResourceCache* localCache = NULL);
/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.java4715 final LocalCache<K, V> localCache;
4721 private LocalManualCache(LocalCache<K, V> localCache) {
4722 this.localCache = localCache;
4730 return localCache.getIfPresent(key);
4736 return localCache.get(key, new CacheLoader<Object, V>() {
4746 return localCache.getAllPresent(keys);
4751 localCache.put(key, value);
4756 localCache.putAll(m);
4762 localCache.remove(key);
4767 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.java2413 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyLoading()
2414 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyLoading()
2430 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyLoading()
2468 LocalCache<Object, Object> localCacheOne = one.localCache; in testSerializationProxyManual()
2469 LocalCache<Object, Object> localCacheTwo = two.localCache; in testSerializationProxyManual()
2484 LocalCache<Object, Object> localCacheThree = three.localCache; in testSerializationProxyManual()
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...