Searched refs:TPoolAllocator (Results 1 – 10 of 10) sorted by relevance
147 class TPoolAllocator {149 TPoolAllocator(int growthIncrement = 8*1024, int allocationAlignment = 16);154 ~TPoolAllocator();244 TPoolAllocator& operator=(const TPoolAllocator&); // don't allow assignment operator in initializeAllocation()245 TPoolAllocator(const TPoolAllocator&); // don't allow default copy constructor in initializeAllocation()253 extern TPoolAllocator& GetThreadPoolAllocator();254 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator);281 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 …]
59 TShHandleBase() { pool = new glslang::TPoolAllocator; } in TShHandleBase()64 virtual glslang::TPoolAllocator* getPool() const { return pool; } in getPool()66 glslang::TPoolAllocator* pool;
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;
47 TPoolAllocator& GetThreadPoolAllocator() in GetThreadPoolAllocator()49 return *static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetThreadPoolAllocator()53 void SetThreadPoolAllocator(TPoolAllocator* poolAllocator) in SetThreadPoolAllocator()72 TPoolAllocator::TPoolAllocator(int growthIncrement, int allocationAlignment) : in TPoolAllocator() function in glslang::TPoolAllocator117 TPoolAllocator::~TPoolAllocator() in ~TPoolAllocator()176 void TPoolAllocator::push() in push()195 void TPoolAllocator::pop() in pop()227 void TPoolAllocator::popAll() in popAll()233 void* TPoolAllocator::allocate(size_t numBytes) in allocate()
229 TPoolAllocator* PerProcessGPA = nullptr;429 TPoolAllocator& previousAllocator = GetThreadPoolAllocator(); in SetupBuiltinSymbolTable()430 TPoolAllocator* builtInPoolAllocator = new TPoolAllocator; in SetupBuiltinSymbolTable()1275 PerProcessGPA = new TPoolAllocator(); in ShInitialize()1678 pool = new TPoolAllocator; in TShader()1841 pool = new TPoolAllocator; in TProgram()
361 class TPoolAllocator; variable571 TPoolAllocator* pool;724 TPoolAllocator* pool;
49 TPoolAllocator allocator;