| /NW4C-1.2.23/include/nw/os/ |
| D | os_Memory.h | 51 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/ |
| D | snd_SoundHeap.cpp | 106 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()
|
| D | snd_ChannelManager.cpp | 77 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/ |
| D | gfx_LightSet.cpp | 34 void* memory = allocator->Alloc(sizeof(LightSet)); in Create() 54 void* memory = allocator->Alloc(sizeof(LightSet)); in Create()
|
| D | gfx_SceneEnvironmentSetting.cpp | 44 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()
|
| D | gfx_SceneNode.cpp | 40 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create() 67 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create() 149 void* memory = allocator->Alloc( in CreateChildren()
|
| D | gfx_AmbientLight.cpp | 42 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()
|
| D | gfx_HemiSphereLight.cpp | 44 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()
|
| D | gfx_VertexLight.cpp | 45 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()
|
| D | gfx_IRenderTarget.cpp | 38 void* memory = allocator->Alloc(sizeof(OnScreenBuffer), renderTargetAlignment); in Create() 54 void* memory = allocator->Alloc(sizeof(OffScreenBuffer), renderTargetAlignment); in CreateOffScreenBuffer()
|
| D | gfx_PerspectiveProjectionUpdater.cpp | 33 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create() 61 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create()
|
| D | gfx_FrustumProjectionUpdater.cpp | 34 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create() 61 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create()
|
| D | gfx_Model.cpp | 49 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()
|
| D | gfx_FragmentLight.cpp | 44 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()
|
| D | gfx_OrthoProjectionUpdater.cpp | 34 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create() 63 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create()
|
| D | gfx_LookAtTargetViewUpdater.cpp | 33 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create() 58 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create()
|
| D | gfx_RotateViewUpdater.cpp | 33 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create() 58 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create()
|
| /NW4C-1.2.23/include/nw/demo/ |
| D | demo_Memory.h | 79 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/ |
| D | snd_SoundHeap.h | 142 virtual void* Alloc( size_t size ); 166 void* Alloc(
|
| D | snd_InstancePool.h | 108 T* Alloc() { return static_cast<T*>( AllocImpl() ); } in Alloc() function 185 T* Alloc() in Alloc() function
|
| D | snd_SoundMemoryAllocatable.h | 67 virtual void* Alloc( size_t size ) = 0;
|
| /NW4C-1.2.23/demos/ut/SharedPtr/sources/ |
| D | main.cpp | 82 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/ |
| D | gfx_AnimObject.h | 164 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/ |
| D | demo_Memory.cpp | 60 void* memory = nw::demo::Alloc(size); in InitializeDemoAllocator() 112 Alloc(size_t size, u8 alignment) in Alloc() function
|
| D | demo_DisplayBufferSwapper.cpp | 35 void* memory = allocator->Alloc(sizeof(DisplayBufferSwapper)); in Create() 80 void* memory = allocator->Alloc(sizeof(GLuint) * m_Description.bufferCount); in DisplayBufferSwapper()
|