Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 24 of 24) sorted by relevance

/NW4C-1.2.23/include/nw/io/
Dio_IOStream.h127 virtual s32 Read( void* buf, u32 length );
148 void* buf,
170 virtual s32 Write( const void* buf, u32 length );
192 const void* buf,
Dio_HioFileStream.h48 virtual s32 Read( void* buf, u32 length );
49 virtual s32 Write( const void* buf, u32 length );
Dio_RomFileStream.h48 virtual s32 Read( void* buf, u32 length );
/NW4C-1.2.23/include/nw/gfx/
Dgfx_TransformAnim.h596 void* buf = allocator->Alloc(sizeof(TransformAnimEvaluator)); in Create() local
598 if (buf == NULL) in Create()
603 TransformAnimEvaluator* evaluator = new(buf) TransformAnimEvaluator(allocator); in Create()
749 virtual void SetCacheBuffer(void* buf, int size) in SetCacheBuffer() argument
751 if (buf != NULL) in SetCacheBuffer()
755 m_CacheTransforms = ut::MoveArray<CalculatedTransform>(buf, maxCalculatedTransforms); in SetCacheBuffer()
949 void* buf = allocator->Alloc(sizeof(TransformAnimInterpolator)); in Create() local
951 if (buf == NULL) in Create()
956 TransformAnimInterpolator* interpolator = new(buf) TransformAnimInterpolator(allocator); in Create()
1071 void* buf = allocator->Alloc(sizeof(TransformAnimAdder)); in Create() local
[all …]
Dgfx_AnimObject.h164 void* buf = allocator->Alloc(sizeof(AnimGroup)); in Create() local
166 if (buf == NULL) in Create()
171 AnimGroup* animGroup = new(buf) AnimGroup(m_ResAnimGroup, m_SceneNode, allocator); in Create()
562 void* buf = allocator->Alloc(sizeof(AnimBinding)); in Create() local
564 if (buf == NULL) in Create()
569 AnimBinding* animBinding = new(buf) AnimBinding(allocator, m_MaxAnimObjectsPerGroup); in Create()
1122 virtual void SetCacheBuffer(void* buf, int size) in SetCacheBuffer() argument
1124 (void)buf; in SetCacheBuffer()
1316 void* buf = allocator->Alloc(sizeof(AnimEvaluator)); in Create() local
1318 if (buf == NULL) in Create()
[all …]
Dgfx_GfxObject.h56 static void* operator new( size_t, void* buf ) NW_NO_THROW { return buf; } in new() argument
/NW4C-1.2.23/sources/libraries/io/
Dio_HioFileStream.cpp160 s32 HioFileStream::Read( void* buf, u32 length ) in Read() argument
169 s32 readBytes = m_pOpenedFile->Read( buf, length ); in Read()
177 s32 HioFileStream::Write( const void* buf, u32 length ) in Write() argument
186 s32 writeBytes = m_pOpenedFile->Write( buf, length ); in Write()
Dio_RomFileStream.cpp153 s32 RomFileStream::Read( void* buf, u32 length ) in Read() argument
163 s32 readBytes = nn::fs::ReadFile( &m_File, buf, length ); in Read()
173 s32 readBytes = m_pOpenedFileReader->Read( buf, length ); in Read()
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_SoundArchivePlayer.cpp313 void* buf = buffer; in SetupMram() local
314 if ( ! SetupSoundPlayer( arc, &buf, endp ) ) in SetupMram()
322 if ( ! SetupSequenceSound( arc, soundArchivePlayerInfo.sequenceSoundMax, &buf, endp ) ) in SetupMram()
327 if ( ! SetupWaveSound( arc, soundArchivePlayerInfo.waveSoundMax, &buf, endp ) ) in SetupMram()
332 if ( ! SetupStreamSound( arc, soundArchivePlayerInfo.streamSoundMax, &buf, endp ) ) in SetupMram()
337 if ( ! SetupSequenceTrack( arc, soundArchivePlayerInfo.sequenceTrackMax, &buf, endp ) ) in SetupMram()
344 static_cast<char*>(buf) - static_cast<char*>(buffer) == in SetupMram()
376 void* buf = *buffer; in CreatePlayerHeap() local
379 internal::PlayerHeap* playerHeap = new ( buf ) internal::PlayerHeap(); in CreatePlayerHeap()
388 buf = *buffer; in CreatePlayerHeap()
[all …]
Dsnd_MemorySoundArchive.cpp203 s32 MemorySoundArchive::MemoryFileStream::Read( void* buf, u32 length ) in Read() argument
206 std::memcpy( buf, ut::AddOffsetToPtr( m_pBuffer, m_Position ), readLen ); in Read()
Dsnd_HioSoundArchive.cpp404 s32 HioSoundArchive::HioFileStream::Read( void* buf, u32 length ) in Read() argument
406 NW_ALIGN32_ASSERT( buf ); in Read()
413 return io::HioFileStream::Read( buf, length ); in Read()
Dsnd_RomSoundArchive.cpp648 s32 RomSoundArchive::RomFileStream::Read( void* buf, u32 length ) in Read() argument
650 NW_ALIGN32_ASSERT( buf ); in Read()
657 return io::RomFileStream::Read( buf, length ); in Read()
Dsnd_SoundDataManager.cpp87 void* buf = buffer; in Initialize() local
89 if ( ! CreateFileAddressTable( arc, &buf, endp ) ) in Initialize()
94 NW_ASSERT( static_cast<char*>(buf) - static_cast<char*>(buffer) == GetRequiredMemSize( arc ) ); in Initialize()
/NW4C-1.2.23/include/nw/snd/
Dsnd_MemorySoundArchive.h128 virtual s32 Read( void* buf, u32 length );
Dsnd_HioSoundArchive.h81 virtual s32 Read( void* buf, u32 length );
Dsnd_RomSoundArchive.h244 virtual s32 Read( void* buf, u32 length );
/NW4C-1.2.23/include/nw/ut/
Dut_SharedPtr.h48 void* buf = pAllocator->Alloc( sizeof(SharedPtrCount) ); variable
49 return new(buf) SharedPtrCount( pAllocator );
/NW4C-1.2.23/include/nw/font/
Dfont_ArchiveFontBase.h75 void* buf,
86 void* buf,
Dfont_RectDrawer.h272 u32* __restrict buf,
/NW4C-1.2.23/sources/libraries/font/
Dfont_ArchiveFontBase.cpp903 void* buf, in CopyTo() argument
909 u8* buf8 = reinterpret_cast<u8*>(buf); in CopyTo()
929 void* buf, in MoveTo() argument
935 u8* buf8 = reinterpret_cast<u8*>(buf); in MoveTo()
Dfont_RectDrawer.cpp1431 u32* __restrict buf, in InitUniformBuffer() argument
1439 buf[0] = data; in InitUniformBuffer()
1440 buf[1] = PICA_CMD_HEADER_SINGLE( PICA_REG_VS_FLOAT_ADDR ); in InitUniformBuffer()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_MeshRenderer.cpp90 void* buf = pAllocator->Alloc(size); in Create() local
92 return new(buf) MeshRenderer(pAllocator); in Create()
/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResShape.cpp271 void* buf = resStream.GetStream(); in Setup() local
/NW4C-1.2.23/tools/DccPlugin/Maya/scripts/
DNW4C_ExpDialog.mel1464 string $name, $buf[];
1468 int $depth = tokenize($xform, "|", $buf);