Lines Matching refs:allocator

36     os::IAllocator* allocator  in Create()  argument
39 NW_NULL_ASSERT(allocator); in Create()
42 CreateResVertexLight(allocator), in Create()
43 ResVertexLightDataDestroyer(allocator)); in Create()
45 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
48 allocator, in Create()
52 Result result = light->Initialize(allocator); in Create()
64 os::IAllocator* allocator in Create() argument
67 NW_NULL_ASSERT(allocator); in Create()
73 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
77 allocator, in Create()
81 Result result = light->Initialize(allocator); in Create()
122 VertexLight::CreateResVertexLight(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResVertexLight() argument
128 AllocateAndFillN<ResVertexLightData>(allocator, sizeof(ResVertexLightData), 0); in CreateResVertexLight()
139 resVertexLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResVertexLight()
162 VertexLight::DestroyResVertexLight(os::IAllocator* allocator, ResVertexLightData* resVertexLight) in DestroyResVertexLight() argument
164 NW_NULL_ASSERT( allocator ); in DestroyResVertexLight()
169 allocator->Free( const_cast<char*>( resVertexLight->toName.to_ptr() ) ); in DestroyResVertexLight()
171 allocator->Free( resVertexLight ); in DestroyResVertexLight()
177 VertexLight::CreateOriginalValue(os::IAllocator* allocator) in CreateOriginalValue() argument
181 void* buffer = allocator->Alloc(sizeof(ResVertexLightData)); in CreateOriginalValue()
195 VertexLight::Initialize(os::IAllocator* allocator) in Initialize() argument
199 result |= TransformNode::Initialize(allocator); in Initialize()
202 result |= CreateOriginalValue(allocator); in Initialize()
205 result |= CreateAnimGroup(allocator); in Initialize()