Home
last modified time | relevance | path

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

1234

/NW4C-2.0.3/include/nw/snd/
Dsnd_Util.h120 COUNT_TYPE count; member
159 if ( index >= count ) return NULL; in GetReferedItem()
164 if ( index >= count ) return NULL; in GetReferedItem()
170 for ( u32 i = 0; i < count; i++ ) in FindReferedItemBy()
185 NW_ASSERT( index < count ); in GetReferedItem()
190 for ( u32 i = 0; i < count; i++ ) in GetReferedItemBy()
201 NW_ASSERT( index < count ); in GetReferedItemSize()
216 const void* origin, int index, u16 count ) const in GetReferedItemByIndex()
218 NW_UNUSED_VARIABLE(count); in GetReferedItemByIndex()
219 NW_ASSERT( index < count ); in GetReferedItemByIndex()
[all …]
Dsnd_SoundSystem.h946 static void GetSoundThreadTickCount( nn::os::Tick& tick, int& count ) in GetSoundThreadTickCount() argument
949 internal::driver::SoundThread::GetInstance().GetTickCount( tick, count ); in GetSoundThreadTickCount()
952 NW_UNUSED_VARIABLE( count ); in GetSoundThreadTickCount()
1104 static void SetMaxVoiceCount( int count ) in SetMaxVoiceCount() argument
1106 NW_MINMAX_ASSERT( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount()
1107 count = ut::Clamp( count, 1, NN_SND_VOICE_NUM ); in SetMaxVoiceCount()
1108 s_MaxVoiceCount = count; in SetMaxVoiceCount()
Dsnd_SoundArchiveFile.h144 NW_MINMAX_ASSERT( idx, 0L, static_cast<int>( nodeTable.count - 1 ));
162 u32 GetNumData() const { return nodeTable.count; } in GetNumData()
185 return table.count; in GetCount()
220 NW_INLINE u32 GetSoundCount() const { return GetSoundInfoReferenceTable().count; } in GetSoundCount()
221 NW_INLINE u32 GetBankCount() const { return GetBankInfoReferenceTable().count; } in GetBankCount()
222 NW_INLINE u32 GetPlayerCount() const { return GetPlayerInfoReferenceTable().count; } in GetPlayerCount()
223 … NW_INLINE u32 GetSoundGroupCount() const { return GetSoundGroupInfoReferenceTable().count; } in GetSoundGroupCount()
224 NW_INLINE u32 GetGroupCount() const { return GetGroupInfoReferenceTable().count; } in GetGroupCount()
225 … NW_INLINE u32 GetWaveArchiveCount() const { return GetWaveArchiveInfoReferenceTable().count; } in GetWaveArchiveCount()
226 NW_INLINE u32 GetFileCount() const { return GetFileInfoReferenceTable().count; } in GetFileCount()
[all …]
Dsnd_WaveSoundFile.h151 return GetWaveSoundDataReferenceTable().count; in GetWaveSoundCount()
191 return GetTrackInfoReferenceTable().count; in GetTrackCount()
195 return GetNoteInfoReferenceTable().count; in GetNoteCount()
230 return GetNoteEventReferenceTable().count; in GetNoteEventCount()
Dsnd_StreamSoundFile.h237 u32 GetTrackCount() const { return table.count; } in GetTrackCount()
275 NW_INLINE u32 GetCount() const { return table.count; } in GetCount()
278 NW_ASSERT( index < table.count ); in GetGlobalIndex()
290 NW_INLINE u32 GetChannelCount() const { return table.count; } in GetChannelCount()
Dsnd_GroupFile.h57 return referenceTableOfGroupItemInfo.count; in GetGroupItemInfoCount()
73 NW_INLINE u32 GetItemCount() const { return table.count; }
136 return referenceTableOfGroupItemInfoEx.count; in GetGroupItemInfoExCount()
/NW4C-2.0.3/include/nw/os/
Dos_Memory.h110 TObject* Alloc(int count, u8 alignment = DEFAULT_ALIGNMENT)
112 NW_ASSERT(count >= 0);
113 return static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
120 TObject* AllocAndClear(int count, u8 data, u8 alignment = DEFAULT_ALIGNMENT)
122 NW_ASSERT(count >= 0);
123 u8* memory = static_cast<u8*>(this->Alloc(sizeof(TObject) * count, alignment));
127 std::fill_n(memory, count, data);
137 TObject* AllocAndConstruct(int count, u8 alignment = DEFAULT_ALIGNMENT)
139 NW_ASSERT(count >= 0);
140 TObject* objects = static_cast<TObject*>(this->Alloc(sizeof(TObject) * count, alignment));
[all …]
/NW4C-2.0.3/sources/libraries/snd/
Dsnd_DriverCommandManager.cpp65 void* DriverCommandManager::AllocMemory( u32 count ) in AllocMemory() argument
67 NW_ASSERT( count <= m_CommandMemoryAreaSize ); in AllocMemory()
69 void* ptr = TryAllocMemory( count ); in AllocMemory()
73 ptr = TryAllocMemory( count ); in AllocMemory()
81 ptr = TryAllocMemory( count ); in AllocMemory()
87 void* DriverCommandManager::TryAllocMemory( u32 count ) in TryAllocMemory() argument
95 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaEnd ) { in TryAllocMemory()
97 m_CommandMemoryAreaBegin += count; in TryAllocMemory()
102 if ( m_CommandMemoryAreaBegin + count <= m_CommandMemoryAreaSize ) { in TryAllocMemory()
104 m_CommandMemoryAreaBegin += count; in TryAllocMemory()
[all …]
Dsnd_SoundDataManager.cpp119 m_pFileTable->count = arc->detail_GetFileCount(); in CreateFileAddressTable()
120 for( u32 i = 0 ; i < m_pFileTable->count ; i++ ) in CreateFileAddressTable()
144 for( u32 i = 0 ; i < m_pFileTable->count ; i++ ) in InvalidateData()
223 NW_MINMAXLT_ASSERT( fileId, 0, m_pFileTable->count ); in SetFileAddressToTable()
251 if ( fileId >= m_pFileTable->count ) return NULL; in GetFileAddressFromTable()
276 for ( u32 i = 0; i < m_pFileTable->count; i++ ) in detail_GetFileIdFromTable()
Dsnd_SoundPlayer.cpp367 void SoundPlayer::SetPlayableSoundCount( int count ) in SetPlayableSoundCount() argument
369 NW_ASSERT( count >= 0 ); in SetPlayableSoundCount()
372 NW_WARNING( count <= m_PlayableLimit, "playable sound count is over limit." ); in SetPlayableSoundCount()
373 count = ut::Clamp( count, 0, m_PlayableLimit ); in SetPlayableSoundCount()
375 m_PlayableCount = count; in SetPlayableSoundCount()
Dsnd_InstancePool.cpp100 int count = 0; in CountImpl() local
103 ++count; in CountImpl()
105 return count; in CountImpl()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_MemoryUtil.cpp71 LCLA count in copy_asm_declarations()
72 count SETA $val in copy_asm_declarations()
73 WHILE count >= 8 in copy_asm_declarations()
74 count SETA count-8 in copy_asm_declarations()
78 IF count == 2 in copy_asm_declarations()
81 IF count == 4 in copy_asm_declarations()
84 IF count == 6 in copy_asm_declarations()
Dgfx_MeshRenderer.cpp479 int count = particleShape->GetVertexCapacity(); in RenderParticleShape() local
480 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
484 for (int i = 0; i < count; ++i) in RenderParticleShape()
492 int count = 1; in RenderParticleShape() local
493 count *= particleShape->GetVertexAttributeDimension(index); in RenderParticleShape()
496 for (int i = 0; i < count; ++i) in RenderParticleShape()
546 for (int count = 0; count < boneIndexCount; ++count) in SetMatrixPalette() local
548 s32 boneIndex = primitiveSet.GetBoneIndexTable(count); in SetMatrixPalette()
575 int index = count * UNIT_COUNT; in SetMatrixPalette()
577 if (count == 0) in SetMatrixPalette()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_CommandUtil.h454 MakeCommandHeader(u32 address, int count, bool incremental, u8 byteEnable) in MakeCommandHeader() argument
467 NW_ASSERT(0 < count && count <= 256); in MakeCommandHeader()
476 result |= ut::internal::MakeBits(count - 1, SIZE_WIDTH, SIZE_SHIFT); in MakeCommandHeader()
483 #define NW_GFX_GPU_HEADER(addr, count, incremental, byteEnable) (u32)((incremental << 31) | (count argument
663 NWSetUniform4fv(u32 index, int count, const f32* data) in NWSetUniform4fv() argument
682 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform4fv()
714 switch (count) in NWSetUniform4fv()
803 NWSetUniform3fv(u32 index, int count, const f32* data) in NWSetUniform3fv() argument
823 NW_MINMAX_ASSERT(count, 1, 64); in NWSetUniform3fv()
855 switch (count) in NWSetUniform3fv()
[all …]
Dgfx_ShaderBinaryInfo.h323 s32 count = 0; in SearchBinadSymbolCount() local
336 ++count; in SearchBinadSymbolCount()
342 ++count; in SearchBinadSymbolCount()
348 ++count; in SearchBinadSymbolCount()
354 ++count; in SearchBinadSymbolCount()
361 return count; in SearchBinadSymbolCount()
419 s32 count = 0; in GetInputRegisterNum() local
425 ++count; in GetInputRegisterNum()
429 return count; in GetInputRegisterNum()
444 s32 count = 0; in GetOutputRegisterNum() local
[all …]
Dgfx_MemoryUtil.h63 #define INVOKE_SUB(count) \ in FastWordCopy() argument
64 if (size == count) \ in FastWordCopy()
66 return FastWordCopyAsm_##count(dst, src); \ in FastWordCopy()
Dgfx_DisplayList.h120 void WriteData(const void* data, int count) in WriteData() argument
123 NW_ASSERT( count > 0 ); in WriteData()
126 int copyCount = count; in WriteData()
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_GraphicsDrawing.cpp252 …s32 count = this->BuildLine( p1, p2, m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount … in DrawLine() local
255 BuildColor( count, color, &m_ShapeColorStreamArray[ index ] ); in DrawLine()
257 m_ShapeVertexCount += count; in DrawLine()
266 s32 count = 0; in DrawRectangle() local
268 count += this->BuildLine( pos, math::VEC2( pos.x + size.x, pos.y ), in DrawRectangle()
269 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
271 count += this->BuildLine( in DrawRectangle()
273 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
275 count += this->BuildLine( pos + size, math::VEC2( pos.x, pos.y + size.y ), in DrawRectangle()
276 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
[all …]
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Stopwatch.cpp101 int count = stopwatch.GetCount(); in Dump()
113 (total / count).GetMicroSeconds(), in Dump()
115 count, in Dump()
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2010/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2011/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2010/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x64/2009/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2009/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]
/NW4C-2.0.3/tools/DccPlugin/3dsMax/x86/2011/Scripts/Startup/
DNW4C_utils.ms.inc21 for j = 1 to val.count do
38 ret += v.count
43 ret = val.count
65 if tokens.count != 2 do return false
88 for i = 1 to valTokens.count do
117 for i = 1 to list.count do
131 while p <= s.count do
133 while s[p] == " " and p < s.count do p += 1 -- �X�y�[�X���X�L�b�v
135 while s[ep] != "\"" and ep < s.count do ep += 1 -- �ŏ���"��T��
137 while s[ep] != "\"" and ep <= s.count do ep += 1 -- ���"��T��
[all …]

1234