| /NW4C-2.0.3/demos/Nw4cDemo/include/ |
| D | SmFile.h | 34 m_Allocator( NULL ){} in m_Buffer() 51 m_Allocator = allocator; in Read() 60 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read() 90 m_Allocator->Free( m_Buffer ); in Release() 99 nw::os::IAllocator* m_Allocator; variable
|
| D | SmBase.h | 36 m_Allocator = allocator; in SetAllocator() 41 static nw::os::IAllocator* m_Allocator;
|
| /NW4C-2.0.3/sources/libraries/dev/ |
| D | dev_CallbackChain.cpp | 40 m_Allocator( allocator ) in CallbackChain() 43 NW_NULL_ASSERT( m_Allocator ); in CallbackChain() 52 m_MicroSecArray = static_cast<s64*>( m_Allocator->Alloc( sizeof(s64) * m_MaxRequestCount ) ); in CallbackChain() 60 m_Allocator->Free( m_MicroSecArray ); in ~CallbackChain() 71 if (m_Allocator != NULL) in Destroy() 75 m_Allocator->Free(memory); in Destroy()
|
| D | dev_Screenshot.cpp | 58 if (this->m_Allocator) in ~Screenshot() 62 (this->m_Allocator)->Free(this->m_CopyScreen); in ~Screenshot() 67 (this->m_Allocator)->Free(this->m_Hash); in ~Screenshot() 148 : m_Allocator(allocator), in ScreenshotManager() 224 m_Allocator->Free(screenshot); in ClearScreenshots()
|
| /NW4C-2.0.3/demos/Nw4cDemo/sources/ |
| D | SmSceneCtrl.cpp | 71 .MaxSceneNodes( 128 ).MaxModels(128).Create( m_Allocator ); in SmSceneCtrl() 74 .Create( m_Allocator ); in SmSceneCtrl() 77 .Create( m_Allocator ); in SmSceneCtrl() 80 .Create( m_Allocator ); in SmSceneCtrl() 85 .Create( m_Allocator ); in SmSceneCtrl() 91 .Create(m_Allocator); in SmSceneCtrl() 95 .Create( m_Allocator ); in SmSceneCtrl() 98 nw::gfx::CreatePriorMaterialRenderKeyFactory( m_Allocator ); in SmSceneCtrl() 101 nw::gfx::CreatePriorDepthReverseDepthRenderKeyFactory( m_Allocator ); in SmSceneCtrl() 105 .Create( m_Allocator ); in SmSceneCtrl() [all …]
|
| D | GfxCtrl.cpp | 90 .Create(m_Allocator); in GfxCtrl() 99 .Create( m_Allocator ); in GfxCtrl() 103 .Create( m_Allocator ); in GfxCtrl() 200 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateModel() 217 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateModel() 261 .Create(m_Allocator); in CreateModel() 292 .Create(m_Allocator); in CreateModel() 351 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateParticle() 354 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateParticle() 467 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator ); in CreateSceneEnvironment() [all …]
|
| D | SmRenderSystem.cpp | 141 .Create( m_Allocator ); in SmRenderSystem() 150 .Create(m_Allocator); in SmRenderSystem() 155 .Create(m_Allocator); in SmRenderSystem() 167 .Create( m_Allocator ); in SmRenderSystem() 170 void* cameraMemory = m_Allocator->Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in SmRenderSystem() 187 m_Allocator->Free(m_StereoCamera); in ~SmRenderSystem()
|
| D | SmCommandUtility.cpp | 113 cmdCacheCopied.cmdBuff = m_Allocator->Alloc( copiedBuffSize ); in CreateCopiedCmdCache() 137 nw::os::SafeFree( cmdCacheCopied.cmdBuff, m_Allocator ); in DestroyCopiedCmdCache()
|
| D | SmPrimitive.cpp | 85 if ( !m_ShaderFile.Read( shaderName, m_Allocator ) ) in SmOgl() 246 NW_NULL_ASSERT( m_Allocator ); in Sm2DPrimPC() 250 m_pVertex = static_cast<SmVertexPC*>(m_Allocator->Alloc( sizeof( SmVertexPC ) * m_VertexCnt )); in Sm2DPrimPC() 260 nw::os::SafeFree( m_pVertex, m_Allocator ); in ~Sm2DPrimPC()
|
| D | SmBase.cpp | 22 nw::os::IAllocator* SmBase::m_Allocator = NULL; member in SmBase
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_MoveArray.h | 123 : m_Allocator(NULL), in MoveArray() 151 : m_Allocator(allocator), in m_Allocator() function 178 : m_Allocator(allocator) in m_Allocator() function 207 : m_Allocator(allocator), in MoveArray() 223 : m_Allocator(array.m_Allocator), in MoveArray() 236 if (m_Allocator && m_Elements) in ~MoveArray() 238 m_Allocator->Free(m_Elements); in ~MoveArray() 320 if (m_Allocator && m_Elements) 322 m_Allocator->Free(m_Elements); 327 m_Allocator = allocator; [all …]
|
| D | ut_Children.h | 40 ChildDeleter() : m_Allocator(0) {} in ChildDeleter() 41 ChildDeleter(os::IAllocator* allocator) : m_Allocator(allocator) { } in ChildDeleter() 46 if (m_Allocator) in operator() 48 m_Allocator->Free(child); in operator() 52 os::IAllocator* m_Allocator; variable
|
| D | ut_MovePtr.h | 52 : m_Allocator(0) in MovePtrDeleterBase() 61 : m_Allocator(allocator) in MovePtrDeleterBase() 71 if (m_Allocator) in operator() 73 m_Allocator->Free(memory); in operator() 78 os::IAllocator* m_Allocator; variable 217 MovePtrDefaultDeleter(os::IAllocator* allocator = 0) { this->m_Allocator = allocator; }
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_Fog.h | 241 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 245 DestroyResFog(m_Allocator, data); in operator() 248 os::IAllocator* m_Allocator; member 253 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 257 DestroyResFogUpdater(m_Allocator, data); in operator() 260 os::IAllocator* m_Allocator; member
|
| D | gfx_GfxObject.h | 46 void Destroy() { this->~GfxObject(); m_Allocator.Free( this ); } in Destroy() 81 : m_Allocator( *allocator ) in GfxObject() 100 nw::os::IAllocator& GetAllocator() { return m_Allocator; } in GetAllocator() 105 nw::os::IAllocator& m_Allocator;
|
| D | gfx_AmbientLight.h | 184 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 188 DestroyResAmbientLight(m_Allocator, data); in operator() 191 os::IAllocator* m_Allocator; member
|
| D | gfx_HemiSphereLight.h | 185 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 189 DestroyResHemiSphereLight(m_Allocator, data); in operator() 192 os::IAllocator* m_Allocator; member
|
| D | gfx_VertexLight.h | 226 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 230 DestroyResVertexLight(m_Allocator, data); in operator() 233 os::IAllocator* m_Allocator; member
|
| D | gfx_FragmentLight.h | 265 : m_Allocator(allocator) in m_Allocator() function 269 DestroyResFragmentLight(m_Allocator, data); in operator() 272 os::IAllocator* m_Allocator; member
|
| D | gfx_Material.h | 276 ResMaterialDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function 280 DestroyResMaterial(m_Allocator, data); in operator() 283 os::IAllocator* m_Allocator; member
|
| /NW4C-2.0.3/include/nw/ut/generated/ |
| D | ut_Signal.hi | 35 explicit Slot0(AllocatorType* allocator) : m_Allocator(allocator) {} 59 AllocatorType* GetAllocator() { return m_Allocator; } 66 AllocatorType* m_Allocator; 213 void Destroy() { this->~Signal0(); this->m_Allocator->Free(this); } 314 return CreateAndConnect(function, this->m_Allocator); 424 : m_Allocator(allocator), m_Slots(elements, maxSlots, allocator) {} 427 : m_Allocator(allocator), m_Slots(allocator) {} 432 explicit Signal0(AllocatorType* allocator) : m_Allocator(allocator), m_Slot(NULL) {} 437 AllocatorType* m_Allocator; 464 explicit Slot1(AllocatorType* allocator) : m_Allocator(allocator) {} [all …]
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_AutoTester.cpp | 63 .Create(m_Allocator, m_DeviceAllocator); in Initialize() 86 m_Scenario = nw::ut::MoveArray<TestEvent>(testInfoHeader.eventCount, m_Allocator); in Initialize() 111 m_Scenario = nw::ut::MoveArray<TestEvent>(2, m_Allocator); in Initialize() 149 m_Allocator, in Initialize() 177 nw::os::IAllocator* allocator = m_Allocator; in Destroy() 484 : m_Allocator(allocator), in AutoTester() 496 m_ScreenshotManager->Destroy(m_Allocator); in ~AutoTester()
|
| D | demo_Pad.cpp | 35 pad->m_Allocator = allocator; in Create() 44 os::IAllocator* allocator = this->m_Allocator; in Destroy()
|
| /NW4C-2.0.3/include/nw/dev/ |
| D | dev_Screenshot.h | 154 : m_Allocator(allocator), in Screenshot() 166 nw::os::IAllocator* m_Allocator; variable 248 nw::os::IAllocator* m_Allocator; variable
|
| /NW4C-2.0.3/include/nw/demo/ |
| D | demo_Utility.h | 801 nw::os::IAllocator* allocator = m_Allocator; in Destroy() 820 m_Allocator = allocator; in FlushCache() 823 if (m_Allocator != NULL) in FlushCache() 825 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache() 835 m_Allocator->Free(m_Buffer); in ~FlushCache() 841 nw::demo::DemoAllocator* m_Allocator; variable
|