Searched refs:TPoolAllocator (Results 1 – 4 of 4) sorted by relevance
124 class TPoolAllocator {126 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);131 ~TPoolAllocator();220 TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator221 TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor230 extern TPoolAllocator* GetGlobalPoolAllocator();231 extern void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator);259 pool_allocator(TPoolAllocator& a) : allocator(&a) { } in pool_allocator()301 void setAllocator(TPoolAllocator *a) { allocator = a; } in setAllocator()302 TPoolAllocator& getAllocator() const { return *allocator; } in getAllocator()[all …]
43 TPoolAllocator* GetGlobalPoolAllocator() in GetGlobalPoolAllocator()46 return static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetGlobalPoolAllocator()49 void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator) in SetGlobalPoolAllocator()59 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in TPoolAllocator103 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()159 void TPoolAllocator::push() in push()178 void TPoolAllocator::pop() in pop()207 void TPoolAllocator::popAll() in popAll()213 void* TPoolAllocator::allocate(size_t numBytes) in allocate()
28 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) in TScopedPoolAllocator()41 TPoolAllocator* mAllocator;
122 TPoolAllocator allocator;