Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 25 of 128) sorted by relevance

123456

/NW4C-1.2.23/include/nw/os/
Dos_Memory.h51 virtual void* Alloc(size_t size, u8 alignment) = 0;
67 void* Alloc(size_t size) { return this->Alloc( size, DEFAULT_ALIGNMENT ); } in Alloc() function
72 u8* memory = static_cast<u8*>(this->Alloc(size, alignment));
83 TObject* Alloc(size_t size, u8 alignment = DEFAULT_ALIGNMENT)
85 return static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
92 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * size, alignment));
106 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
123 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * size, alignment));
184 u8* memory = static_cast<u8*>(allocator->Alloc(memorySize)); in AllocateAndFill()
209 u8* memory = static_cast<u8*>(allocator->Alloc(size)); in AllocateAndFillN()
[all …]
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_SoundHeap.cpp106 void* SoundHeap::Alloc( size_t size ) in Alloc() function in nw::snd::SoundHeap
110 void* buffer = Alloc( in Alloc()
131 void* SoundHeap::Alloc( in Alloc() function in nw::snd::SoundHeap
139 return m_FrameHeap.Alloc( in Alloc()
Dsnd_ChannelManager.cpp77 Channel* ChannelManager::Alloc() in Alloc() function in nw::snd::internal::driver::ChannelManager
79 Channel* channel = m_Pool.Alloc(); in Alloc()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_LightSet.cpp34 void* memory = allocator->Alloc(sizeof(LightSet)); in Create()
54 void* memory = allocator->Alloc(sizeof(LightSet)); in Create()
Dgfx_SceneEnvironmentSetting.cpp44 void* memory = allocator->Alloc(sizeof(SceneEnvironmentSetting)); in Create()
61 … void* lightSetsMemory = allocator->Alloc(sizeof(LightSetBinder) * resSetting.GetLightSetsCount()); in CreateEnvironmentArray()
79 void* camerasMemory = allocator->Alloc(sizeof(CameraBinder) * resSetting.GetCamerasCount()); in CreateEnvironmentArray()
86 void* fogsMemory = allocator->Alloc(sizeof(FogBinder) * resSetting.GetFogsCount()); in CreateEnvironmentArray()
Dgfx_SceneNode.cpp40 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create()
67 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create()
149 void* memory = allocator->Alloc( in CreateChildren()
Dgfx_AmbientLight.cpp42 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
70 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
162 void* buffer = allocator->Alloc(sizeof(ResAmbientLightData)); in CreateOriginalValue()
Dgfx_HemiSphereLight.cpp44 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
72 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
163 void* buffer = allocator->Alloc(sizeof(ResHemiSphereLightData)); in CreateOriginalValue()
Dgfx_VertexLight.cpp45 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
73 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
181 void* buffer = allocator->Alloc(sizeof(ResVertexLightData)); in CreateOriginalValue()
Dgfx_IRenderTarget.cpp38 void* memory = allocator->Alloc(sizeof(OnScreenBuffer), renderTargetAlignment); in Create()
54 void* memory = allocator->Alloc(sizeof(OffScreenBuffer), renderTargetAlignment); in CreateOffScreenBuffer()
Dgfx_PerspectiveProjectionUpdater.cpp33 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create()
61 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create()
Dgfx_FrustumProjectionUpdater.cpp34 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create()
61 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create()
Dgfx_Model.cpp49 void* memory = allocator->Alloc(sizeof(Model)); in Create()
307 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials()
331 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials()
379 ResMeshData* buffer = allocator->Alloc<ResMeshData>(meshesCount); in CreateResMeshes()
408 void* memory = allocator->Alloc(sizeof(bool) * meshesCount); in CreateResMeshes()
439 …ResMeshNodeVisibilityData* buffer = allocator->Alloc<ResMeshNodeVisibilityData>(visibilitiesConut); in CreateResMeshNodeVisibilities()
455 void* memory = allocator->Alloc(sizeof(bool) * visibilitiesConut); in CreateResMeshNodeVisibilities()
Dgfx_FragmentLight.cpp44 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
72 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
212 void* buffer = allocator->Alloc(sizeof(ResFragmentLightData)); in CreateOriginalValue()
Dgfx_OrthoProjectionUpdater.cpp34 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create()
63 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create()
Dgfx_LookAtTargetViewUpdater.cpp33 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create()
58 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create()
Dgfx_RotateViewUpdater.cpp33 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create()
58 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create()
/NW4C-1.2.23/include/nw/demo/
Ddemo_Memory.h79 void* Alloc(size_t size, u8 alignment = 4);
145 virtual void* Alloc(size_t size, u8 alignment) in Alloc() function
169 using nw::os::IAllocator::Alloc;
/NW4C-1.2.23/include/nw/snd/
Dsnd_SoundHeap.h142 virtual void* Alloc( size_t size );
166 void* Alloc(
Dsnd_InstancePool.h108 T* Alloc() { return static_cast<T*>( AllocImpl() ); } in Alloc() function
185 T* Alloc() in Alloc() function
Dsnd_SoundMemoryAllocatable.h67 virtual void* Alloc( size_t size ) = 0;
/NW4C-1.2.23/demos/ut/SharedPtr/sources/
Dmain.cpp82 AAA* objA = new(allocator.Alloc(sizeof(AAA))) AAA(); in nnMain()
83 BBB* objB = new(allocator.Alloc(sizeof(BBB))) BBB(); in nnMain()
/NW4C-1.2.23/include/nw/gfx/
Dgfx_AnimObject.h164 void* buf = allocator->Alloc(sizeof(AnimGroup)); in Create()
562 void* buf = allocator->Alloc(sizeof(AnimBinding)); in Create()
803 void* memory = GetAllocator().Alloc(sizeof(AnimGroup*) * maxAnimGroups); in Initialize()
813 void* memory = GetAllocator().Alloc(sizeof(AnimObject*) * animObjectCount); in Initialize()
1158 void* memory = GetAllocator().Alloc(sizeof(int) * maxMembers); in Initialize()
1169 void* memory = GetAllocator().Alloc(sizeof(int) * maxAnimMembers); in Initialize()
1316 void* buf = allocator->Alloc(sizeof(AnimEvaluator)); in Create()
1369 m_CacheBuf = GetAllocator().Alloc(GetCacheBufferSizeNeeded()); in ChangeAnim()
1722 void* memory = GetAllocator().Alloc(sizeof(AnimObject*) * maxAnimObjects); in Initialize()
1830 void* buf = allocator->Alloc(sizeof(AnimInterpolator)); in Create()
[all …]
/NW4C-1.2.23/sources/libraries/demo/
Ddemo_Memory.cpp60 void* memory = nw::demo::Alloc(size); in InitializeDemoAllocator()
112 Alloc(size_t size, u8 alignment) in Alloc() function
Ddemo_DisplayBufferSwapper.cpp35 void* memory = allocator->Alloc(sizeof(DisplayBufferSwapper)); in Create()
80 void* memory = allocator->Alloc(sizeof(GLuint) * m_Description.bufferCount); in DisplayBufferSwapper()

123456