Lines Matching refs:allocator

35     os::IAllocator* allocator  in Create()  argument
38 NW_NULL_ASSERT(allocator); in Create()
44 CreateResAmbientLight(allocator), in Create()
45 ResAmbientLightDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
50 allocator, in Create()
54 Result result = light->Initialize(allocator); in Create()
94 os::IAllocator* allocator in Create() argument
97 NW_NULL_ASSERT(allocator); in Create()
103 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
107 allocator, in Create()
111 Result result = light->Initialize(allocator); in Create()
136 AmbientLight::CreateResAmbientLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResAmbientLight() argument
141 AllocateAndFillN<ResAmbientLightData>(allocator, sizeof(ResAmbientLightData), 0); in CreateResAmbientLight()
153 resAmbientLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResAmbientLight()
177 AmbientLight::DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLigh… in DestroyResAmbientLight() argument
179 NW_NULL_ASSERT( allocator ); in DestroyResAmbientLight()
184 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
186 allocator->Free( resAmbientLight ); in DestroyResAmbientLight()
192 AmbientLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
196 void* buffer = allocator->Alloc(sizeof(ResAmbientLightData)); in CreateOriginalValue()
210 AmbientLight::Initialize(os::IAllocator* allocator) in Initialize() argument
214 result |= TransformNode::Initialize(allocator); in Initialize()
217 result |= CreateOriginalValue(allocator); in Initialize()
220 result |= CreateAnimGroup(allocator); in Initialize()