Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Demangle/
H A DItaniumDemangle.cpp248 struct BlockMeta { struct in __anon937b61150211::BumpPointerAllocator
249 BlockMeta* Next; argument
254 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
257 BlockMeta* BlockList = nullptr;
263 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
267 NBytes += sizeof(BlockMeta); in allocateMassive()
268 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
271 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
277 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
293 BlockMeta* Tmp = BlockList; in reset()
[all …]