Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 79) sorted by relevance

1234

/NW4C-1.2.23/include/nw/snd/
Dsnd_Util.h114 COUNT_TYPE count; member
153 if ( index >= count ) return NULL; in GetReferedItem()
158 if ( index >= count ) return NULL; in GetReferedItem()
164 for ( u32 i = 0; i < count; i++ ) in FindReferedItemBy()
179 NW_ASSERT( index < count ); in GetReferedItem()
184 for ( u32 i = 0; i < count; i++ ) in GetReferedItemBy()
195 NW_ASSERT( index < count ); in GetReferedItemSize()
210 const void* origin, int index, u16 count ) const in GetReferedItemByIndex()
212 NW_UNUSED_VARIABLE(count); in GetReferedItemByIndex()
213 NW_ASSERT( index < count ); in GetReferedItemByIndex()
[all …]
Dsnd_SoundSystem.h895 static void GetSoundThreadTickCount( nn::os::Tick& tick, int& count ) in GetSoundThreadTickCount() argument
898 internal::driver::SoundThread::GetInstance().GetTickCount( tick, count ); in GetSoundThreadTickCount()
901 NW_UNUSED_VARIABLE( count ); in GetSoundThreadTickCount()
1053 static void SetMaxVoiceCount( int count ) in SetMaxVoiceCount() argument
1055 NW_MINMAX_ASSERT( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount()
1056 count = ut::Clamp( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount()
1057 s_MaxVoiceCount = count; in SetMaxVoiceCount()
Dsnd_SoundArchiveFile.h142 NW_MINMAX_ASSERT( idx, 0L, static_cast<int>( nodeTable.count - 1 ));
160 u32 GetNumData() const { return nodeTable.count; } in GetNumData()
183 return table.count; in GetCount()
218 NW_INLINE u32 GetSoundCount() const { return GetSoundInfoReferenceTable().count; } in GetSoundCount()
219 NW_INLINE u32 GetBankCount() const { return GetBankInfoReferenceTable().count; } in GetBankCount()
220 NW_INLINE u32 GetPlayerCount() const { return GetPlayerInfoReferenceTable().count; } in GetPlayerCount()
221 … NW_INLINE u32 GetSoundGroupCount() const { return GetSoundGroupInfoReferenceTable().count; } in GetSoundGroupCount()
222 NW_INLINE u32 GetGroupCount() const { return GetGroupInfoReferenceTable().count; } in GetGroupCount()
223 … NW_INLINE u32 GetWaveArchiveCount() const { return GetWaveArchiveInfoReferenceTable().count; } in GetWaveArchiveCount()
224 NW_INLINE u32 GetFileCount() const { return GetFileInfoReferenceTable().count; } in GetFileCount()
[all …]
Dsnd_WaveSoundFile.h149 return GetWaveSoundDataReferenceTable().count; in GetWaveSoundCount()
189 return GetTrackInfoReferenceTable().count; in GetTrackCount()
193 return GetNoteInfoReferenceTable().count; in GetNoteCount()
228 return GetNoteEventReferenceTable().count; in GetNoteEventCount()
Dsnd_StreamSoundFile.h235 u32 GetTrackCount() const { return table.count; } in GetTrackCount()
273 NW_INLINE u32 GetCount() const { return table.count; } in GetCount()
276 NW_ASSERT( index < table.count ); in GetGlobalIndex()
288 NW_INLINE u32 GetChannelCount() const { return table.count; } in GetChannelCount()
Dsnd_GroupFile.h51 return referenceTableOfGroupItemInfo.count; in GetGroupItemInfoCount()
67 NW_INLINE u32 GetItemCount() const { return table.count; }
Dsnd_DriverCommandManager.h55 void* AllocMemory( u32 count );
56 void* TryAllocMemory( u32 count );
/NW4C-1.2.23/include/nw/gfx/
Dgfx_CommandUtil.h452 MakeCommandHeader(u32 address, int count, bool incremental, u8 byteEnable) in MakeCommandHeader() argument
465 NW_ASSERT(0 < count && count <= 256); in MakeCommandHeader()
474 result |= ut::internal::MakeBits(count - 1, SIZE_WIDTH, SIZE_SHIFT); in MakeCommandHeader()
481 #define NW_GFX_GPU_HEADER(addr, count, incremental, byteEnable) (u32)((incremental << 31) | (count argument
661 NWSetUniform4fv(u32 index, int count, const f32* data) in NWSetUniform4fv() argument
680 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform4fv()
712 switch (count) in NWSetUniform4fv()
801 NWSetUniform3fv(u32 index, int count, const f32* data) in NWSetUniform3fv() argument
821 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform3fv()
853 switch (count) in NWSetUniform3fv()
[all …]
Dgfx_ShaderBinaryInfo.h287 s32 count = 0; in SearchBinadSymbolCount() local
300 ++count; in SearchBinadSymbolCount()
306 ++count; in SearchBinadSymbolCount()
312 ++count; in SearchBinadSymbolCount()
318 ++count; in SearchBinadSymbolCount()
325 return count; in SearchBinadSymbolCount()
383 s32 count = 0; in GetInputRegisterNum() local
389 ++count; in GetInputRegisterNum()
393 return count; in GetInputRegisterNum()
408 s32 count = 0; in GetOutputRegisterNum() local
[all …]
Dgfx_MemoryUtil.h61 #define INVOKE_SUB(count) \ in FastWordCopy() argument
62 if (size == count) \ in FastWordCopy()
64 return FastWordCopyAsm_##count(dst, src); \ in FastWordCopy()
Dgfx_DisplayList.h118 void WriteData(const void* data, int count) in WriteData() argument
121 NW_ASSERT( count > 0 ); in WriteData()
124 int copyCount = count; in WriteData()
Dgfx_ShaderProgram.h347 …cation, const math::VEC2* vec, int count) const { glUniform2fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument
355 …cation, const math::VEC3* vec, int count) const { glUniform3fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument
363 …cation, const math::VEC4* vec, int count) const { glUniform4fv(m_UniformLocation->GetUniformLocati… in SetUniforms() argument
Dgfx_ParticleSet.h267 int count);
276 int AddParticles(int count);
374 int count,
/NW4C-1.2.23/sources/libraries/snd/
Dsnd_DriverCommandManager.cpp63 void* DriverCommandManager::AllocMemory( u32 count ) in AllocMemory() argument
65 NW_ASSERT( count <= m_CommandMemoryAreaSize ); in AllocMemory()
67 void* ptr = TryAllocMemory( count ); in AllocMemory()
71 ptr = TryAllocMemory( count ); in AllocMemory()
79 ptr = TryAllocMemory( count ); in AllocMemory()
85 void* DriverCommandManager::TryAllocMemory( u32 count ) in TryAllocMemory() argument
93 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaEnd ) { in TryAllocMemory()
95 m_CommandMemoryAreaBegin += count; in TryAllocMemory()
100 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaSize ) { in TryAllocMemory()
102 m_CommandMemoryAreaBegin += count; in TryAllocMemory()
[all …]
Dsnd_InstancePool.cpp98 int count = 0; in CountImpl() local
101 ++count; in CountImpl()
103 return count; in CountImpl()
Dsnd_SoundPlayer.cpp365 void SoundPlayer::SetPlayableSoundCount( int count ) in SetPlayableSoundCount() argument
367 NW_ASSERT( count >= 0 ); in SetPlayableSoundCount()
370 NW_WARNING( count <= m_PlayableLimit, "playable sound count is over limit." ); in SetPlayableSoundCount()
371 count = ut::Clamp( count, 0, m_PlayableLimit ); in SetPlayableSoundCount()
373 m_PlayableCount = count; in SetPlayableSoundCount()
Dsnd_WaveSoundFile.cpp210 NW_ASSERT( fxSendCount <= sendValue.fxSend.count ); in GetSendValue()
212 int countSize = sendValue.fxSend.count > AUX_BUS_NUM ? in GetSendValue()
213 AUX_BUS_NUM : sendValue.fxSend.count; in GetSendValue()
316 NW_ASSERT( fxSendCount <= sendValue.fxSend.count ); in GetSendValue()
318 int countSize = sendValue.fxSend.count > AUX_BUS_NUM ? in GetSendValue()
319 AUX_BUS_NUM : sendValue.fxSend.count; in GetSendValue()
Dsnd_SoundArchiveFile.cpp221 section, tree->rootIdx, tree->nodeTable.count ); in DumpTree()
222 for ( u32 i = 0; i < tree->nodeTable.count; i++ ) in DumpTree()
236 if ( rootIdx >= nodeTable.count ) in GetNodeDataBy()
279 if ( index >= table.count ) in GetSoundInfo()
296 if ( index >= table.count ) in GetBankInfo()
313 if ( index >= table.count ) in GetPlayerInfo()
330 if ( index >= table.count ) in GetSoundGroupInfo()
347 if ( index >= table.count ) in GetGroupInfo()
364 if ( index >= table.count ) in GetWaveArchiveInfo()
376 if ( index >= table.count ) in GetFileInfo()
[all …]
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_MemoryUtil.cpp69 LCLA count in copy_asm_declarations()
70 count SETA $val in copy_asm_declarations()
71 WHILE count >= 8 in copy_asm_declarations()
72 count SETA count-8 in copy_asm_declarations()
76 IF count == 2 in copy_asm_declarations()
79 IF count == 4 in copy_asm_declarations()
82 IF count == 6 in copy_asm_declarations()
Dgfx_MeshRenderer.cpp481 int count = particleShape->GetVertexCapacity(); in RenderParticleShape() local
482 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
486 for (int i = 0; i < count; ++i) in RenderParticleShape()
494 int count = 1; in RenderParticleShape() local
495 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
498 for (int i = 0; i < count; ++i) in RenderParticleShape()
553 for (int count = 0; count < boneIndexCount; ++count) in SetMatrixPalette() local
555 s32 boneIndex = primitiveSet.GetBoneIndexTable(count); in SetMatrixPalette()
582 int index = count * UNIT_COUNT; in SetMatrixPalette()
584 if (count == 0) in SetMatrixPalette()
/NW4C-1.2.23/sources/libraries/demo/
Ddemo_GraphicsDrawing.cpp247 s32 count = this->BuildLine(p1, p2, m_LineWidth, &m_PositionStream[0]); in DrawLine() local
251 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawLine()
262 s32 count = 0; in DrawRectangle() local
264count += this->BuildLine(pos, math::VEC2(pos.x + size.x, pos.y), m_LineWidth, &m_PositionSt… in DrawRectangle()
265count += this->BuildLine(math::VEC2(pos.x + size.x, pos.y), pos + size, m_LineWidth, &m_PositionSt… in DrawRectangle()
266count += this->BuildLine(pos + size, math::VEC2(pos.x, pos.y + size.y), m_LineWidth, &m_PositionSt… in DrawRectangle()
267count += this->BuildLine(math::VEC2(pos.x, pos.y + size.y), pos, m_LineWidth, &m_PositionSt… in DrawRectangle()
269 NW_ASSERT( count <= VERTEX_STREAM_SIZE ); in DrawRectangle()
273 glDrawArrays ( GL_TRIANGLES, 0, count); in DrawRectangle()
284 s32 count = this->BuildRectangle(pos, size, &m_PositionStream[0]); in FillRectangle() local
[all …]
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_Stopwatch.cpp99 int count = stopwatch.GetCount(); in Dump()
111 (total / count).GetMicroSeconds(), in Dump()
113 count, in Dump()
/NW4C-1.2.23/include/nw/font/
Dfont_DispStringBuffer.h97 void SetDrawCharCount(u16 count) in SetDrawCharCount()
99 drawCharCount = count; in SetDrawCharCount()
Dfont_TextWriterBase.h490 std::size_t count, in VSNPrintf() argument
499 return vsnprintf(buffer, count, format, arg); in VSNPrintf()
504 std::size_t count, in VSNPrintf() argument
513 return vswprintf(buffer, count, format, arg); in VSNPrintf()
/NW4C-1.2.23/include/nw/demo/
Ddemo_CameraController.h68 Builder& MaxCameraCount(size_t count) in MaxCameraCount() argument
70 m_Description.maxCameraCount = count; in MaxCameraCount()

1234