/external/llvm-project/llvm/lib/DebugInfo/CodeView/ |
D | DebugLinesSubsection.cpp | 25 const LineBlockFragmentHeader *BlockHeader; in operator ()() local 27 if (auto EC = Reader.readObject(BlockHeader)) in operator ()() 31 BlockHeader->NumLines * in operator ()() 33 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()() 36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()() 42 Len = BlockHeader->BlockSize; in operator ()() 43 Item.NameIndex = BlockHeader->NameIndex; in operator ()() 44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()() 47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() 114 LineBlockFragmentHeader BlockHeader; in commit() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | DebugLinesSubsection.cpp | 25 const LineBlockFragmentHeader *BlockHeader; in operator ()() local 27 if (auto EC = Reader.readObject(BlockHeader)) in operator ()() 31 BlockHeader->NumLines * in operator ()() 33 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()() 36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()() 42 Len = BlockHeader->BlockSize; in operator ()() 43 Item.NameIndex = BlockHeader->NameIndex; in operator ()() 44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()() 47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() 114 LineBlockFragmentHeader BlockHeader; in commit() local [all …]
|
/external/skqp/src/gpu/ |
D | GrMemoryPool.h | 75 struct BlockHeader; 77 static BlockHeader* CreateBlock(size_t size); 79 static void DeleteBlock(BlockHeader* block); 83 struct BlockHeader { struct 87 BlockHeader* fNext; ///< doubly-linked list of blocks. argument 88 BlockHeader* fPrev; argument 105 BlockHeader* fHeader; ///< pointer back to the block header in which an alloc resides argument 110 BlockHeader* fHead; 111 BlockHeader* fTail; 122 kHeaderSize = GR_CT_ALIGN_UP(sizeof(BlockHeader), kAlignment),
|
D | GrMemoryPool.cpp | 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()
|
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator.cc | 100 struct PersistentMemoryAllocator::BlockHeader { struct in base::PersistentMemoryAllocator 138 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 …]
|
D | persistent_memory_allocator.h | 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()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | ModuleSubstreamVisitor.h | 35 const LineFileBlockHeader *BlockHeader; in operator() local 37 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()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.cpp | 143 struct BlockHeader { struct 156 uptr s = size + sizeof(BlockHeader); in InternalAlloc() 159 BlockHeader *p = (BlockHeader *)RawInternalAlloc(s, cache, alignment); in InternalAlloc() 169 uptr s = size + sizeof(BlockHeader); in InternalRealloc() 172 BlockHeader *p = (BlockHeader *)addr - 1; in InternalRealloc() 174 p = (BlockHeader *)RawInternalRealloc(p, s, cache); in InternalRealloc() 208 BlockHeader *p = (BlockHeader *)addr - 1; in InternalFree()
|
/external/libwebm/webm_parser/src/ |
D | block_header_parser.h | 22 struct BlockHeader { struct 27 bool operator==(const BlockHeader& other) const { argument 40 const BlockHeader& value() const { in value() 46 BlockHeader value_;
|
/external/ImageMagick/MagickCore/ |
D | memory.c | 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() [all …]
|
/external/icing/icing/index/main/ |
D | index-block.h | 55 return (block_size_in_bytes - sizeof(BlockHeader)) / sizeof(Hit) * in CalculateMaxPostingListBytes() 192 return block_size_in_bytes_ - sizeof(BlockHeader); in total_posting_lists_bytes() 195 struct BlockHeader { struct 209 BlockHeader* header_; argument
|
D | index-block.cc | 56 return (block_size - sizeof(BlockHeader)) / in ApproximateFullPostingListHitsForBlock() 65 if (block_size < sizeof(BlockHeader)) { in CreateFromPreexistingIndexBlockRegion() 84 if (block_size < sizeof(BlockHeader)) { in CreateFromUninitializedRegion() 104 : header_(reinterpret_cast<BlockHeader*>(mmapped_block.mutable_region())), in IndexBlock() 106 sizeof(BlockHeader)), in IndexBlock()
|
/external/libwebm/webm_parser/tests/ |
D | block_header_parser_test.cc | 15 using webm::BlockHeader; 32 const BlockHeader& block_header = parser_.value(); in TEST_F() 48 const BlockHeader& block_header = parser_.value(); in TEST_F()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_profile_collector.cpp | 53 struct BlockHeader { struct 197 static void serializeRecords(ProfileBuffer *Buffer, const BlockHeader &Header, in serializeRecords() 296 BlockHeader Header{16 + CumulativeSizes, I++, ThreadTrie.TId}; in serialize() 404 BlockHeader Header; in nextBuffer() 405 internal_memcpy(&Header, B.Data, sizeof(BlockHeader)); in nextBuffer()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | Profile.cpp | 45 struct BlockHeader { struct 51 static Expected<BlockHeader> readBlockHeader(DataExtractor &Extractor, in readBlockHeader() 53 BlockHeader H; in readBlockHeader()
|
/external/llvm-project/llvm/lib/XRay/ |
D | Profile.cpp | 45 struct BlockHeader { struct 51 static Expected<BlockHeader> readBlockHeader(DataExtractor &Extractor, in readBlockHeader() 53 BlockHeader H; in readBlockHeader()
|