Searched refs:TPoolAllocator (Results 1 – 9 of 9) sorted by relevance
41 thread_local TPoolAllocator* threadPoolAllocator = nullptr;43 TPoolAllocator* GetDefaultThreadPoolAllocator() in GetDefaultThreadPoolAllocator()45 thread_local TPoolAllocator defaultAllocator; in GetDefaultThreadPoolAllocator()51 TPoolAllocator& GetThreadPoolAllocator() in GetThreadPoolAllocator()57 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator) in SetThreadPoolAllocator()66 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in glslang::TPoolAllocator111 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()160 void TPoolAllocator::push() in push()179 void TPoolAllocator::pop() in pop()211 void TPoolAllocator::popAll() in popAll()[all …]
239 TPoolAllocator* PerProcessGPA = nullptr;434 TPoolAllocator& previousAllocator = GetThreadPoolAllocator(); in SetupBuiltinSymbolTable()435 TPoolAllocator* builtInPoolAllocator = new TPoolAllocator; in SetupBuiltinSymbolTable()1317 PerProcessGPA = new TPoolAllocator(); in ShInitialize()1718 pool = new TPoolAllocator; in TShader()1909 pool = new TPoolAllocator; in TProgram()
124 class TPoolAllocator {126 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);131 ~TPoolAllocator();226 TPoolAllocator& operator=(const TPoolAllocator&); // dont allow assignment operator227 TPoolAllocator(const TPoolAllocator&); // dont allow default copy constructor236 extern TPoolAllocator* GetGlobalPoolAllocator();237 extern void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator);265 pool_allocator(TPoolAllocator& a) : allocator(&a) { } in pool_allocator()307 void setAllocator(TPoolAllocator *a) { allocator = a; } in setAllocator()308 TPoolAllocator& getAllocator() const { return *allocator; } in getAllocator()[all …]
44 TPoolAllocator* GetGlobalPoolAllocator() in GetGlobalPoolAllocator()47 return static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetGlobalPoolAllocator()50 void SetGlobalPoolAllocator(TPoolAllocator* poolAllocator) in SetGlobalPoolAllocator()60 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in TPoolAllocator110 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()175 void TPoolAllocator::push() in push()198 void TPoolAllocator::pop() in pop()234 void TPoolAllocator::popAll() in popAll()240 void* TPoolAllocator::allocate(size_t numBytes) in allocate()
28 TScopedPoolAllocator(TPoolAllocator* allocator, bool pushPop) in TScopedPoolAllocator()41 TPoolAllocator* mAllocator;
124 TPoolAllocator allocator;
152 class TPoolAllocator {154 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);159 ~TPoolAllocator();249 TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator in initializeAllocation()250 TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor in initializeAllocation()258 extern TPoolAllocator& GetThreadPoolAllocator();259 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator);286 pool_allocator(TPoolAllocator& a) : allocator(a) { } in pool_allocator()312 TPoolAllocator& getAllocator() const { return allocator; } in getAllocator()318 TPoolAllocator& allocator;
59 TShHandleBase() { pool = new glslang::TPoolAllocator; } in TShHandleBase()64 virtual glslang::TPoolAllocator* getPool() const { return pool; } in getPool()66 glslang::TPoolAllocator* pool;
414 class TPoolAllocator; variable695 TPoolAllocator* pool;964 TPoolAllocator* pool;