Lines Matching refs:allocator

35     os::IAllocator* allocator  in Create()  argument
38 NW_NULL_ASSERT(allocator); in Create()
44 CreateResHemiSphereLight(allocator), in Create()
45 ResHemiSphereLightDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); 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(HemiSphereLight)); in Create()
107 allocator, in Create()
111 Result result = light->Initialize(allocator); in Create()
136 HemiSphereLight::CreateResHemiSphereLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResHemiSphereLight() argument
141 AllocateAndFillN<ResHemiSphereLightData>(allocator, sizeof(ResHemiSphereLightData), 0); in CreateResHemiSphereLight()
152 resHemiSphereLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResHemiSphereLight()
176 HemiSphereLight::DestroyResHemiSphereLight(os::IAllocator* allocator, ResHemiSphereLightData* resHe… in DestroyResHemiSphereLight() argument
178 NW_NULL_ASSERT( allocator ); in DestroyResHemiSphereLight()
183 allocator->Free( const_cast<char*>( resHemiSphereLight->toName.to_ptr() ) ); in DestroyResHemiSphereLight()
185 allocator->Free( resHemiSphereLight ); in DestroyResHemiSphereLight()
191 HemiSphereLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
195 void* buffer = allocator->Alloc(sizeof(ResHemiSphereLightData)); in CreateOriginalValue()
209 HemiSphereLight::Initialize(os::IAllocator* allocator) in Initialize() argument
213 result |= TransformNode::Initialize(allocator); in Initialize()
216 result |= CreateOriginalValue(allocator); in Initialize()
219 result |= CreateAnimGroup(allocator); in Initialize()