Home | History | Annotate | Download | only in core

Lines Matching defs:first

78     Block*  first = fFrontBlock;
81 if (nullptr == first->fBegin) {
83 first->fEnd = first->fStop;
84 begin = first->fStop - fElemSize;
86 begin = first->fBegin - fElemSize;
87 if (begin < first->start()) { // no more room in this chunk
89 first = this->allocateBlock(fAllocCount);
90 first->fNext = fFrontBlock;
91 fFrontBlock->fPrev = first;
92 fFrontBlock = first;
97 first->fBegin = begin;
155 Block* first = fFrontBlock;
157 SkASSERT(first != nullptr);
159 if (first->fBegin == nullptr) { // we were marked empty from before
160 first = first->fNext;
161 first->fPrev = nullptr;
163 fFrontBlock = first;
164 SkASSERT(first != nullptr); // else we popped too far
167 char* begin = first->fBegin + fElemSize;
168 SkASSERT(begin <= first->fEnd);
171 first->fBegin = begin;
172 SkASSERT(first->fBegin);
173 fFront = first->fBegin;
175 first->fBegin = first->fEnd = nullptr; // mark as empty
176 if (nullptr == first->fNext) {
179 SkASSERT(first->fNext->fBegin);
180 fFront = first->fNext->fBegin;
287 // member is then set to the first (or last) element in the block. If