Lines Matching refs:allocator

33     os::IAllocator* allocator  in Create()  argument
36 NW_NULL_ASSERT(allocator); in Create()
39 CreateResAmbientLight(allocator), in Create()
40 ResAmbientLightDataDestroyer(allocator)); in Create()
42 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
45 allocator, in Create()
49 Result result = light->Initialize(allocator); in Create()
61 os::IAllocator* allocator in Create() argument
64 NW_NULL_ASSERT(allocator); in Create()
70 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
74 allocator, in Create()
78 Result result = light->Initialize(allocator); in Create()
103 AmbientLight::CreateResAmbientLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResAmbientLight() argument
108 AllocateAndFillN<ResAmbientLightData>(allocator, sizeof(ResAmbientLightData), 0); in CreateResAmbientLight()
120 resAmbientLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResAmbientLight()
143 AmbientLight::DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLigh… in DestroyResAmbientLight() argument
145 NW_NULL_ASSERT( allocator ); in DestroyResAmbientLight()
150 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
152 allocator->Free( resAmbientLight ); in DestroyResAmbientLight()
158 AmbientLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
162 void* buffer = allocator->Alloc(sizeof(ResAmbientLightData)); in CreateOriginalValue()
176 AmbientLight::Initialize(os::IAllocator* allocator) in Initialize() argument
180 result |= TransformNode::Initialize(allocator); in Initialize()
183 result |= CreateOriginalValue(allocator); in Initialize()
186 result |= CreateAnimGroup(allocator); in Initialize()