Lines Matching refs:initialBlock
35 * @param initialBlock optional memory to use for the first block.
39 GrAllocator(size_t itemSize, int itemsPerBlock, void* initialBlock) :
43 fOwnFirstBlock(NULL == initialBlock),
47 fBlocks.push_back() = initialBlock;
48 GR_DEBUGCODE(if (!fOwnFirstBlock) {*((char*)initialBlock+fBlockSize-1)='a';} );
159 * @param initialBlock optional memory to use for the first block.
163 GrTAllocator(int itemsPerBlock, void* initialBlock)
164 : fAllocator(sizeof(T), itemsPerBlock, initialBlock) {}
169 * @param initialBlock specifies the storage for the initial block
173 GrTAllocator(GrAlignedSTStorage<N,T>* initialBlock)
174 : fAllocator(sizeof(T), N, initialBlock->get()) {}