Lines Matching refs:Alloc
74 virtual void* Alloc(size_t size, u8 alignment) = 0;
90 void* Alloc(size_t size) { return this->Alloc( size, DEFAULT_ALIGNMENT ); } in Alloc() function
95 u8* memory = static_cast<u8*>(this->Alloc(size, alignment));
108 TObject* Alloc(int count, u8 alignment = DEFAULT_ALIGNMENT)
111 return static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
121 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * count, alignment));
138 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
158 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
222 u8* memory = static_cast<u8*>(allocator->Alloc(memorySize)); in AllocateAndFill()
247 u8* memory = static_cast<u8*>(allocator->Alloc(size)); in AllocateAndFillN()
271 TObject* objects = static_cast<TObject*>(allocator->Alloc(sizeof(TObject) * count)); in AllocateAndAssignN()
300 TChar* copyStr = reinterpret_cast<char*>(allocator->Alloc(bufferSize)); in AllocateAndCopyString()