Lines Matching refs:BlockHeader
75 #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(NextBlock(block))=PreviousBlockBit;
1024 assert((*BlockHeader(NextBlock(memory)) & PreviousBlockBit) != 0);
1025 if ((*BlockHeader(memory) & PreviousBlockBit) == 0)
1035 *BlockHeader(previous)=(SizeOfBlock(previous)+SizeOfBlock(memory)) |
1036 (*BlockHeader(previous) & ~SizeMask);
1039 if ((*BlockHeader(NextBlock(NextBlock(memory))) & PreviousBlockBit) == 0)
1049 *BlockHeader(memory)=(SizeOfBlock(memory)+SizeOfBlock(next)) |
1050 (*BlockHeader(memory) & ~SizeMask);
1053 *BlockHeader(NextBlock(memory))&=(~PreviousBlockBit);