Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkCachedData.cpp85 void SkCachedData::internalRef(bool fromCache) const { in internalRef()
86 AutoMutexWritable(this)->inMutexRef(fromCache); in internalRef()
89 void SkCachedData::internalUnref(bool fromCache) const { in internalUnref()
90 if (AutoMutexWritable(this)->inMutexUnref(fromCache)) { in internalUnref()
98 void SkCachedData::inMutexRef(bool fromCache) { in inMutexRef() argument
104 if (fromCache) { in inMutexRef()
110 bool SkCachedData::inMutexUnref(bool fromCache) { in inMutexUnref() argument
119 if (fInCache && !fromCache) { in inMutexUnref()
130 if (fromCache) { in inMutexUnref()
DSkCachedData.h61 void internalRef(bool fromCache) const;
62 void internalUnref(bool fromCache) const;
64 void inMutexRef(bool fromCache);
65 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()