Home | History | Annotate | Download | only in src

Lines Matching refs:Block

22 struct GrAllocPool::Block {
23 Block* fNext;
28 static Block* Create(size_t size, Block* next) {
31 Block* block = (Block*)GrMalloc(sizeof(Block) + size);
32 block->fNext = next;
33 block->fPtr = (char*)block + sizeof(Block);
34 block->fBytesFree = size;
35 block->fBytesTotal = size;
36 return block;
77 Block* block = fBlock;
78 while (block) {
79 Block* next = block->fNext;
80 GrFree(block);
81 block = next;
92 fBlock = Block::Create(blockSize, fBlock);
104 Block* next = fBlock->fNext;
116 Block* block = fBlock;
118 while (block) {
120 block = block->fNext;