Lines Matching refs:allocator

33     os::IAllocator* allocator  in Create()  argument
36 NW_NULL_ASSERT(allocator); in Create()
42 CreateResAmbientLight(allocator), in Create()
43 ResAmbientLightDataDestroyer(allocator)); in Create()
45 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
48 allocator, in Create()
52 Result result = light->Initialize(allocator); in Create()
92 os::IAllocator* allocator in Create() argument
95 NW_NULL_ASSERT(allocator); in Create()
101 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
105 allocator, in Create()
109 Result result = light->Initialize(allocator); in Create()
134 AmbientLight::CreateResAmbientLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResAmbientLight() argument
139 AllocateAndFillN<ResAmbientLightData>(allocator, sizeof(ResAmbientLightData), 0); in CreateResAmbientLight()
151 resAmbientLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResAmbientLight()
175 AmbientLight::DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLigh… in DestroyResAmbientLight() argument
177 NW_NULL_ASSERT( allocator ); in DestroyResAmbientLight()
182 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
184 allocator->Free( resAmbientLight ); in DestroyResAmbientLight()
190 AmbientLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
194 void* buffer = allocator->Alloc(sizeof(ResAmbientLightData)); in CreateOriginalValue()
208 AmbientLight::Initialize(os::IAllocator* allocator) in Initialize() argument
212 result |= TransformNode::Initialize(allocator); in Initialize()
215 result |= CreateOriginalValue(allocator); in Initialize()
218 result |= CreateAnimGroup(allocator); in Initialize()