Lines Matching refs:block
14 struct GrAllocPool::Block {
15 Block* fNext;
20 static Block* Create(size_t size, Block* next) {
23 Block* block = (Block*)sk_malloc_throw(sizeof(Block) + size);
24 block->fNext = next;
25 block->fPtr = (char*)block + sizeof(Block);
26 block->fBytesFree = size;
27 block->fBytesTotal = size;
28 return block;
69 Block* block = fBlock;
70 while (block) {
71 Block* next = block->fNext;
72 sk_free(block);
73 block = next;
84 fBlock = Block::Create(blockSize, fBlock);
96 Block* next = fBlock->fNext;
107 Block* block = fBlock;
109 while (block) {
111 block = block->fNext;