Home
last modified time | relevance | path

Searched refs:fLRU (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/core/
DSkLRUCache.h37 Entry* node = fLRU.head(); in ~SkLRUCache()
39 fLRU.remove(node); in ~SkLRUCache()
41 node = fLRU.head(); in ~SkLRUCache()
51 if (entry != fLRU.head()) { in find()
52 fLRU.remove(entry); in find()
53 fLRU.addToHead(entry); in find()
61 fLRU.addToHead(entry); in insert()
63 this->remove(fLRU.tail()->fKey); in insert()
75 for (Entry* e = iter.init(fLRU, SkTInternalLList<Entry>::Iter::kHead_IterStart); e; in foreach()
83 for (Entry* e = fLRU.head(); e; e = fLRU.head()) { in reset()
[all …]
DSkImageFilterCache.cpp64 if (v != fLRU.head()) { in get()
65 fLRU.remove(v); in get()
66 fLRU.addToHead(v); in get()
80 fLRU.addToHead(v); in set()
89 Value* tail = fLRU.tail(); in set()
101 Value* tail = fLRU.tail(); in purge()
141 fLRU.remove(v); in removeInternal()
147 mutable SkTInternalLList<Value> fLRU; member in __anon1237dd610311::CacheImpl
/external/skia/src/core/
DSkLRUCache.h37 Entry* node = fLRU.head(); in ~SkLRUCache()
39 fLRU.remove(node); in ~SkLRUCache()
41 node = fLRU.head(); in ~SkLRUCache()
51 if (entry != fLRU.head()) { in find()
52 fLRU.remove(entry); in find()
53 fLRU.addToHead(entry); in find()
63 fLRU.addToHead(entry); in insert()
65 this->remove(fLRU.tail()->fKey); in insert()
86 for (Entry* e = iter.init(fLRU, SkTInternalLList<Entry>::Iter::kHead_IterStart); e; in foreach()
94 for (Entry* e = fLRU.head(); e; e = fLRU.head()) { in reset()
[all …]
DSkImageFilterCache.cpp59 if (v != fLRU.head()) { in get()
60 fLRU.remove(v); in get()
61 fLRU.addToHead(v); in get()
78 fLRU.addToHead(v); in set()
87 Value* tail = fLRU.tail(); in set()
99 Value* tail = fLRU.tail(); in purge()
138 fLRU.remove(v); in removeInternal()
144 mutable SkTInternalLList<Value> fLRU; member in __anon4e71404a0311::CacheImpl
/external/skqp/src/gpu/ccpr/
DGrCCPathCache.cpp100 while (!fLRU.isEmpty()) { in ~GrCCPathCache()
101 this->evict(*fLRU.tail()->fCacheKey, fLRU.tail()); in ~GrCCPathCache()
181 SkASSERT(fLRU.isInList(entry)); in find()
201 SkDEBUGCODE(HashNode* node = fHashTable.find(*fLRU.tail()->fCacheKey)); in find()
202 SkASSERT(node && node->entry() == fLRU.tail()); in find()
203 this->evict(*fLRU.tail()->fCacheKey); // We've exceeded our limit. in find()
215 fLRU.remove(entry); // Will be re-added at head. in find()
220 fLRU.addToHead(entry); in find()
258 fLRU.remove(entry); in evict()
274 auto lastTimestamp = (fLRU.isEmpty()) in purgeEntriesOlderThan()
[all …]
DGrCCPathCache.h170 SkTInternalLList<GrCCPathCacheEntry> fLRU; variable
/external/skqp/tools/gpu/
DGrTest.cpp329 return fLRU; in testingOnly_getLRU()