Lines Matching refs:fAllocator
140 : fAllocator(allocator) in Iter()
151 if (fIndexInBlock == fAllocator->fItemsPerBlock) { in next()
155 return fItemIndex < fAllocator->fCount; in next()
163 SkASSERT(fItemIndex >= 0 && fItemIndex < fAllocator->fCount); in get()
164 return (char*) fAllocator->fBlocks[fBlockIndex] + fIndexInBlock * fAllocator->fItemSize; in get()
168 const GrAllocator* fAllocator;
240 : fAllocator(sizeof(T), itemsPerBlock, nullptr) {} in GrTAllocator()
248 void* item = fAllocator.push_back(); in push_back()
255 void* item = fAllocator.push_back(); in push_back()
262 void* item = fAllocator.push_back(); in emplace_back()
273 fAllocator.pop_back(); in pop_back()
280 int c = fAllocator.count(); in reset()
282 ((T*)fAllocator[i])->~T(); in reset()
284 fAllocator.reset(); in reset()
291 return fAllocator.count(); in count()
297 bool empty() const { return fAllocator.empty(); } in empty()
303 return *(T*)fAllocator.back(); in back()
310 return *(const T*)fAllocator.back(); in back()
322 Iter(const GrTAllocator* allocator) : fImpl(&allocator->fAllocator) {} in Iter()
349 return *(T*)(fAllocator[i]);
356 return *(const T*)(fAllocator[i]);
368 fAllocator.setInitialBlock(initialBlock); in setInitialBlock()
374 GrAllocator fAllocator; variable
392 return allocator->fAllocator.push_back(); in new()