Lines Matching refs:fBegin
25 char* fBegin; // start of used section in this chunk member
34 fBegin = fEnd = NULL; in init()
76 if (NULL == front->fBegin) { in front()
82 SkASSERT(front->fBegin); in front()
83 return front->fBegin; in front()
115 if (NULL == first->fBegin) { in push_front()
120 begin = first->fBegin - fElemSize; in push_front()
134 first->fBegin = begin; in push_front()
151 if (NULL == last->fBegin) { in push_back()
153 last->fBegin = last->start(); in push_back()
154 end = last->fBegin + fElemSize; in push_back()
182 if (first->fBegin == NULL) { // we were marked empty from before in pop_front()
190 char* begin = first->fBegin + fElemSize; in pop_front()
194 first->fBegin = begin; in pop_front()
196 first->fBegin = first->fEnd = NULL; // mark as empty in pop_front()
217 SkASSERT(end >= last->fBegin); in pop_back()
219 if (end > last->fBegin) { in pop_back()
222 last->fBegin = last->fEnd = NULL; // mark as empty in pop_back()
230 while (fHead != NULL && fHead->fBegin == NULL) { in Iter()
233 fPos = fHead ? fHead->fBegin : NULL; in Iter()
245 } while (fHead != NULL && fHead->fBegin == NULL); in next()
246 next = fHead ? fHead->fBegin : NULL; in next()