Lines Matching refs:allocator
38 os::IAllocator* allocator in Create() argument
41 NW_NULL_ASSERT(allocator); in Create()
47 CreateResVertexLight(allocator), in Create()
48 ResVertexLightDataDestroyer(allocator)); in Create()
50 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
53 allocator, in Create()
57 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(VertexLight)); in Create()
110 allocator, in Create()
114 Result result = light->Initialize(allocator); in Create()
155 VertexLight::CreateResVertexLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResVertexLight() argument
161 AllocateAndFillN<ResVertexLightData>(allocator, sizeof(ResVertexLightData), 0); in CreateResVertexLight()
172 resVertexLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResVertexLight()
196 VertexLight::DestroyResVertexLight(os::IAllocator* allocator, ResVertexLightData* resVertexLight) in DestroyResVertexLight() argument
198 NW_NULL_ASSERT( allocator ); in DestroyResVertexLight()
203 allocator->Free( const_cast<char*>( resVertexLight->toName.to_ptr() ) ); in DestroyResVertexLight()
205 allocator->Free( resVertexLight ); in DestroyResVertexLight()
211 VertexLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
215 void* buffer = allocator->Alloc(sizeof(ResVertexLightData)); in CreateOriginalValue()
229 VertexLight::Initialize(os::IAllocator* allocator) in Initialize() argument
233 result |= TransformNode::Initialize(allocator); in Initialize()
236 result |= CreateOriginalValue(allocator); in Initialize()
239 result |= CreateAnimGroup(allocator); in Initialize()