Lines Matching refs:fTailBlock
58 fTailBlock(fHeadBlock), in GrTRecorder()
154 MemBlock* fTailBlock; variable
175 fTailBlock->fBack -= header->fTotalLength; in pop_back()
182 SkASSERT(0 == fTailBlock->fBack); in pop_back()
186 while (!fTailBlock->fBack) { in pop_back()
189 fTailBlock = fTailBlock->fPrev; in pop_back()
190 SkASSERT(fTailBlock); in pop_back()
192 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
212 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) { in alloc_back()
213 if (!fTailBlock->fNext) { in alloc_back()
214 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock); in alloc_back()
216 fTailBlock = fTailBlock->fNext; in alloc_back()
218 SkASSERT(0 == fTailBlock->fBack); in alloc_back()
221 Header* header = reinterpret_cast<Header*>(&(*fTailBlock)[fTailBlock->fBack]); in alloc_back()
222 void* rawPtr = &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue]; in alloc_back()
227 fTailBlock->fBack += totalLength; in alloc_back()
298 : fBlock(recorder.fTailBlock), in ReverseIter()
343 if (fTailBlock->fBack <= fTailBlock->fLength / 2) { in reset()
344 MemBlock::Free(fTailBlock->fNext); in reset()
345 } else if (fTailBlock->fNext) { in reset()
346 MemBlock::Free(fTailBlock->fNext->fNext); in reset()
347 fTailBlock->fNext->fNext = nullptr; in reset()
354 fTailBlock = fHeadBlock; in reset()