Lines Matching refs:BlockHeader
46 BlockHeader* block = CreateBlock(blockSize);
58 *reinterpret_cast<BlockHeader**>(ptr) = fTail;
72 BlockHeader* block = *reinterpret_cast<BlockHeader**>(ptr);
81 BlockHeader* prev = block->fPrev;
82 BlockHeader* next = block->fNext;
105 GrMemoryPool::BlockHeader* GrMemoryPool::CreateBlock(size_t size) {
106 BlockHeader* block =
107 reinterpret_cast<BlockHeader*>(sk_malloc_throw(size + kHeaderSize));
117 void GrMemoryPool::DeleteBlock(BlockHeader* block) {
123 BlockHeader* block = fHead;
124 BlockHeader* prev = NULL;
154 SkASSERT(block == *reinterpret_cast<BlockHeader**>(userStart));