Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.h124 class TPoolAllocator {
126 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);
131 ~TPoolAllocator();
220 TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator
221 TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor
230 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 …]
DPoolAlloc.cpp43 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 TPoolAllocator
103 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()
DCompiler.cpp28 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) in TScopedPoolAllocator()
41 TPoolAllocator* mAllocator;
DCompiler.h122 TPoolAllocator allocator;