Searched refs:BlockHeader (Results 1 – 10 of 10) sorted by relevance
26 const LineBlockFragmentHeader *BlockHeader; in operator ()() local28 if (auto EC = Reader.readObject(BlockHeader)) in operator ()()32 BlockHeader->NumLines * in operator ()()34 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()()37 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()()43 Len = BlockHeader->BlockSize; in operator ()()44 Item.NameIndex = BlockHeader->NameIndex; in operator ()()45 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()()48 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()()115 LineBlockFragmentHeader BlockHeader; in commit() local[all …]
75 struct BlockHeader;77 static BlockHeader* CreateBlock(size_t size);79 static void DeleteBlock(BlockHeader* block);83 struct BlockHeader { struct87 BlockHeader* fNext; ///< doubly-linked list of blocks. argument88 BlockHeader* fPrev; argument105 BlockHeader* fHeader; ///< pointer back to the block header in which an alloc resides argument110 BlockHeader* fHead;111 BlockHeader* fTail;122 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
75 BlockHeader* block = CreateBlock(blockSize); in allocate()116 BlockHeader* block = allocData->fHeader; in release()125 BlockHeader* prev = block->fPrev; in release()126 BlockHeader* next = block->fNext; in release()151 GrMemoryPool::BlockHeader* GrMemoryPool::CreateBlock(size_t blockSize) { in CreateBlock()153 BlockHeader* block = in CreateBlock()154 reinterpret_cast<BlockHeader*>(sk_malloc_throw(blockSize)); in CreateBlock()166 void GrMemoryPool::DeleteBlock(BlockHeader* block) { in DeleteBlock()174 BlockHeader* block = fHead; in validate()175 BlockHeader* prev = nullptr; in validate()
100 struct PersistentMemoryAllocator::BlockHeader { struct in base::PersistentMemoryAllocator138 volatile BlockHeader queue; // Empty block for linked-list head/tail.179 const volatile BlockHeader* block = in Reset()214 const volatile BlockHeader* block = in GetNext()261 freeptr / (sizeof(BlockHeader) + kAllocAlignment); in GetNext()336 static_assert(sizeof(PersistentMemoryAllocator::BlockHeader) == 16, in PersistentMemoryAllocator()341 static_assert(sizeof(BlockHeader) % kAllocAlignment == 0, in PersistentMemoryAllocator()355 CHECK(((BlockHeader*)nullptr)->next.is_lock_free()); in PersistentMemoryAllocator()366 volatile BlockHeader* const first_block = in PersistentMemoryAllocator()367 reinterpret_cast<volatile BlockHeader*>(mem_base_ + in PersistentMemoryAllocator()[all …]
633 struct BlockHeader;652 const volatile BlockHeader* GetBlock(Reference ref, uint32_t type_id,655 volatile BlockHeader* GetBlock(Reference ref, uint32_t type_id, uint32_t size, in GetBlock()657 return const_cast<volatile BlockHeader*>( in GetBlock()
35 const LineFileBlockHeader *BlockHeader; in operator() local37 if (auto EC = Reader.readObject(BlockHeader)) in operator()41 BlockHeader->NumLines * in operator()43 if (BlockHeader->BlockSize < sizeof(LineFileBlockHeader)) in operator()46 uint32_t Size = BlockHeader->BlockSize - sizeof(LineFileBlockHeader); in operator()52 Len = BlockHeader->BlockSize; in operator()53 Item.NameIndex = BlockHeader->NameIndex; in operator()54 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator()57 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator()
75 #define BlockHeader(block) ((size_t *) (block)-1) macro89 #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()[all …]
META-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...