Home
last modified time | relevance | path

Searched refs:BlockMeta (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DItaniumDemangle.cpp247 struct BlockMeta { struct in __anon1a08953b0211::BumpPointerAllocator
248 BlockMeta* Next; argument
253 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
256 BlockMeta* BlockList = nullptr;
262 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
266 NBytes += sizeof(BlockMeta); in allocateMassive()
267 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
270 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
276 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
292 BlockMeta* Tmp = BlockList; in reset()
[all …]