Home
last modified time | relevance | path

Searched refs:fromCache (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkCachedData.cpp63 void SkCachedData::internalRef(bool fromCache) const { in internalRef()
64 AutoMutexWritable(this)->inMutexRef(fromCache); in internalRef()
67 void SkCachedData::internalUnref(bool fromCache) const { in internalUnref()
68 if (AutoMutexWritable(this)->inMutexUnref(fromCache)) { in internalUnref()
76 void SkCachedData::inMutexRef(bool fromCache) { in inMutexRef() argument
82 if (fromCache) { in inMutexRef()
88 bool SkCachedData::inMutexUnref(bool fromCache) { in inMutexUnref() argument
97 if (fInCache && !fromCache) { in inMutexUnref()
108 if (fromCache) { in inMutexUnref()
DSkCachedData.h62 void internalRef(bool fromCache) const;
63 void internalUnref(bool fromCache) const;
65 void inMutexRef(bool fromCache);
66 bool inMutexUnref(bool fromCache); // returns true if we should delete "this"
/external/skqp/src/core/
DSkCachedData.cpp63 void SkCachedData::internalRef(bool fromCache) const { in internalRef()
64 AutoMutexWritable(this)->inMutexRef(fromCache); in internalRef()
67 void SkCachedData::internalUnref(bool fromCache) const { in internalUnref()
68 if (AutoMutexWritable(this)->inMutexUnref(fromCache)) { in internalUnref()
76 void SkCachedData::inMutexRef(bool fromCache) { in inMutexRef() argument
82 if (fromCache) { in inMutexRef()
88 bool SkCachedData::inMutexUnref(bool fromCache) { in inMutexUnref() argument
97 if (fInCache && !fromCache) { in inMutexUnref()
108 if (fromCache) { in inMutexUnref()
DSkCachedData.h62 void internalRef(bool fromCache) const;
63 void internalUnref(bool fromCache) const;
65 void inMutexRef(bool fromCache);
66 bool inMutexUnref(bool fromCache); // returns true if we should delete "this"
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DCacheLoader.java21 File fromCache = diskCache.get(key); in load() local
22 if (fromCache == null) { in load()
28 result = decoder.decode(fromCache, width, height); in load()