Searched defs:BlockHeader (Results 1 - 2 of 2) sorted by relevance

/external/skia/src/gpu/
H A DGrMemoryPool.h52 struct BlockHeader;
54 static BlockHeader* CreateBlock(size_t size);
56 static void DeleteBlock(BlockHeader* block);
60 struct BlockHeader { struct in class:GrMemoryPool
64 BlockHeader* fNext; ///< doubly-linked list of blocks.
65 BlockHeader* fPrev;
81 BlockHeader* fHeader; ///< pointer back to the block header in which an alloc resides
87 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
93 BlockHeader* fHead;
94 BlockHeader* fTai
[all...]
/external/ImageMagick/MagickCore/
H A Dmemory.c75 #define BlockHeader(block) ((size_t *) (block)-1)
89 #define SizeOfBlock(block) (*BlockHeader(block) & SizeMask)
410 assert((*BlockHeader(NextBlock(block)) & PreviousBlockBit) == 0);
426 *BlockHeader(next)=blocksize;
429 *BlockHeader(block)=size | (*BlockHeader(block) & ~SizeMask);
432 *BlockHeader(NextBlock(block))|=PreviousBlockBit;
829 *BlockHeader(block)=size | PreviousBlockBit;
834 *BlockHeader(block)=2*sizeof(size_t);
835 *BlockHeader(NextBloc
73 #define BlockHeader macro
[all...]

Completed in 189 milliseconds