Lines Matching refs:fPrev
33 , fPrev(prev) in Block()
105 SkASSERT(block->fPrev); in releaseBlock()
106 block->fPrev->fNext = block->fNext; in releaseBlock()
109 block->fNext->fPrev = block->fPrev; in releaseBlock()
112 fTail = block->fPrev; in releaseBlock()
117 SkASSERT(block != fHead.fPrev); // shouldn't already be the scratch block in releaseBlock()
118 if (fHead.fPrev) { in releaseBlock()
119 delete fHead.fPrev; in releaseBlock()
122 fHead.fPrev = block; in releaseBlock()
156 toSteal->fPrev = fTail; in stealHeapBlocks()
182 SkASSERT(fTail == &fHead && fHead.fNext == nullptr && fHead.fPrev == nullptr && in reset()
191 if (fHead.fPrev) { in resetScratchSpace()
192 delete fHead.fPrev; in resetScratchSpace()
193 fHead.fPrev = nullptr; in resetScratchSpace()
216 SkASSERT(fHead.fPrev->isScratch()); in addBlock()
217 allocSize = fHead.fPrev->fSize; in addBlock()
218 mem = fHead.fPrev; in addBlock()
219 fHead.fPrev = nullptr; in addBlock()
272 SkASSERT(!prev && (!fHead.fPrev || fHead.fPrev->isScratch())); in validate()
274 SkASSERT(prev == block->fPrev); in validate()