Home | History | Annotate | Download | only in Support

Lines Matching defs:BumpPtrAllocator

10 // This file implements the BumpPtrAllocator interface.
23 BumpPtrAllocator::BumpPtrAllocator(size_t size, size_t threshold,
28 BumpPtrAllocator::~BumpPtrAllocator() {
35 char *BumpPtrAllocator::AlignPtr(char *Ptr, size_t Alignment) {
46 void BumpPtrAllocator::StartNewSlab() {
62 void BumpPtrAllocator::DeallocateSlabs(MemSlab *Slab) {
78 void BumpPtrAllocator::Reset() {
89 void *BumpPtrAllocator::Allocate(size_t Size, size_t Alignment) {
131 unsigned BumpPtrAllocator::GetNumSlabs() const {
139 size_t BumpPtrAllocator::getTotalMemory() const {
147 void BumpPtrAllocator::PrintStats() const {
162 MallocSlabAllocator BumpPtrAllocator::DefaultSlabAllocator =