Lines Matching refs:allocator
35 os::IAllocator* allocator in Create() argument
38 NW_NULL_ASSERT(allocator); in Create()
44 CreateResFragmentLight(allocator), in Create()
45 ResFragmentLightDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
50 allocator, in Create()
54 Result result = light->Initialize(allocator); in Create()
97 os::IAllocator* allocator in Create() argument
100 NW_NULL_ASSERT(allocator); in Create()
106 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
110 allocator, in Create()
114 Result result = light->Initialize(allocator); in Create()
156 FragmentLight::CreateResFragmentLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResFragmentLight() argument
161 AllocateAndFillN<ResFragmentLightData>(allocator, sizeof(ResFragmentLightData), 0); in CreateResFragmentLight()
172 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight()
193 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
200 AllocateAndFill<ResLightingLookupTableData>(allocator, 0); in CreateResFragmentLight()
203 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
222 FragmentLight::DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragment… in DestroyResFragmentLight() argument
224 NW_NULL_ASSERT( allocator ); in DestroyResFragmentLight()
227 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
231 allocator->Free( angleSampler->toSampler.to_ptr() ); in DestroyResFragmentLight()
232 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight()
235 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
237 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()
243 FragmentLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
247 void* buffer = allocator->Alloc(sizeof(ResFragmentLightData)); in CreateOriginalValue()
261 FragmentLight::Initialize(os::IAllocator* allocator) in Initialize() argument
265 result |= TransformNode::Initialize(allocator); in Initialize()
268 result |= CreateOriginalValue(allocator); in Initialize()
271 result |= CreateAnimGroup(allocator); in Initialize()