Lines Matching refs:fTailBlock
59 fTailBlock(fHeadBlock), in GrTRecorder()
155 MemBlock* fTailBlock; variable
176 fTailBlock->fBack -= header->fTotalLength; in pop_back()
183 SkASSERT(0 == fTailBlock->fBack); in pop_back()
187 while (!fTailBlock->fBack) { in pop_back()
190 fTailBlock = fTailBlock->fPrev; in pop_back()
191 SkASSERT(fTailBlock); in pop_back()
193 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
213 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) { in alloc_back()
214 if (!fTailBlock->fNext) { in alloc_back()
215 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock); in alloc_back()
217 fTailBlock = fTailBlock->fNext; in alloc_back()
219 SkASSERT(0 == fTailBlock->fBack); in alloc_back()
222 Header* header = reinterpret_cast<Header*>(&(*fTailBlock)[fTailBlock->fBack]); in alloc_back()
223 void* rawPtr = &(*fTailBlock)[fTailBlock->fBack + length_of<Header>::kValue]; in alloc_back()
228 fTailBlock->fBack += totalLength; in alloc_back()
299 : fBlock(recorder.fTailBlock), in ReverseIter()
344 if (fTailBlock->fBack <= fTailBlock->fLength / 2) { in reset()
345 MemBlock::Free(fTailBlock->fNext); in reset()
346 } else if (fTailBlock->fNext) { in reset()
347 MemBlock::Free(fTailBlock->fNext->fNext); in reset()
348 fTailBlock->fNext->fNext = nullptr; in reset()
355 fTailBlock = fHeadBlock; in reset()