Lines Matching refs:fHead
81 fHead = nullptr; in init()
104 Rec* rec = fHead; in ~SkResourceCache()
310 SkASSERT(fHead == rec); in release()
311 fHead = next; in release()
326 if (fHead == rec) { in moveToHead()
330 SkASSERT(fHead); in moveToHead()
337 fHead->fPrev = rec; in moveToHead()
338 rec->fNext = fHead; in moveToHead()
339 fHead = rec; in moveToHead()
348 rec->fNext = fHead; in addToHead()
349 if (fHead) { in addToHead()
350 fHead->fPrev = rec; in addToHead()
352 fHead = rec; in addToHead()
366 if (nullptr == fHead) { in validate()
372 if (fHead == fTail) { in validate()
373 SkASSERT(nullptr == fHead->fPrev); in validate()
374 SkASSERT(nullptr == fHead->fNext); in validate()
375 SkASSERT(fHead->bytesUsed() == fTotalBytesUsed); in validate()
379 SkASSERT(nullptr == fHead->fPrev); in validate()
380 SkASSERT(fHead->fNext); in validate()
386 const Rec* rec = fHead; in validate()