| /NW4C-1.3.3/sources/libraries/ut/ |
| D | ut_BinaryFileFormat.cpp | 137 ptr = AddOffsetToPtr( pFileHeader, pFileHeader->headerSize ); in GetNextBinaryBlockHeader() 141 ptr = AddOffsetToPtr( pBlockHeader, pBlockHeader->size ); in GetNextBinaryBlockHeader() 144 if ( ptr >= AddOffsetToPtr( pFileHeader, pFileHeader->fileSize ) ) in GetNextBinaryBlockHeader() 154 ptr = AddOffsetToPtr( pFileHeader, ReverseEndian( pFileHeader->headerSize ) ); in GetNextBinaryBlockHeader() 158 ptr = AddOffsetToPtr( pBlockHeader, ReverseEndian( pBlockHeader->size ) ); in GetNextBinaryBlockHeader() 161 if ( ptr >= AddOffsetToPtr( pFileHeader, ReverseEndian( pFileHeader->fileSize ) ) ) in GetNextBinaryBlockHeader()
|
| D | ut_FrameHeap.cpp | 49 endAddress = RoundDown( AddOffsetToPtr( startAddress, size ), MIN_ALIGNMENT ); in Create() 65 AddOffsetToPtr( pHeap, sizeof(FrameHeap) ), // heapStart in Create() 157 void* endAddress = AddOffsetToPtr( newBlock, size ); in AllocFromHead() 190 AddOffsetToPtr( mTailAllocator, -static_cast<s32>(size) ), static_cast<u32>(alignment) ); in AllocFromTail() 248 void* endAddress = AddOffsetToPtr( memBlock, newSize ); in ResizeForMBlock()
|
| /NW4C-1.3.3/sources/libraries/snd/ |
| D | snd_WaveSoundFile.cpp | 101 ut::AddOffsetToPtr( this, toWaveSoundDataReferenceTable.offset ) ); in GetWaveSoundDataReferenceTable() 107 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 121 ut::AddOffsetToPtr( this, toWaveSoundInfo.offset ) ); in GetWaveSoundInfo() 128 ut::AddOffsetToPtr( this, toTrackInfoReferenceTable.offset ) ); in GetTrackInfoReferenceTable() 135 ut::AddOffsetToPtr( this, toNoteInfoReferenceTable.offset ) ); in GetNoteInfoReferenceTable() 208 ut::AddOffsetToPtr( this, value ) ); in GetSendValue() 227 ut::AddOffsetToPtr( this, offsetToReference ) ); in GetAdshrCurve() 229 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve() 240 ut::AddOffsetToPtr( this, toNoteEventReferenceTable.offset ) ); in GetNoteEventReferenceTable() 314 ut::AddOffsetToPtr( this, value ) ); in GetSendValue() [all …]
|
| D | snd_MemorySoundArchive.cpp | 71 ut::AddOffsetToPtr( soundArchiveData, infoBlockOffset ) in Initialize() 87 ut::AddOffsetToPtr( soundArchiveData, stringBlockOffset )); in Initialize() 140 return ut::AddOffsetToPtr( m_pData, itemOffset ); in detail_GetFileAddress() 150 return ut::AddOffsetToPtr( m_pData, in detail_GetFileAddress() 161 ut::AddOffsetToPtr( m_pData, begin ), length ); in OpenStream() 206 std::memcpy( buf, ut::AddOffsetToPtr( m_pBuffer, m_Position ), readLen ); in Read()
|
| D | snd_BankFile.cpp | 75 return ut::AddOffsetToPtr( this, toRegion.offset ); in GetRegion() 91 ut::AddOffsetToPtr( this, in GetRegionTableAddress() 115 return ut::AddOffsetToPtr( this, ref.offset ); in GetRegion() 140 return ut::AddOffsetToPtr( this, toRegion[index-min].offset ); in GetRegion() 192 const void* regionChunk = ut::AddOffsetToPtr( startPtr, offset ); in GetRegion() 232 ut::AddOffsetToPtr( this, toWaveIdTable.offset ) ); in GetWaveIdTable() 239 ut::AddOffsetToPtr( this, toInstrumentReferenceTable.offset ) ); in GetInstrumentReferenceTable() 368 ut::AddOffsetToPtr( this, offsetToReference ) ); in GetAdshrCurve() 370 ut::AddOffsetToPtr( &ref, ref.offset ) ); in GetAdshrCurve() 381 ut::AddOffsetToPtr( this, sizeof(VelocityRegion) ) ); in GetRegionParameter()
|
| D | snd_StreamSoundFile.cpp | 81 ut::AddOffsetToPtr( this, toStreamSoundInfo.offset ) ); in GetStreamSoundInfo() 91 ut::AddOffsetToPtr( this, toTrackInfoTable.offset ) ); in GetTrackInfoTable() 101 ut::AddOffsetToPtr( this, toChannelInfoTable.offset ) ); in GetChannelInfoTable() 140 ut::AddOffsetToPtr( this, toDetailChannelInfo.offset ) ); in GetDspAdpcmChannelInfo()
|
| D | snd_SoundArchiveFile.cpp | 182 return ut::AddOffsetToPtr( this, toSection[section].offset ); in GetSection() 507 ut::AddOffsetToPtr( this, toSoundArchivePlayerInfo.offset ) ); in GetSoundArchivePlayerInfo() 515 ut::AddOffsetToPtr( this, toSoundInfoReferenceTable.offset ) ); in GetSoundInfoReferenceTable() 522 ut::AddOffsetToPtr( this, toBankInfoReferenceTable.offset ) ); in GetBankInfoReferenceTable() 529 ut::AddOffsetToPtr( this, toPlayerInfoReferenceTable.offset ) ); in GetPlayerInfoReferenceTable() 536 ut::AddOffsetToPtr( this, toSoundGroupInfoReferenceTable.offset ) ); in GetSoundGroupInfoReferenceTable() 543 ut::AddOffsetToPtr( this, toGroupInfoReferenceTable.offset ) ); in GetGroupInfoReferenceTable() 550 ut::AddOffsetToPtr( this, toWaveArchiveInfoReferenceTable.offset ) ); in GetWaveArchiveInfoReferenceTable() 557 ut::AddOffsetToPtr( this, toFileInfoReferenceTable.offset ) ); in GetFileInfoReferenceTable() 587 ut::AddOffsetToPtr( this, toDetailSoundInfo.offset ) ); in GetStreamSoundInfo() [all …]
|
| D | snd_WaveFile.cpp | 59 ut::AddOffsetToPtr( dataBlockBodyAddress, referToSamples.offset ) ); in GetSamplesAddress() 66 ut::AddOffsetToPtr( this, referToAdpcmInfo.offset ) ); in GetDspAdpcmInfo()
|
| D | snd_WaveArchiveFile.cpp | 33 ut::AddOffsetToPtr( this, GetInfoBlockOffset() ) ); in GetInfoBlock() 39 ut::AddOffsetToPtr( this, GetFileBlockOffset() ) ); in GetFileBlock()
|
| D | snd_WaveFileReader.cpp | 174 … waveDataAddress = ut::AddOffsetToPtr( waveDataOffsetOrigin, m_pInfoBlockBody->dataLocation ); in GetWaveDataAddress() 176 waveDataAddress = ut::AddOffsetToPtr( waveDataAddress, 8 ); in GetWaveDataAddress() 186 waveDataAddress = ut::AddOffsetToPtr( waveDataAddress, waveChannelInfo->channelDataOffset ); in GetWaveDataAddress()
|
| D | snd_PlayerHeap.cpp | 70 void* endAddress = ut::AddOffsetToPtr( startAddress, size ); in Create() 109 void* endp = ut::AddOffsetToPtr( m_pAllocAddress, size ); in Alloc()
|
| D | snd_WaveArchiveFileReader.cpp | 95 ut::AddOffsetToPtr( in WaveArchiveFileReader() 174 ut::AddOffsetToPtr( m_pHeader, m_pHeader->GetFileBlockOffset() ) ); in HasIndividualLoadTable()
|
| D | snd_StreamBufferPool.cpp | 80 return ut::AddOffsetToPtr( m_pBuffer, m_BlockSize * totalIndex ); in Alloc()
|
| D | snd_SoundArchivePlayer.cpp | 383 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, sizeof(internal::PlayerHeap) ), 4 ); in CreatePlayerHeap() 395 ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, heapSize ), 4 ); in CreatePlayerHeap() 422 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requireSize ), 4 ); in SetupSoundPlayer() 494 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requireSize ), 4 ); in SetupSequenceSound() 526 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requireSize ), 4 ); in SetupWaveSound() 558 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requireSize ), 4 ); in SetupStreamSound() 590 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requireSize ), 4 ); in SetupSequenceTrack()
|
| /NW4C-1.3.3/sources/libraries/demo/ |
| D | demo_Memory.cpp | 44 void* top = nw::ut::AddOffsetToPtr( memory, 1 ); in AlignMemory_() 47 u8* head = reinterpret_cast<u8*>( nw::ut::AddOffsetToPtr( top, - 1 ) ); in AlignMemory_() 103 u8* head = reinterpret_cast<u8*>( nw::ut::AddOffsetToPtr( memory, -1 ) ); in UnAlignMemory() 107 return nw::ut::AddOffsetToPtr( memory, -offset ); in UnAlignMemory()
|
| /NW4C-1.3.3/include/nw/snd/ |
| D | snd_Util.h | 158 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 164 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 172 return ut::AddOffsetToPtr( this, item[i].offset ); in FindReferedItemBy() 184 return ut::AddOffsetToPtr( this, item[ index ].offset ); in GetReferedItem() 192 return ut::AddOffsetToPtr( this, item[i].offset ); in GetReferedItemBy() 218 return ut::AddOffsetToPtr( origin, item[ index ].offset ); in GetReferedItemByIndex() 237 return ut::AddOffsetToPtr( origin, ref->offset ); in GetReferedItem() 292 ut::AddOffsetToPtr( this, ( count * sizeof(nw::ut::ResU32) ) ) ); in GetValue() 300 ut::AddOffsetToPtr( this, ( count * sizeof(nw::ut::ResF32) ) ) ); in GetValueF32()
|
| D | snd_GroupFile.h | 63 return static_cast<const GroupItemInfo*>( ut::AddOffsetToPtr( in GetGroupItemInfo() 109 return ut::AddOffsetToPtr( fileBlockBody, in GetFileLocation() 142 return static_cast<const GroupItemInfoEx*>( ut::AddOffsetToPtr( in GetGroupItemInfoEx()
|
| D | snd_SoundArchiveFile.h | 179 ut::AddOffsetToPtr( this, table.item[ stringId ].offset ) ); in GetString() 357 ut::AddOffsetToPtr( this, toWaveArchiveItemIdTable.offset ) ); in GetWaveArchiveItemIdTable() 388 ut::AddOffsetToPtr( this, toFileIdTable.offset ) ); in GetFileIdTable() 399 ut::AddOffsetToPtr( this, toDetailSoundGroupInfo.offset ) ); in GetWaveSoundGroupInfo() 423 ut::AddOffsetToPtr( this, toWaveArchiveItemIdTable.offset ) ); in GetWaveArchiveItemIdTable()
|
| D | snd_StreamSoundFile.h | 171 ut::AddOffsetToPtr( this, GetInfoBlockOffset() ) ); in GetInfoBlock() 260 ut::AddOffsetToPtr( in GetGlobalChannelIndexTable()
|
| D | snd_WaveArchiveFileReader.h | 69 return ut::AddOffsetToPtr( &m_pHeader->GetFileBlock()->body, offset ); in GetWaveFileForWhole()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_ShaderBinaryInfo.h | 205 …lInfo* bindSymbolInfoTable = static_cast<const BindSymbolInfo*>( ut::AddOffsetToPtr(exeInfo, exeIn… in SearchUniformIndex() 206 …const char* stringTable = static_cast<const char*>( ut::AddOffsetToPtr(exeInfo, exeInfo->stringOff… in SearchUniformIndex() 259 … = static_cast<const BindSymbolInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->bindSymbolOffset ) ); in SearchUniformIndex() 260 …const char* stringTable = static_cast<const char*>( ut::AddOffsetToPtr( exeInfo, exeInfo->stringOf… in SearchUniformIndex() 318 ut::AddOffsetToPtr( exeInfo, exeInfo->bindSymbolOffset ) in SearchBinadSymbolCount() 385 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in GetBoolConstant() 563 …const OutmapInfo* outmapInfoTable = static_cast<const OutmapInfo*>( ut::AddOffsetToPtr( exeInfo, e… in GetShaderOutputRegisterMap() 877 m_EndAddress( static_cast<u32*>( ut::AddOffsetToPtr(start, size) ) ), in SafeBuffer() 904 if (ut::AddOffsetToPtr(m_CurrentAddress, size) <= m_EndAddress) in VerifyWriteSize() 954 m_CurrentAddress = static_cast<u32*>( ut::AddOffsetToPtr(m_CurrentAddress, size) ); in MoveAddress()
|
| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_ShaderBinaryInfo.cpp | 57 m_pInstruction = static_cast<const u32*>( ut::AddOffsetToPtr( packageInfo, *binary ) ); in AnalyzeBinary() 63 const u32* swizzle = static_cast<const u32*>( ut::AddOffsetToPtr( packageInfo, *binary ) ); in AnalyzeBinary() 186 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in GetConstRegCommandSize() 459 static_cast<const SetupInfo*>( ut::AddOffsetToPtr( exeInfo, exeInfo->setupOffset) ); in BuildConstRegCommand()
|
| /NW4C-1.3.3/sources/libraries/font/ |
| D | font_RectDrawer.cpp | 620 ut::AddOffsetToPtr( in GetShaderPackageHeader() 638 ut::AddOffsetToPtr( in GetExeImageHeader() 829 void *const vertexBuffer = ut::AddOffsetToPtr(vtxBufCmdBuf, cmdBufSize); in Initialize() 1059 ut::AddOffsetToPtr(m_CommandBuffer, DrawBeginCommandBytes), in InitializeCMD() 1093 static_cast<const u32*>(ut::AddOffsetToPtr(&pkgHead, pkgHead.instOffset)); in InitializeCMD() 1127 static_cast<const SwizzleInfo*>(ut::AddOffsetToPtr(&pkgHead, pkgHead.swizzleOffset)); in InitializeCMD() 1157 ut::AddOffsetToPtr( in InitializeCMD() 1248 ut::AddOffsetToPtr( in InitializeCMD() 1382 …void *const eleArrayBuf = ut::AddOffsetToPtr(m_VertexBufferArray, sizeof(s_VertexBuffer.position)); in InitializeCMD()
|
| D | font_ArchiveFontBase.cpp | 1124 …mpSizeSheetsArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeSheets)); in FontGlyphGroupsAcs() 1125 … mpSizeCWDHArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeCWDH)); in FontGlyphGroupsAcs() 1126 … mpSizeCMAPArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetSizeCMAP)); in FontGlyphGroupsAcs() 1127 … mpUseSheetArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseSheets)); in FontGlyphGroupsAcs() 1128 mpUseCWDHArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseCWDH)); in FontGlyphGroupsAcs() 1129 mpUseCMAPArray = reinterpret_cast<const u32*>(ut::AddOffsetToPtr(mpHeader, offsetUseCMAP)); in FontGlyphGroupsAcs()
|
| /NW4C-1.3.3/include/nw/ut/ |
| D | ut_Inlines.h | 797 AddOffsetToPtr( void* ptr, T offset ) in AddOffsetToPtr() function 803 AddOffsetToPtr( const void* ptr, T offset ) in AddOffsetToPtr() function 820 return AddOffsetToPtr( ptr, offset ); in AddU32ToPtr() 825 return AddOffsetToPtr( ptr, offset ); in AddU32ToPtr()
|