Home
last modified time | relevance | path

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

/third_party/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);
/third_party/python/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DCaching.h33 Expected<NativeObjectCache> localCache(StringRef CacheDirectoryPath,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DCaching.cpp30 Expected<NativeObjectCache> lto::localCache(StringRef CacheDirectoryPath, in localCache() function in lto