Lines Matching refs:fBegin
14 char* fBegin; // start of used section in this chunk member
23 fBegin = fEnd = nullptr; in init()
80 if (nullptr == first->fBegin) { in push_front()
85 begin = first->fBegin - fElemSize; in push_front()
96 first->fBegin = begin; in push_front()
120 if (nullptr == last->fBegin) { in push_back()
122 last->fBegin = last->start(); in push_back()
123 end = last->fBegin + fElemSize; in push_back()
158 if (first->fBegin == nullptr) { // we were marked empty from before in pop_front()
166 char* begin = first->fBegin + fElemSize; in pop_front()
170 first->fBegin = begin; in pop_front()
171 SkASSERT(first->fBegin); in pop_front()
172 fFront = first->fBegin; in pop_front()
174 first->fBegin = first->fEnd = nullptr; // mark as empty in pop_front()
178 SkASSERT(first->fNext->fBegin); in pop_front()
179 fFront = first->fNext->fBegin; in pop_front()
201 SkASSERT(end >= last->fBegin); in pop_back()
203 if (end > last->fBegin) { in pop_back()
208 last->fBegin = last->fEnd = nullptr; // mark as empty in pop_back()
257 } while (fCurBlock != nullptr && fCurBlock->fBegin == nullptr); in next()
258 next = fCurBlock ? fCurBlock->fBegin : nullptr; in next()
272 SkASSERT(prev >= fCurBlock->fBegin - fElemSize); in prev()
273 if (prev < fCurBlock->fBegin) { // exhausted this chunk, move to prior in prev()
295 while (fCurBlock && nullptr == fCurBlock->fBegin) { in reset()
298 fPos = fCurBlock ? fCurBlock->fBegin : nullptr; in reset()