Home
last modified time | relevance | path

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

/external/libcxxabi/src/
Dcxa_demangle.cpp250 struct BlockMeta { struct in __anonf03dc3ff0211::BumpPointerAllocator
251 BlockMeta* Next; argument
256 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
259 BlockMeta* BlockList = nullptr;
265 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
269 NBytes += sizeof(BlockMeta); in allocateMassive()
270 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
273 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
279 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
295 BlockMeta* Tmp = BlockList; in reset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DItaniumDemangle.cpp1770 struct BlockMeta { struct in __anon17245d330111::BumpPointerAllocator
1771 BlockMeta* Next; argument
1776 static constexpr size_t UsableAllocSize = AllocSize - sizeof(BlockMeta);
1779 BlockMeta* BlockList = nullptr;
1785 BlockList = new (NewMeta) BlockMeta{BlockList, 0}; in grow()
1789 NBytes += sizeof(BlockMeta); in allocateMassive()
1790 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
1793 BlockList->Next = new (NewMeta) BlockMeta{BlockList->Next, 0}; in allocateMassive()
1799 : BlockList(new (InitialBuffer) BlockMeta{nullptr, 0}) {} in BumpPointerAllocator()
1815 BlockMeta* Tmp = BlockList; in reset()
[all …]