Lines Matching refs:BlockHeader
103 #define BlockHeader(block) ((size_t *) (block)-1) macro
115 #define SizeOfBlock(block) (*BlockHeader(block) & SizeMask)
501 assert((*BlockHeader(NextBlock(block)) & PreviousBlockBit) == 0); in AcquireBlock()
517 *BlockHeader(next)=blocksize; in AcquireBlock()
520 *BlockHeader(block)=size | (*BlockHeader(block) & ~SizeMask); in AcquireBlock()
523 *BlockHeader(NextBlock(block))|=PreviousBlockBit; in AcquireBlock()
973 *BlockHeader(block)=size | PreviousBlockBit; in ExpandHeap()
978 *BlockHeader(block)=2*sizeof(size_t); in ExpandHeap()
979 *BlockHeader(NextBlock(block))=PreviousBlockBit; in ExpandHeap()
1171 assert((*BlockHeader(NextBlock(memory)) & PreviousBlockBit) != 0); in RelinquishMagickMemory()
1172 if ((*BlockHeader(memory) & PreviousBlockBit) == 0) in RelinquishMagickMemory()
1182 *BlockHeader(previous)=(SizeOfBlock(previous)+SizeOfBlock(memory)) | in RelinquishMagickMemory()
1183 (*BlockHeader(previous) & ~SizeMask); in RelinquishMagickMemory()
1186 if ((*BlockHeader(NextBlock(NextBlock(memory))) & PreviousBlockBit) == 0) in RelinquishMagickMemory()
1196 *BlockHeader(memory)=(SizeOfBlock(memory)+SizeOfBlock(next)) | in RelinquishMagickMemory()
1197 (*BlockHeader(memory) & ~SizeMask); in RelinquishMagickMemory()
1200 *BlockHeader(NextBlock(memory))&=(~PreviousBlockBit); in RelinquishMagickMemory()