Lines Matching refs:allocator

37     os::IAllocator* allocator  in Create()  argument
40 NW_NULL_ASSERT(allocator); in Create()
46 CreateResFragmentLight(allocator), in Create()
47 ResFragmentLightDataDestroyer(allocator)); in Create()
49 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
52 allocator, in Create()
56 Result result = light->Initialize(allocator); in Create()
123 os::IAllocator* allocator in Create() argument
126 NW_NULL_ASSERT(allocator); in Create()
132 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
136 allocator, in Create()
140 Result result = light->Initialize(allocator); in Create()
159 os::IAllocator* allocator in CreateClone() argument
162 NW_NULL_ASSERT(allocator); in CreateClone()
165 CloneResFragmentLight(resource, allocator), in CreateClone()
166 ResFragmentLightDataDestroyer(allocator)); in CreateClone()
168 void* memory = allocator->Alloc(sizeof(FragmentLight)); in CreateClone()
171 allocator, in CreateClone()
175 Result result = light->Initialize(allocator); in CreateClone()
217 FragmentLight::CreateResFragmentLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResFragmentLight() argument
222 AllocateAndFillN<ResFragmentLightData>(allocator, sizeof(ResFragmentLightData), 0); in CreateResFragmentLight()
233 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight()
254 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
261 AllocateAndFill<ResLightingLookupTableData>(allocator, 0); in CreateResFragmentLight()
264 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
282 FragmentLight::CloneResFragmentLight(ResFragmentLight resource, os::IAllocator* allocator) in CloneResFragmentLight() argument
285 AllocateAndFillN<ResFragmentLightData>(allocator, sizeof(ResFragmentLightData), 0); in CloneResFragmentLight()
322 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CloneResFragmentLight()
343 AllocateAndFill<ResLightingLookupTableData>(allocator, 0); in CloneResFragmentLight()
350 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CloneResFragmentLight()
397 os::IAllocator* allocator, in DestroyResFragmentLight() argument
401 NW_NULL_ASSERT( allocator ); in DestroyResFragmentLight()
404 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
410 allocator->Free( angleSampler->toSampler.to_ptr() ); in DestroyResFragmentLight()
412 allocator->Free( angleSampler ); in DestroyResFragmentLight()
415 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
418 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()
424 FragmentLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
428 void* buffer = allocator->Alloc(sizeof(ResFragmentLightData)); in CreateOriginalValue()
442 FragmentLight::Initialize(os::IAllocator* allocator) in Initialize() argument
446 result |= TransformNode::Initialize(allocator); in Initialize()
449 result |= CreateOriginalValue(allocator); in Initialize()
452 result |= CreateAnimGroup(allocator); in Initialize()