Lines Matching refs:first
112 Head* first = fFront;
115 if (NULL == first->fBegin) {
117 first->fEnd = first->fStop;
118 begin = first->fStop - fElemSize;
120 begin = first->fBegin - fElemSize;
121 if (begin < first->start()) { // no more room in this chunk
125 first = (Head*)sk_malloc_throw(size);
126 first->init(size);
127 first->fNext = fFront;
128 fFront->fPrev = first;
129 fFront = first;
134 first->fBegin = begin;
178 Head* first = fFront;
180 SkASSERT(first != NULL);
182 if (first->fBegin == NULL) { // we were marked empty from before
183 first = first->fNext;
184 first->fPrev = NULL;
186 fFront = first;
187 SkASSERT(first != NULL); // else we popped too far
190 char* begin = first->fBegin + fElemSize;
191 SkASSERT(begin <= first->fEnd);
194 first->fBegin = begin;
196 first->fBegin = first->fEnd = NULL; // mark as empty