Lines Matching refs:Alloc
76 virtual void* Alloc(size_t size, u8 alignment) = 0;
92 void* Alloc(size_t size) { return this->Alloc( size, DEFAULT_ALIGNMENT ); } in Alloc() function
97 u8* memory = static_cast<u8*>(this->Alloc(size, alignment));
110 TObject* Alloc(int count, u8 alignment = DEFAULT_ALIGNMENT)
113 return static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
123 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * count, alignment));
140 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
160 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
224 u8* memory = static_cast<u8*>(allocator->Alloc(memorySize)); in AllocateAndFill()
249 u8* memory = static_cast<u8*>(allocator->Alloc(size)); in AllocateAndFillN()
273 TObject* objects = static_cast<TObject*>(allocator->Alloc(sizeof(TObject) * count)); in AllocateAndAssignN()
302 TChar* copyStr = reinterpret_cast<char*>(allocator->Alloc(bufferSize)); in AllocateAndCopyString()