Lines Matching refs:fTail
307 const Block* currentBlock() const { return fTail; } in currentBlock()
308 Block* currentBlock() { return fTail; } in currentBlock()
442 Block* fTail; // All non-head blocks are heap allocated; tail will never be null. variable
549 SkDEBUGCODE(auto oldTail = fTail;) in reserve()
551 SkASSERT(fTail != oldTail); in reserve()
554 this->releaseBlock(fTail); in reserve()
575 int offset = fTail->cursor<Align, Padding>(); in allocate()
577 if (end > fTail->fSize) { in allocate()
579 offset = fTail->cursor<Align, Padding>(); in allocate()
584 SkASSERT(end <= fTail->fSize); in allocate()
586 SkASSERT(offset - fTail->fCursor >= (int) Padding && in allocate()
587 offset - fTail->fCursor <= (int) (Padding + Align - 1)); in allocate()
588 SkASSERT(reinterpret_cast<uintptr_t>(fTail->ptr(offset)) % Align == 0); in allocate()
590 int start = fTail->fCursor; in allocate()
591 fTail->fCursor = end; in allocate()
593 fTail->unpoisonRange(offset - Padding, end); in allocate()
595 return {fTail, start, offset, end}; in allocate()
727 Item begin() const { return Item(Forward ? &fAllocator->fHead : fAllocator->fTail); } in begin()