Home | History | Annotate | Download | only in core

Lines Matching refs:Entry

21     struct Entry {
22 Entry(const K& key, V&& value)
29 SK_DECLARE_INTERNAL_LLIST_INTERFACE(Entry);
37 Entry* node = fLRU.head();
46 Entry** value = fMap.find(key);
50 Entry* entry = *value;
51 if (entry != fLRU.head()) {
52 fLRU.remove(entry);
53 fLRU.addToHead(entry);
55 return &entry->fValue;
59 Entry* entry = new Entry(key, std::move(value));
60 fMap.set(entry);
61 fLRU.addToHead(entry);
65 return &entry->fValue;
74 typename SkTInternalLList<Entry>::Iter iter;
75 for (Entry* e = iter.init(fLRU, SkTInternalLList<Entry>::Iter::kHead_IterStart); e;
83 for (Entry* e = fLRU.head(); e; e = fLRU.head()) {
91 static const K& GetKey(Entry* e) {
101 Entry** value = fMap.find(key);
103 Entry* entry = *value;
104 SkASSERT(key == entry->fKey);
106 fLRU.remove(entry);
107 delete entry;
111 SkTHashTable<Entry*, K, Traits> fMap;
112 SkTInternalLList<Entry> fLRU;