Lines Matching refs:fAllocator
160 : fAllocator(allocator) in Iter()
171 if (fIndexInBlock == fAllocator->fItemsPerBlock) { in next()
175 return fItemIndex < fAllocator->fCount; in next()
183 SkASSERT(fItemIndex >= 0 && fItemIndex < fAllocator->fCount); in get()
184 return (char*) fAllocator->fBlocks[fBlockIndex] + fIndexInBlock * fAllocator->fItemSize; in get()
188 const GrAllocator* fAllocator;
260 : fAllocator(sizeof(T), itemsPerBlock, nullptr) {} in GrTAllocator()
268 void* item = fAllocator.push_back(); in push_back()
275 void* item = fAllocator.push_back(); in push_back()
282 void* item = fAllocator.push_back(); in emplace_back()
293 fAllocator.pop_back(); in pop_back()
300 int c = fAllocator.count(); in reset()
302 ((T*)fAllocator[i])->~T(); in reset()
304 fAllocator.reset(); in reset()
311 return fAllocator.count(); in count()
317 bool empty() const { return fAllocator.empty(); } in empty()
323 return *(T*)fAllocator.front(); in front()
330 return *(T*)fAllocator.front(); in front()
337 return *(T*)fAllocator.back(); in back()
344 return *(const T*)fAllocator.back(); in back()
356 Iter(const GrTAllocator* allocator) : fImpl(&allocator->fAllocator) {} in Iter()
383 return *(T*)(fAllocator[i]);
390 return *(const T*)(fAllocator[i]);
402 fAllocator.setInitialBlock(initialBlock); in setInitialBlock()
408 GrAllocator fAllocator; variable
426 return allocator->fAllocator.push_back(); in new()