Home
last modified time | relevance | path

Searched refs:address (Results 1 – 22 of 22) sorted by relevance

/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResVertex.cpp43 void* address = NULL; in BufferData() local
56 address = __dmpgl_allocator(area, NN_GX_MEM_VERTEXBUFFER, bufferID, size); in BufferData()
58 internal::nwgfxAddVramDmaCommand( resStream.GetStream(), address, size ); in BufferData()
60 resStream.SetLocationAddress( address ); in BufferData()
67 address = __dmpgl_allocator(NN_GX_MEM_FCRAM, NN_GX_MEM_VERTEXBUFFER, bufferID, size); in BufferData()
68 std::memcpy( address, resStream.GetStream(), size ); in BufferData()
69 nngxUpdateBuffer( address, size ); in BufferData()
71 resStream.SetLocationAddress( address ); in BufferData()
93 void* address = reinterpret_cast<void*>( resStream.GetLocationAddress() ); in DeleteBuffer() local
94 __dmpgl_deallocator( area, NN_GX_MEM_VERTEXBUFFER, bufferID, address ); in DeleteBuffer()
Dgfx_ResShape.cpp71 void* address = NULL; in BufferData() local
84 address = __dmpgl_allocator(area, NN_GX_MEM_VERTEXBUFFER, bufferID, size); in BufferData()
86 internal::nwgfxAddVramDmaCommand( resStream.GetStream(), address, size ); in BufferData()
88 resStream.SetLocationAddress( address ); in BufferData()
95 address = __dmpgl_allocator(NN_GX_MEM_FCRAM, NN_GX_MEM_VERTEXBUFFER, bufferID, size); in BufferData()
96 std::memcpy( address, resStream.GetStream(), size ); in BufferData()
97 nngxUpdateBuffer( address, size ); in BufferData()
99 resStream.SetLocationAddress( address ); in BufferData()
127 void* address = reinterpret_cast<void*>( resStream.GetLocationAddress() ); in DeleteBuffer() local
128 __dmpgl_deallocator( area, NN_GX_MEM_VERTEXBUFFER, bufferID, address ); in DeleteBuffer()
Dgfx_ResTexture.cpp78 void* address = NULL; in TexImage2D() local
95 address = __dmpgl_allocator(area, NN_GX_MEM_TEXTURE, texID, size); in TexImage2D()
99 nngxAddVramDmaCommand( resImage.GetImageData(), address, size ); in TexImage2D()
102 resImage.SetLocationAddress( address ); in TexImage2D()
109 address = __dmpgl_allocator(NN_GX_MEM_FCRAM, NN_GX_MEM_TEXTURE, texID, size); in TexImage2D()
112 std::memcpy( address, resImage.GetImageData(), size ); in TexImage2D()
113 nngxUpdateBuffer( address, size ); in TexImage2D()
116 resImage.SetLocationAddress( address ); in TexImage2D()
144 void* address = reinterpret_cast<void*>( resImage.GetLocationAddress() ); in DeleteImage2D() local
145 __dmpgl_deallocator( area, NN_GX_MEM_TEXTURE, texID, address ); in DeleteImage2D()
/NW4C-1.2.23/sources/libraries/ut/
Dut_CmdCache.cpp31 u16 address; member
493 const u32 address = internal::GetBits(command[1], 0, 16); in DumpCommon() local
497 u32 addressEnd = address + 1; in DumpCommon()
500 addressEnd = address + dataCount + 1; in DumpCommon()
507 if ( address <= s_PicaRegMnemonic[i].address && in DumpCommon()
508 s_PicaRegMnemonic[i].address < addressEnd ) in DumpCommon()
512 s_PicaRegMnemonic[i].address, in DumpCommon()
519 NN_LOG("// (0x%03x) ???\n", address); in DumpCommon()
Dut_HeapBase.cpp371 void HeapBase::FillFreeMemory( void* address, u32 size ) in FillFreeMemory() argument
376 MI_CpuFill32( address, GetFillValue( HEAP_FILL_FREE ), size ); in FillFreeMemory()
378 std::memset(address, GetFillValue( HEAP_FILL_FREE ), size); in FillFreeMemory()
393 void HeapBase::FillNoUseMemory( void* address, u32 size ) in FillNoUseMemory() argument
398 MI_CpuFill32( address, GetFillValue( HEAP_FILL_NOUSE ), size ); in FillNoUseMemory()
400 std::memset(address, GetFillValue( HEAP_FILL_NOUSE ), size); in FillNoUseMemory()
415 void HeapBase::FillAllocMemory( void* address, u32 size ) in FillAllocMemory() argument
420 MI_CpuFill32( address, 0, size ); in FillAllocMemory()
422 std::memset(address, 0, size); in FillAllocMemory()
430 MI_CpuFill32( address, GetFillValue( HEAP_FILL_ALLOC ), size ); in FillAllocMemory()
[all …]
/NW4C-1.2.23/sources/libraries/demo/
Ddemo_Memory.cpp61 uptr address = reinterpret_cast<uptr>(memory); in InitializeDemoAllocator() local
62 allocator->Initialize(address, size, option); in InitializeDemoAllocator()
89 uptr address = nn::os::GetDeviceMemoryAddress(); in InitializeDemoMemory() local
93 (uint)address, in InitializeDemoMemory()
94 ((uint)address + DEMO_MAIN_MEMORY_SIZE)); in InitializeDemoMemory()
96 s_MainMemoryHeap.Initialize(address, DEMO_MAIN_MEMORY_SIZE, nn::os::ALLOCATE_OPTION_LINEAR); in InitializeDemoMemory()
166 DemoAllocator::GetMemoryBlockSize(void* address) in GetMemoryBlockSize() argument
168 return m_Heap.GetSizeOf(address); in GetMemoryBlockSize()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_OffScreenBuffer.cpp63 u32 address = ResStaticCast<ResImageTexture>(resTexture).GetImage().GetImageAddress(); in OffScreenBuffer() local
64 m_BackBufferObject.SetColorAddress( address ); in OffScreenBuffer()
70 … u32 address = ResStaticCast<ResCubeTexture>(resTexture).GetImage( face ).GetImageAddress(); in OffScreenBuffer() local
72 m_BackBufferObject.SetColorAddress( address ); in OffScreenBuffer()
77 u32 address = ResStaticCast<ResShadowTexture>(resTexture).GetImage().GetImageAddress(); in OffScreenBuffer() local
78 m_BackBufferObject.SetColorAddress( address ); in OffScreenBuffer()
/NW4C-1.2.23/include/nw/demo/
Ddemo_Memory.h212 size_t GetMemoryBlockSize(void* address);
229 void SetBreakAlloc(int address, size_t size) in SetBreakAlloc() argument
232 m_BreakAllocAddress = reinterpret_cast<void *>(address); in SetBreakAlloc()
235 NW_UNUSED_VARIABLE(address); in SetBreakAlloc()
251 void SetBreakFree(int address, size_t size) in SetBreakFree() argument
254 m_BreakFreeAddress = reinterpret_cast<void *>(address); in SetBreakFree()
257 NW_UNUSED_VARIABLE(address); in SetBreakFree()
/NW4C-1.2.23/include/nw/gfx/res/
Dgfx_ResTexture.h323 void SetLocationAddress(u32 address) { ref().m_LocationAddress = address; } in SetLocationAddress() argument
324 …void SetLocationAddress(const void* address) { ref().m_LocationAddress = reinterpret_cast<u32>(add… in SetLocationAddress() argument
398 void SetLocationAddress(u32 address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() argument
399 void SetLocationAddress(const void* address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() argument
657 …void SetLocationAddress( CubeFace face, u32 address) { this->GetImage( face ).SetLocationAddress( in SetLocationAddress() argument
658 …etLocationAddress( CubeFace face, const void* address) { this->GetImage( face ).SetLocationAddress… in SetLocationAddress() argument
700 void SetLocationAddress(u32 address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() argument
701 void SetLocationAddress(const void* address) { this->GetImage().SetLocationAddress( address ); } in SetLocationAddress() argument
Dgfx_ResVertex.h290 void SetLocationAddress(u32 address) { ref().m_LocationAddress = address; } in SetLocationAddress() argument
291 …void SetLocationAddress(const void* address) { ref().m_LocationAddress = reinterpret_cast<u32>(add… in SetLocationAddress() argument
521 void SetLocationAddress(u32 address) { ref().m_LocationAddress = address; } in SetLocationAddress() argument
522 …void SetLocationAddress(const void* address) { ref().m_LocationAddress = reinterpret_cast<u32>(add… in SetLocationAddress() argument
/NW4C-1.2.23/include/nw/ut/
Dut_HeapBase.h124 void FillFreeMemory( void* address, u32 size );
125 void FillNoUseMemory( void* address, u32 size );
126 void FillAllocMemory( void* address, u32 size );
Dut_BinaryReader.h39 void SetCurrentAddress( void* address ) { m_CurrentAddress = address; } in SetCurrentAddress() argument
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_SoundDataManager.cpp147 m_pFileTable->item[ i ].address = NULL; in CreateFileAddressTable()
688 if ( info.address != NULL ) in SetGroupItem()
692 SetFileAddress( info.fileId, info.address ); in SetGroupItem()
803 const void* addr = m_pFileTable->item[ i ].address; in InvalidateData()
806 m_pFileTable->item[ i ].address = NULL; in InvalidateData()
884 return m_pFileTable->item[ fileId ].address; in GetFileAddress()
898 SoundDataManager::SetFileAddress( SoundArchive::FileId fileId, const void* address ) in SetFileAddress() argument
911 const void* preAddress = m_pFileTable->item[ fileId ].address; in SetFileAddress()
912 m_pFileTable->item[ fileId ].address = address; in SetFileAddress()
918 u32 SoundDataManager::detail_GetFileId( const void* address ) const in detail_GetFileId()
[all …]
Dsnd_GroupFileReader.cpp106 info->address = groupItemInfo->GetFileLocation( m_pFileBlockBody ); in ReadGroupItemLocationInfo()
Dsnd_MmlParser.cpp682 callStack->address = trackParam.currentAddr; in CommandProc()
703 trackParam.currentAddr = callStack->address; in CommandProc()
715 callStack->address = trackParam.currentAddr; in CommandProc()
745 trackParam.currentAddr = callStack->address; in CommandProc()
/NW4C-1.2.23/sources/libraries/dev/
Ddev_Screenshot.cpp170 GLint address; in Take() local
171 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_ADDRESS, &address); in Take()
172 void* srcArea = reinterpret_cast<void*>(address); in Take()
Ddev_DirectPrint.cpp891 GLint address = 0; in SetTargetActiveDisplayBuffer() local
892 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_ADDRESS, &address); in SetTargetActiveDisplayBuffer()
893 NW_ASSERT(address != 0); in SetTargetActiveDisplayBuffer()
895 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_FORMAT, &address); in SetTargetActiveDisplayBuffer()
897 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_WIDTH, &address); in SetTargetActiveDisplayBuffer()
899 nngxGetDisplaybufferParameteri(NN_GX_DISPLAYBUFFER_HEIGHT, &address); in SetTargetActiveDisplayBuffer()
901 reinterpret_cast<void*>(address), in SetTargetActiveDisplayBuffer()
/NW4C-1.2.23/include/nw/snd/
Dsnd_SoundDataManager.h303 const void* SetFileAddress( SoundArchive::FileId fileId, const void* address );
309 u32 detail_GetFileId( const void* address ) const;
328 const void* address; member
Dsnd_GroupFileReader.h28 const void* address; // 非 NULL: 埋め込みアイテム。ロードされたアドレスを格納。 member
Dsnd_SequenceTrack.h61 const u8* address; member
/NW4C-1.2.23/include/nw/dev/
Ddev_DirectPrint.h51 u8* address, in FrameBufferInfo()
55 : m_Address(address), in FrameBufferInfo()
/NW4C-1.2.23/include/nw/gfx/
Dgfx_CommandUtil.h452 MakeCommandHeader(u32 address, int count, bool incremental, u8 byteEnable) in MakeCommandHeader() argument
475 result |= ut::internal::MakeBits(address, ADDRESS_WIDTH, ADDRESS_SHIFT); in MakeCommandHeader()
481 …incremental, byteEnable) (u32)((incremental << 31) | (count << 20) | (byteEnable << 16) | address)