Lines Matching refs:allocator

35     os::IAllocator* allocator  in Create()  argument
38 NW_NULL_ASSERT(allocator); in Create()
41 CreateResHemiSphereLight(allocator), in Create()
42 ResHemiSphereLightDataDestroyer(allocator)); in Create()
44 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
47 allocator, in Create()
51 Result result = light->Initialize(allocator); in Create()
63 os::IAllocator* allocator in Create() argument
66 NW_NULL_ASSERT(allocator); in Create()
72 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
76 allocator, in Create()
80 Result result = light->Initialize(allocator); in Create()
105 HemiSphereLight::CreateResHemiSphereLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResHemiSphereLight() argument
110 AllocateAndFillN<ResHemiSphereLightData>(allocator, sizeof(ResHemiSphereLightData), 0); in CreateResHemiSphereLight()
121 resHemiSphereLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResHemiSphereLight()
144 HemiSphereLight::DestroyResHemiSphereLight(os::IAllocator* allocator, ResHemiSphereLightData* resHe… in DestroyResHemiSphereLight() argument
146 NW_NULL_ASSERT( allocator ); in DestroyResHemiSphereLight()
151 allocator->Free( const_cast<char*>( resHemiSphereLight->toName.to_ptr() ) ); in DestroyResHemiSphereLight()
153 allocator->Free( resHemiSphereLight ); in DestroyResHemiSphereLight()
159 HemiSphereLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
163 void* buffer = allocator->Alloc(sizeof(ResHemiSphereLightData)); in CreateOriginalValue()
177 HemiSphereLight::Initialize(os::IAllocator* allocator) in Initialize() argument
181 result |= TransformNode::Initialize(allocator); in Initialize()
184 result |= CreateOriginalValue(allocator); in Initialize()
187 result |= CreateAnimGroup(allocator); in Initialize()