Lines Matching refs:Rec
68 static const SkResourceCache::Key& GetKey(const SkResourceCache::Rec* rec) { in GetKey()
75 public SkTHashTable<SkResourceCache::Rec*, SkResourceCache::Key, HashTraits> {};
104 Rec* rec = fHead; in ~SkResourceCache()
106 Rec* next = rec->fNext; in ~SkResourceCache()
119 Rec* rec = *found; in find()
143 void SkResourceCache::add(Rec* rec, void* payload) { in add()
148 if (Rec** preexisting = fHash->find(rec->getKey())) { in add()
149 Rec* prev = *preexisting; in add()
177 void SkResourceCache::remove(Rec* rec) { in remove()
213 Rec* rec = fTail; in purgeAsNeeded()
219 Rec* prev = rec->fPrev; in purgeAsNeeded()
245 Rec* rec = fTail; in purgeSharedID()
247 Rec* prev = rec->fPrev; in purgeSharedID()
274 Rec* rec = fTail; in visitAll()
305 void SkResourceCache::release(Rec* rec) { in release()
306 Rec* prev = rec->fPrev; in release()
307 Rec* next = rec->fNext; in release()
325 void SkResourceCache::moveToHead(Rec* rec) { in moveToHead()
344 void SkResourceCache::addToHead(Rec* rec) { in addToHead()
386 const Rec* rec = fHead; in validate()
524 void SkResourceCache::Add(Rec* rec, void* payload) { in Add()
572 static void dump_visitor(const SkResourceCache::Rec& rec, void*) { in dump_visitor()
581 static void sk_trace_dump_visitor(const SkResourceCache::Rec& rec, void* context) { in sk_trace_dump_visitor()