Lines Matching refs:fInsertionIndexInBlock
36 , fInsertionIndexInBlock(0) { in GrAllocator()
41 fInsertionIndexInBlock = fItemsPerBlock; in GrAllocator()
44 fInsertionIndexInBlock = 0; in GrAllocator()
55 if (fItemsPerBlock == fInsertionIndexInBlock) { in push_back()
57 fInsertionIndexInBlock = 0; in push_back()
59 void* ret = (char*)fBlocks.back() + fItemSize * fInsertionIndexInBlock; in push_back()
61 ++fInsertionIndexInBlock; in push_back()
70 SkASSERT(fInsertionIndexInBlock > 0); in pop_back()
71 --fInsertionIndexInBlock; in pop_back()
73 if (0 == fInsertionIndexInBlock) { in pop_back()
78 fInsertionIndexInBlock = fItemsPerBlock; in pop_back()
94 fInsertionIndexInBlock = fItemsPerBlock; in reset()
97 fInsertionIndexInBlock = 0; in reset()
119 SkASSERT(fInsertionIndexInBlock > 0); in front()
128 SkASSERT(fInsertionIndexInBlock > 0); in front()
137 SkASSERT(fInsertionIndexInBlock > 0); in back()
138 return (char*)(fBlocks.back()) + (fInsertionIndexInBlock - 1) * fItemSize; in back()
146 SkASSERT(fInsertionIndexInBlock > 0); in back()
147 return (const char*)(fBlocks.back()) + (fInsertionIndexInBlock - 1) * fItemSize; in back()
224 SkASSERT(fItemsPerBlock == fInsertionIndexInBlock); in setInitialBlock()
227 fInsertionIndexInBlock = 0; in setInitialBlock()
242 int fInsertionIndexInBlock; variable