Lines Matching refs:allocator
36 os::IAllocator* allocator in Create() argument
39 NW_NULL_ASSERT(allocator); in Create()
45 CreateResVertexLight(allocator), in Create()
46 ResVertexLightDataDestroyer(allocator)); in Create()
48 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
51 allocator, in Create()
55 Result result = light->Initialize(allocator); in Create()
95 os::IAllocator* allocator in Create() argument
98 NW_NULL_ASSERT(allocator); in Create()
104 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
108 allocator, in Create()
112 Result result = light->Initialize(allocator); in Create()
153 VertexLight::CreateResVertexLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResVertexLight() argument
159 AllocateAndFillN<ResVertexLightData>(allocator, sizeof(ResVertexLightData), 0); in CreateResVertexLight()
170 resVertexLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResVertexLight()
194 VertexLight::DestroyResVertexLight(os::IAllocator* allocator, ResVertexLightData* resVertexLight) in DestroyResVertexLight() argument
196 NW_NULL_ASSERT( allocator ); in DestroyResVertexLight()
201 allocator->Free( const_cast<char*>( resVertexLight->toName.to_ptr() ) ); in DestroyResVertexLight()
203 allocator->Free( resVertexLight ); in DestroyResVertexLight()
209 VertexLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
213 void* buffer = allocator->Alloc(sizeof(ResVertexLightData)); in CreateOriginalValue()
227 VertexLight::Initialize(os::IAllocator* allocator) in Initialize() argument
231 result |= TransformNode::Initialize(allocator); in Initialize()
234 result |= CreateOriginalValue(allocator); in Initialize()
237 result |= CreateAnimGroup(allocator); in Initialize()