Lines Matching refs:Alloc
51 virtual void* Alloc(size_t size, u8 alignment) = 0;
67 void* Alloc(size_t size) { return this->Alloc( size, DEFAULT_ALIGNMENT ); } in Alloc() function
72 u8* memory = static_cast<u8*>(this->Alloc(size, alignment));
83 TObject* Alloc(size_t size, u8 alignment = DEFAULT_ALIGNMENT)
85 return static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
92 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * size, alignment));
106 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
123 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
184 u8* memory = static_cast<u8*>(allocator->Alloc(memorySize)); in AllocateAndFill()
209 u8* memory = static_cast<u8*>(allocator->Alloc(size)); in AllocateAndFillN()
233 TObject* objects = static_cast<TObject*>(allocator->Alloc(sizeof(TObject) * size)); in AllocateAndAssignN()
262 TChar* copyStr = reinterpret_cast<char*>(allocator->Alloc(bufferSize)); in AllocateAndCopyString()