Lines Matching refs:fBlocks
43 fBlocks.push_back() = initialBlock; in GrAllocator()
56 fBlocks.push_back() = sk_malloc_throw(fBlockSize); in push_back()
59 void* ret = (char*)fBlocks.back() + fItemSize * fInsertionIndexInBlock; in push_back()
75 if (fBlocks.count() > 1) { in pop_back()
76 sk_free(fBlocks.back()); in pop_back()
77 fBlocks.pop_back(); in pop_back()
88 for (int i = firstBlockToFree; i < fBlocks.count(); ++i) { in reset()
89 sk_free(fBlocks[i]); in reset()
92 fBlocks.reset(); in reset()
96 fBlocks.pop_back_n(fBlocks.count() - 1); in reset()
120 return (char*)(fBlocks.front()); in front()
129 return (const char*)(fBlocks.front()); in front()
138 return (char*)(fBlocks.back()) + (fInsertionIndexInBlock - 1) * fItemSize; in back()
147 return (const char*)(fBlocks.back()) + (fInsertionIndexInBlock - 1) * fItemSize; in back()
184 return (char*) fAllocator->fBlocks[fBlockIndex] + fIndexInBlock * fAllocator->fItemSize; in get()
199 return (char*)fBlocks[i / fItemsPerBlock] +
208 return (const char*)fBlocks[i / fItemsPerBlock] +
223 SkASSERT(0 == fBlocks.count()); in setInitialBlock()
226 fBlocks.push_back() = initialBlock; in setInitialBlock()
236 SkSTArray<NUM_INIT_BLOCK_PTRS, void*, true> fBlocks; variable