Lines Matching refs:allocator

38     os::IAllocator* allocator  in Create()  argument
41 NW_NULL_ASSERT(allocator); in Create()
44 CreateResFog(allocator), in Create()
45 ResFogDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(Fog)); in Create()
50 allocator, in Create()
53 Result result = fog->Initialize(allocator); in Create()
75 os::IAllocator* allocator in Create() argument
78 NW_NULL_ASSERT(allocator); in Create()
84 void* memory = allocator->Alloc(sizeof(Fog)); in Create()
88 allocator, in Create()
91 Result result = fog->Initialize(allocator); in Create()
105 Fog::CreateResFog(os::IAllocator* allocator, const char* name /* = NULL */) in CreateResFog() argument
110 AllocateAndFillN<ResFogData>(allocator, sizeof(ResFogData), 0); in CreateResFog()
121 resFog->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFog()
141 AllocateAndFill<ResImageLookupTableData>(allocator, 0); in CreateResFog()
144 AllocateAndFill<ResFogUpdaterData>(allocator, 0); in CreateResFog()
153 void* tableMemory = allocator->AllocAndFill(sizeof(u32) * NW_FOG_TABLE_COMMAND_NUM, 0); in CreateResFog()
162 Fog::DestroyResFog(os::IAllocator* allocator, ResFogData* resFog) in DestroyResFog() argument
164 NW_NULL_ASSERT( allocator ); in DestroyResFog()
169 allocator->Free( const_cast<char*>( resFog->toName.to_ptr() ) ); in DestroyResFog()
174 allocator->Free( resFog->toFogUpdater.to_ptr() ); in DestroyResFog()
182 allocator->Free( fogSampler.ref().toCommandCacheTable.to_ptr() ); in DestroyResFog()
185 allocator->Free( resFog->toFogSampler.to_ptr() ); in DestroyResFog()
188 allocator->Free( resFog ); in DestroyResFog()
192 Fog::CreateResFogUpdater(os::IAllocator* allocator) in CreateResFogUpdater() argument
195 AllocateAndFill<ResFogUpdaterData>(allocator, 0); in CreateResFogUpdater()
204 Fog::DestroyResFogUpdater(os::IAllocator* allocator, ResFogUpdaterData* resFogUpdater) in DestroyResFogUpdater() argument
206 NW_NULL_ASSERT( allocator ); in DestroyResFogUpdater()
210 allocator->Free( resFogUpdater ); in DestroyResFogUpdater()
349 Fog::Initialize(os::IAllocator* allocator) in Initialize() argument
353 result |= TransformNode::Initialize(allocator); in Initialize()
356 ResFogUpdaterData* resFogUpdater = CreateResFogUpdater(allocator); in Initialize()
361 ResFogUpdaterDataDestroyer(allocator)); in Initialize()