Lines Matching refs:allocator
37 os::IAllocator* allocator in Create() argument
40 NW_NULL_ASSERT(allocator); in Create()
46 CreateResHemiSphereLight(allocator), in Create()
47 ResHemiSphereLightDataDestroyer(allocator)); in Create()
49 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
52 allocator, in Create()
56 Result result = light->Initialize(allocator); in Create()
96 os::IAllocator* allocator in Create() argument
99 NW_NULL_ASSERT(allocator); in Create()
105 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
109 allocator, in Create()
113 Result result = light->Initialize(allocator); in Create()
138 HemiSphereLight::CreateResHemiSphereLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResHemiSphereLight() argument
143 AllocateAndFillN<ResHemiSphereLightData>(allocator, sizeof(ResHemiSphereLightData), 0); in CreateResHemiSphereLight()
154 resHemiSphereLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResHemiSphereLight()
178 HemiSphereLight::DestroyResHemiSphereLight(os::IAllocator* allocator, ResHemiSphereLightData* resHe… in DestroyResHemiSphereLight() argument
180 NW_NULL_ASSERT( allocator ); in DestroyResHemiSphereLight()
185 allocator->Free( const_cast<char*>( resHemiSphereLight->toName.to_ptr() ) ); in DestroyResHemiSphereLight()
187 allocator->Free( resHemiSphereLight ); in DestroyResHemiSphereLight()
193 HemiSphereLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
197 void* buffer = allocator->Alloc(sizeof(ResHemiSphereLightData)); in CreateOriginalValue()
211 HemiSphereLight::Initialize(os::IAllocator* allocator) in Initialize() argument
215 result |= TransformNode::Initialize(allocator); in Initialize()
218 result |= CreateOriginalValue(allocator); in Initialize()
221 result |= CreateAnimGroup(allocator); in Initialize()