Lines Matching defs:last
148 Head* last = fBack;
151 if (NULL == last->fBegin) {
153 last->fBegin = last->start();
154 end = last->fBegin + fElemSize;
156 end = last->fEnd + fElemSize;
157 if (end > last->fStop) { // no more room in this chunk
161 last = (Head*)sk_malloc_throw(size);
162 last->init(size);
163 last->fPrev = fBack;
164 fBack->fNext = last;
165 fBack = last;
170 last->fEnd = end;
204 Head* last = fBack;
206 SkASSERT(last != NULL);
208 if (last->fEnd == NULL) { // we were marked empty from before
209 last = last->fPrev;
210 last->fNext = NULL;
212 fBack = last;
213 SkASSERT(last != NULL); // else we popped too far
216 char* end = last->fEnd - fElemSize;
217 SkASSERT(end >= last->fBegin);
219 if (end > last->fBegin) {
220 last->fEnd = end;
222 last->fBegin = last->fEnd = NULL; // mark as empty