Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dcxa_demangle.cpp290 struct BlockMeta { struct in __anon67b5abab0211::BumpPointerAllocator
291 BlockMeta* Next; argument
296 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
299 BlockMeta* BlockList = nullptr;
305 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
309 NBytes += sizeof(BlockMeta); in allocateMassive()
310 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
313 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
319 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
335 BlockMeta* Tmp = BlockList; in reset()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Demangle/
H A DItaniumDemangle.cpp289 struct BlockMeta { struct in __anon6ca228070211::BumpPointerAllocator
290 BlockMeta* Next; argument
295 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
298 BlockMeta* BlockList = nullptr;
304 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
308 NBytes += sizeof(BlockMeta); in allocateMassive()
309 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
312 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
318 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
334 BlockMeta* Tmp = BlockList; in reset()
[all …]