Lines Matching defs:Block
15 struct GrAllocPool::Block {
16 Block* fNext;
21 static Block* Create(size_t size, Block* next) {
24 Block* block = (Block*)GrMalloc(sizeof(Block) + size);
25 block->fNext = next;
26 block->fPtr = (char*)block + sizeof(Block);
27 block->fBytesFree = size;
28 block->fBytesTotal = size;
29 return block;
70 Block* block = fBlock;
71 while (block) {
72 Block* next = block->fNext;
73 GrFree(block);
74 block = next;
85 fBlock = Block::Create(blockSize, fBlock);
97 Block* next = fBlock->fNext;
109 Block* block = fBlock;
111 while (block) {
113 block = block->fNext;