Home
last modified time | relevance | path

Searched refs:AddOffsetToPtr (Results 1 – 25 of 41) sorted by relevance

12

/NW4C-2.0.3/sources/libraries/ut/
Dut_BinaryFileFormat.cpp139 ptr = AddOffsetToPtr( pFileHeader, pFileHeader->headerSize ); in GetNextBinaryBlockHeader()
143 ptr = AddOffsetToPtr( pBlockHeader, pBlockHeader->size ); in GetNextBinaryBlockHeader()
146 if ( ptr >= AddOffsetToPtr( pFileHeader, pFileHeader->fileSize ) ) in GetNextBinaryBlockHeader()
156 ptr = AddOffsetToPtr( pFileHeader, ReverseEndian( pFileHeader->headerSize ) ); in GetNextBinaryBlockHeader()
160 ptr = AddOffsetToPtr( pBlockHeader, ReverseEndian( pBlockHeader->size ) ); in GetNextBinaryBlockHeader()
163 if ( ptr >= AddOffsetToPtr( pFileHeader, ReverseEndian( pFileHeader->fileSize ) ) ) in GetNextBinaryBlockHeader()
Dut_FrameHeap.cpp51 endAddress = RoundDown( AddOffsetToPtr( startAddress, size ), MIN_ALIGNMENT ); in Create()
67 AddOffsetToPtr( pHeap, sizeof(FrameHeap) ), // heapStart in Create()
159 void* endAddress = AddOffsetToPtr( newBlock, size ); in AllocFromHead()
192 AddOffsetToPtr( mTailAllocator, -static_cast<s32>(size) ), static_cast<u32>(alignment) ); in AllocFromTail()
250 void* endAddress = AddOffsetToPtr( memBlock, newSize ); in ResizeForMBlock()
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_WaveSoundFile.cpp103 ut::AddOffsetToPtr( this, toWaveSoundDataReferenceTable.offset ) ); in GetWaveSoundDataReferenceTable()
109 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable()
123 ut::AddOffsetToPtr( this, toWaveSoundInfo.offset ) ); in GetWaveSoundInfo()
130 ut::AddOffsetToPtr( this, toTrackInfoReferenceTable.offset ) ); in GetTrackInfoReferenceTable()
137 ut::AddOffsetToPtr( this, toNoteInfoReferenceTable.offset ) ); in GetNoteInfoReferenceTable()
210 ut::AddOffsetToPtr( this, value ) ); in GetSendValue()
229 ut::AddOffsetToPtr( this, offsetToReference ) ); in GetAdshrCurve()
231 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
242 ut::AddOffsetToPtr( this, toNoteEventReferenceTable.offset ) ); in GetNoteEventReferenceTable()
316 ut::AddOffsetToPtr( this, value ) ); in GetSendValue()
[all …]
Dsnd_MemorySoundArchive.cpp73 ut::AddOffsetToPtr( soundArchiveData, infoBlockOffset ) in Initialize()
89 ut::AddOffsetToPtr( soundArchiveData, stringBlockOffset )); in Initialize()
142 return ut::AddOffsetToPtr( m_pData, itemOffset ); in detail_GetFileAddress()
152 return ut::AddOffsetToPtr( m_pData, in detail_GetFileAddress()
163 ut::AddOffsetToPtr( m_pData, begin ), length ); in OpenStream()
208 std::memcpy( buf, ut::AddOffsetToPtr( m_pBuffer, m_Position ), readLen ); in Read()
Dsnd_BankFile.cpp77 return ut::AddOffsetToPtr( this, toRegion.offset ); in GetRegion()
93 ut::AddOffsetToPtr( this, in GetRegionTableAddress()
117 return ut::AddOffsetToPtr( this, ref.offset ); in GetRegion()
142 return ut::AddOffsetToPtr( this, toRegion[index-min].offset ); in GetRegion()
194 const void* regionChunk = ut::AddOffsetToPtr( startPtr, offset ); in GetRegion()
234 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable()
241 ut::AddOffsetToPtr( this, toInstrumentReferenceTable.offset ) ); in GetInstrumentReferenceTable()
370 ut::AddOffsetToPtr( this, offsetToReference ) ); in GetAdshrCurve()
372 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve()
383 ut::AddOffsetToPtr( this, sizeof(VelocityRegion) ) ); in GetRegionParameter()
Dsnd_StreamSoundFile.cpp83 ut::AddOffsetToPtr( this, toStreamSoundInfo.offset ) ); in GetStreamSoundInfo()
93 ut::AddOffsetToPtr( this, toTrackInfoTable.offset ) ); in GetTrackInfoTable()
103 ut::AddOffsetToPtr( this, toChannelInfoTable.offset ) ); in GetChannelInfoTable()
142 ut::AddOffsetToPtr( this, toDetailChannelInfo.offset ) ); in GetDspAdpcmChannelInfo()
Dsnd_SoundArchiveFile.cpp184 return ut::AddOffsetToPtr( this, toSection[section].offset ); in GetSection()
521 ut::AddOffsetToPtr( this, toSoundArchivePlayerInfo.offset ) ); in GetSoundArchivePlayerInfo()
529 ut::AddOffsetToPtr( this, toSoundInfoReferenceTable.offset ) ); in GetSoundInfoReferenceTable()
536 ut::AddOffsetToPtr( this, toBankInfoReferenceTable.offset ) ); in GetBankInfoReferenceTable()
543 ut::AddOffsetToPtr( this, toPlayerInfoReferenceTable.offset ) ); in GetPlayerInfoReferenceTable()
550 ut::AddOffsetToPtr( this, toSoundGroupInfoReferenceTable.offset ) ); in GetSoundGroupInfoReferenceTable()
557 ut::AddOffsetToPtr( this, toGroupInfoReferenceTable.offset ) ); in GetGroupInfoReferenceTable()
564 ut::AddOffsetToPtr( this, toWaveArchiveInfoReferenceTable.offset ) ); in GetWaveArchiveInfoReferenceTable()
571 ut::AddOffsetToPtr( this, toFileInfoReferenceTable.offset ) ); in GetFileInfoReferenceTable()
601 ut::AddOffsetToPtr( this, toDetailSoundInfo.offset ) ); in GetStreamSoundInfo()
[all …]
Dsnd_WaveFile.cpp61 ut::AddOffsetToPtr( dataBlockBodyAddress, referToSamples.offset ) ); in GetSamplesAddress()
68 ut::AddOffsetToPtr( this, referToAdpcmInfo.offset ) ); in GetDspAdpcmInfo()
Dsnd_WaveArchiveFile.cpp35 ut::AddOffsetToPtr( this, GetInfoBlockOffset() ) ); in GetInfoBlock()
41 ut::AddOffsetToPtr( this, GetFileBlockOffset() ) ); in GetFileBlock()
Dsnd_WaveFileReader.cpp176 … waveDataAddress = ut::AddOffsetToPtr( waveDataOffsetOrigin, m_pInfoBlockBody->dataLocation ); in GetWaveDataAddress()
178 waveDataAddress = ut::AddOffsetToPtr( waveDataAddress, 8 ); in GetWaveDataAddress()
188 waveDataAddress = ut::AddOffsetToPtr( waveDataAddress, waveChannelInfo->channelDataOffset ); in GetWaveDataAddress()
Dsnd_PlayerHeap.cpp72 void* endAddress = ut::AddOffsetToPtr( startAddress, size ); in Create()
114 void* endp = ut::AddOffsetToPtr( m_pAllocAddress, size ); in Alloc()
Dsnd_WaveArchiveFileReader.cpp97 ut::AddOffsetToPtr( in WaveArchiveFileReader()
176 ut::AddOffsetToPtr( m_pHeader, m_pHeader->GetFileBlockOffset() ) ); in HasIndividualLoadTable()
Dsnd_StreamBufferPool.cpp82 return ut::AddOffsetToPtr( m_pBuffer, m_BlockSize * totalIndex ); in Alloc()
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_Memory.cpp46 void* top = nw::ut::AddOffsetToPtr( memory, 1 ); in AlignMemory_()
49 u8* head = reinterpret_cast<u8*>( nw::ut::AddOffsetToPtr( top, - 1 ) ); in AlignMemory_()
105 u8* head = reinterpret_cast<u8*>( nw::ut::AddOffsetToPtr( memory, -1 ) ); in UnAlignMemory()
109 return nw::ut::AddOffsetToPtr( memory, -offset ); in UnAlignMemory()
/NW4C-2.0.3/include/nw/snd/
Dsnd_Util.h160 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem()
166 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem()
174 return ut::AddOffsetToPtr( this, item[i].offset ); in FindReferedItemBy()
186 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem()
194 return ut::AddOffsetToPtr( this, item[i].offset ); in GetReferedItemBy()
220 return ut::AddOffsetToPtr( origin, item[ index ].offset ); in GetReferedItemByIndex()
239 return ut::AddOffsetToPtr( origin, ref->offset ); in GetReferedItem()
294 ut::AddOffsetToPtr( this, ( count * sizeof(nw::ut::ResU32) ) ) ); in GetValue()
302 ut::AddOffsetToPtr( this, ( count * sizeof(nw::ut::ResF32) ) ) ); in GetValueF32()
Dsnd_GroupFile.h65 return static_cast<const GroupItemInfo*>( ut::AddOffsetToPtr( in GetGroupItemInfo()
111 return ut::AddOffsetToPtr( fileBlockBody, in GetFileLocation()
144 return static_cast<const GroupItemInfoEx*>( ut::AddOffsetToPtr( in GetGroupItemInfoEx()
Dsnd_AnimSoundFile.h164 ut::AddOffsetToPtr( this, toSoundLabel.offset ) ); in GetSoundLabel()
203 ut::AddOffsetToPtr( this, toEventInfo.offset ) ); in GetEventInfo()
220 ut::AddOffsetToPtr( this, toAnimEventTable.offset ) ); in GetAnimEventTable()
Dsnd_SoundArchiveFile.h181 ut::AddOffsetToPtr( this, table.item[ stringId ].offset ) ); in GetString()
359 ut::AddOffsetToPtr( this, toWaveArchiveItemIdTable.offset ) ); in GetWaveArchiveItemIdTable()
390 ut::AddOffsetToPtr( this, toFileIdTable.offset ) ); in GetFileIdTable()
401 ut::AddOffsetToPtr( this, toDetailSoundGroupInfo.offset ) ); in GetWaveSoundGroupInfo()
425 ut::AddOffsetToPtr( this, toWaveArchiveItemIdTable.offset ) ); in GetWaveArchiveItemIdTable()
Dsnd_StreamSoundFile.h173 ut::AddOffsetToPtr( this, GetInfoBlockOffset() ) ); in GetInfoBlock()
262 ut::AddOffsetToPtr( in GetGlobalChannelIndexTable()
Dsnd_WaveArchiveFileReader.h71 return ut::AddOffsetToPtr( &m_pHeader->GetFileBlock()->body, offset ); in GetWaveFileForWhole()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_ShaderBinaryInfo.h207 …lInfo* bindSymbolInfoTable = static_cast<const BindSymbolInfo*>( ut::AddOffsetToPtr(exeInfo, exeIn… in SearchUniformIndex()
208 …const char* stringTable = static_cast<const char*>( ut::AddOffsetToPtr(exeInfo, exeInfo->stringOff… in SearchUniformIndex()
261 … = static_cast<const BindSymbolInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->bindSymbolOffset ) ); in SearchUniformIndex()
262 …const char* stringTable = static_cast<const char*>( ut::AddOffsetToPtr( exeInfo, exeInfo->stringOf… in SearchUniformIndex()
320 ut::AddOffsetToPtr( exeInfo, exeInfo->bindSymbolOffset ) in SearchBinadSymbolCount()
387 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in GetBoolConstant()
565 …const OutmapInfo* outmapInfoTable = static_cast<const OutmapInfo*>( ut::AddOffsetToPtr( exeInfo, e… in GetShaderOutputRegisterMap()
879 m_EndAddress( static_cast<u32*>( ut::AddOffsetToPtr(start, size) ) ), in SafeBuffer()
906 if (ut::AddOffsetToPtr(m_CurrentAddress, size) <= m_EndAddress) in VerifyWriteSize()
956 m_CurrentAddress = static_cast<u32*>( ut::AddOffsetToPtr(m_CurrentAddress, size) ); in MoveAddress()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ShaderBinaryInfo.cpp59 m_pInstruction = static_cast<const u32*>( ut::AddOffsetToPtr( packageInfo, *binary ) ); in AnalyzeBinary()
65 const u32* swizzle = static_cast<const u32*>( ut::AddOffsetToPtr( packageInfo, *binary ) ); in AnalyzeBinary()
188 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in GetConstRegCommandSize()
461 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in BuildConstRegCommand()
/NW4C-2.0.3/sources/libraries/font/
Dfont_RectDrawer.cpp646 ut::AddOffsetToPtr( in GetShaderPackageHeader()
664 ut::AddOffsetToPtr( in GetExeImageHeader()
855 void *const vertexBuffer = ut::AddOffsetToPtr(vtxBufCmdBuf, cmdBufSize); in Initialize()
1087 ut::AddOffsetToPtr(m_CommandBuffer, DrawBeginCommandBytes), in InitializeCMD()
1122 static_cast<const u32*>(ut::AddOffsetToPtr(&pkgHead, pkgHead.instOffset)); in InitializeCMD()
1156 static_cast<const SwizzleInfo*>(ut::AddOffsetToPtr(&pkgHead, pkgHead.swizzleOffset)); in InitializeCMD()
1186 ut::AddOffsetToPtr( in InitializeCMD()
1277 ut::AddOffsetToPtr( in InitializeCMD()
1411 …void *const eleArrayBuf = ut::AddOffsetToPtr(m_VertexBufferArray, sizeof(s_VertexBuffer.position)); in InitializeCMD()
Dfont_ArchiveFontBase.cpp1126 …mpSizeSheetsArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeSheets)); in FontGlyphGroupsAcs()
1127 … mpSizeCWDHArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeCWDH)); in FontGlyphGroupsAcs()
1128 … mpSizeCMAPArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeCMAP)); in FontGlyphGroupsAcs()
1129 … mpUseSheetArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseSheets)); in FontGlyphGroupsAcs()
1130 mpUseCWDHArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseCWDH)); in FontGlyphGroupsAcs()
1131 mpUseCMAPArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseCMAP)); in FontGlyphGroupsAcs()
/NW4C-2.0.3/include/nw/ut/
Dut_Inlines.h799 AddOffsetToPtr( void* ptr, T offset ) in AddOffsetToPtr() function
805 AddOffsetToPtr( const void* ptr, T offset ) in AddOffsetToPtr() function
822 return AddOffsetToPtr( ptr, offset ); in AddU32ToPtr()
827 return AddOffsetToPtr( ptr, offset ); in AddU32ToPtr()

12