Lines Matching defs:first
77 Block* first = fFrontBlock;
80 if (nullptr == first->fBegin) {
82 first->fEnd = first->fStop;
83 begin = first->fStop - fElemSize;
85 begin = first->fBegin - fElemSize;
86 if (begin < first->start()) { // no more room in this chunk
88 first = this->allocateBlock(fAllocCount);
89 first->fNext = fFrontBlock;
90 fFrontBlock->fPrev = first;
91 fFrontBlock = first;
96 first->fBegin = begin;
154 Block* first = fFrontBlock;
156 SkASSERT(first != nullptr);
158 if (first->fBegin == nullptr) { // we were marked empty from before
159 first = first->fNext;
160 SkASSERT(first != nullptr); // else we popped too far
161 first->fPrev = nullptr;
163 fFrontBlock = first;
166 char* begin = first->fBegin + fElemSize;
167 SkASSERT(begin <= first->fEnd);
170 first->fBegin = begin;
171 SkASSERT(first->fBegin);
172 fFront = first->fBegin;
174 first->fBegin = first->fEnd = nullptr; // mark as empty
175 if (nullptr == first->fNext) {
178 SkASSERT(first->fNext->fBegin);
179 fFront = first->fNext->fBegin;
286 // member is then set to the first (or last) element in the block. If