Lines Matching refs:allocator
35 os::IAllocator* allocator in Create() argument
38 NW_NULL_ASSERT(allocator); in Create()
41 CreateResFragmentLight(allocator), in Create()
42 ResFragmentLightDataDestroyer(allocator)); in Create()
44 void* memory = allocator->Alloc(sizeof(FragmentLight)); 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(FragmentLight)); in Create()
76 allocator, in Create()
80 Result result = light->Initialize(allocator); in Create()
122 FragmentLight::CreateResFragmentLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResFragmentLight() argument
127 AllocateAndFillN<ResFragmentLightData>(allocator, sizeof(ResFragmentLightData), 0); in CreateResFragmentLight()
138 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight()
158 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
165 AllocateAndFill<ResLightingLookupTableData>(allocator, 0); in CreateResFragmentLight()
168 AllocateAndFill<ResReferenceLookupTableData>(allocator, 0); in CreateResFragmentLight()
187 FragmentLight::DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragment… in DestroyResFragmentLight() argument
189 NW_NULL_ASSERT( allocator ); in DestroyResFragmentLight()
192 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
196 allocator->Free( angleSampler->toSampler.to_ptr() ); in DestroyResFragmentLight()
197 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight()
200 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
202 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()
208 FragmentLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
212 void* buffer = allocator->Alloc(sizeof(ResFragmentLightData)); in CreateOriginalValue()
226 FragmentLight::Initialize(os::IAllocator* allocator) in Initialize() argument
230 result |= TransformNode::Initialize(allocator); in Initialize()
233 result |= CreateOriginalValue(allocator); in Initialize()
236 result |= CreateAnimGroup(allocator); in Initialize()