Lines Matching refs:BlockHeader
75 #define BlockHeader(block) ((size_t *) (block)-1) macro
89 #define SizeOfBlock(block) (*BlockHeader(block) & SizeMask)
421 assert((*BlockHeader(NextBlock(block)) & PreviousBlockBit) == 0); in AcquireBlock()
437 *BlockHeader(next)=blocksize; in AcquireBlock()
440 *BlockHeader(block)=size | (*BlockHeader(block) & ~SizeMask); in AcquireBlock()
443 *BlockHeader(NextBlock(block))|=PreviousBlockBit; in AcquireBlock()
848 *BlockHeader(block)=size | PreviousBlockBit; in ExpandHeap()
853 *BlockHeader(block)=2*sizeof(size_t); in ExpandHeap()
854 *BlockHeader(NextBlock(block))=PreviousBlockBit; in ExpandHeap()
1078 assert((*BlockHeader(NextBlock(memory)) & PreviousBlockBit) != 0); in RelinquishMagickMemory()
1079 if ((*BlockHeader(memory) & PreviousBlockBit) == 0) in RelinquishMagickMemory()
1089 *BlockHeader(previous)=(SizeOfBlock(previous)+SizeOfBlock(memory)) | in RelinquishMagickMemory()
1090 (*BlockHeader(previous) & ~SizeMask); in RelinquishMagickMemory()
1093 if ((*BlockHeader(NextBlock(NextBlock(memory))) & PreviousBlockBit) == 0) in RelinquishMagickMemory()
1103 *BlockHeader(memory)=(SizeOfBlock(memory)+SizeOfBlock(next)) | in RelinquishMagickMemory()
1104 (*BlockHeader(memory) & ~SizeMask); in RelinquishMagickMemory()
1107 *BlockHeader(NextBlock(memory))&=(~PreviousBlockBit); in RelinquishMagickMemory()