| /CTR-SDK-4.2.5/include/nn/gr/CTR/ |
| D | gr_Vertex.h | 57 for ( u32 index = 0; index < VERTEX_ATTRIBUTE_MAX; index++ ) in InterleaveInfo() local 60 dataType[ index ] = PICA_DATA_SIZE_1_BYTE; in InterleaveInfo() 63 for ( u32 index = 0; index < VERTEX_ATTRIBUTE_MAX; index++ ) in InterleaveInfo() local 66 symbol[ index ] = NULL; in InterleaveInfo() 193 for ( int index = 0; index < VERTEX_ATTRIBUTE_MAX; ++index ) in MakeDisableAttrCommand() local 196 if ( m_LoadArray[ index ].IsEnable() ) in MakeDisableAttrCommand() 201 … PICA_CMD_HEADER_BURSTSEQ( PICA_REG_LOAD_ARRAY0_ATTR_OFFSET + 3 * index, 0x3 ); in MakeDisableAttrCommand() 215 PICA_CMD_HEADER_SINGLE( PICA_REG_LOAD_ARRAY0_ELEMENT1 + 3 * index ); in MakeDisableAttrCommand() 219 if ( m_AttrConst[ index ].IsEnable() ) in MakeDisableAttrCommand() 221 *command++ = index; in MakeDisableAttrCommand() [all …]
|
| D | gr_Fog.h | 160 for ( u32 index = 0; index < ( FOG_LOOKUP_TABLE_ELEMENT_NUM + 4 ); index++ ) in Fog() local 162 m_TableCommand[ index ] = 0; in Fog()
|
| /CTR-SDK-4.2.5/include/nn/ro/ |
| D | ro_SectionTable.h | 61 const nn::drivers::ro::SectionInfo* GetSection(int index) const in GetSection() argument 63 if( (0 <= index) && (index < m_NumSections) ) in GetSection() 65 return &m_pSectionTable[index]; in GetSection() 88 uptr GetAddress(int index, u32 offset) const in GetAddress() argument 90 if( ! ((0 <= index) && (index < m_NumSections)) ) in GetAddress() 95 const nn::drivers::ro::SectionInfo& section = m_pSectionTable[index]; in GetAddress() 122 uptr GetReferedAddress(int index, u32 offset) const in GetReferedAddress() argument 124 if( ! ((0 <= index) && (index < m_NumSections)) ) in GetReferedAddress() 129 const nn::drivers::ro::SectionInfo& section = m_pSectionTable[index]; in GetReferedAddress() 155 T GetPointer(int index, u32 offset) const in GetPointer() argument [all …]
|
| D | ro_Module.h | 214 T GetPointer(s32 index) const in GetPointer() argument 215 { return reinterpret_cast<T>(GetAddress(index)); } in GetPointer() 257 uptr GetAddress(s32 index) const;
|
| /CTR-SDK-4.2.5/sources/libraries/gr/CTR/ |
| D | gr_ProcedureTexture.cpp | 171 u32 index = 0; in SetLookUpDualTables_() local 174 *command++ = Float32ToUnsignedFix12( lookUpTable[ index ] ) | in SetLookUpDualTables_() 175 ( Float32ToFix12Fraction11( diffLookUpTable[ index ] ) << 12 ); in SetLookUpDualTables_() 179 for ( index = 1; index < 0x80; index++ ) in SetLookUpDualTables_() 183 *command++ = Float32ToUnsignedFix12( lookUpTable[ index ] ) | in SetLookUpDualTables_() 184 ( Float32ToFix12Fraction11( diffLookUpTable[ index ] ) << 12 ); in SetLookUpDualTables_() 214 u32 index = 0; in SetColorLookUpTable_() local 220 *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_() 221 index++; in SetColorLookUpTable_() 230 … *command++ |= ( FloatToUnsignedByte( lookUpTable[ index ] ) << colorShiftNum ); in SetColorLookUpTable_() [all …]
|
| D | gr_Shader.cpp | 422 u16 index; in MakeConstRgCommand_() member 439 *boolMap |= ( info.value[ 0 ] << info.index ) & ( 1 << info.index ); in MakeConstRgCommand_() 444 *command++ = PICA_CMD_HEADER_SINGLE( reg_integer + info.index ); in MakeConstRgCommand_() 448 *command++ = info.index; in MakeConstRgCommand_() 492 u16 index; in MakeOutAttrCommand_() member 550 … outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 571 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 587 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 607 for ( s32 index = 0; index < OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local 609 attr[ index ] = 0x1f1f1f1f; in MakeOutAttrCommand_() [all …]
|
| D | gr_Vertex.cpp | 67 for ( u32 index = 0; index < 2; index++ ) in MakeDrawCommand() local 236 for ( u32 index = 0; index < VERTEX_ATTRIBUTE_MAX; ++index ) in CheckDisable() local 238 if ( bind[ index ] != -1 ) in CheckDisable() 246 for ( u32 index = 0; index < VERTEX_ATTRIBUTE_MAX; ++index ) in CheckDisable() local 248 byte[ index ] = 0; in CheckDisable() 258 for ( u32 index = 0; index < VERTEX_ATTRIBUTE_MAX; index++ ) in DisableAll() local 261 type[ index ] = PICA_DATA_SIZE_1_BYTE; in DisableAll() 263 byte[ index ] = 0; in DisableAll() 265 bind[ index ] = -1; in DisableAll()
|
| D | gr_ShaderLite.cpp | 485 u16 index; in MakeConstRgCommand_() member 502 *boolMap |= ( info.value[ 0 ] << info.index ) & ( 1 << info.index ); in MakeConstRgCommand_() 507 *command++ = PICA_CMD_HEADER_SINGLE( reg_integer + info.index ); in MakeConstRgCommand_() 511 *command++ = info.index; in MakeConstRgCommand_() 555 u16 index; in MakeOutAttrCommand_() member 613 … outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 634 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 650 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_() 670 for ( s32 index = 0; index < OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local 672 attr[ index ] = 0x1f1f1f1f; in MakeOutAttrCommand_() [all …]
|
| /CTR-SDK-4.2.5/sources/libraries/os/ |
| D | os_ThreadLocalStorage.cpp | 61 inline bool IsMappedIndex(s32 index) in IsMappedIndex() argument 63 if( (index < 0) || (TLS_NUM <= index) ) in IsMappedIndex() 68 return ((sTLSMap >> index) & 1) == 1; in IsMappedIndex() 96 s32 index = SearchFreeTLSIndex(); in AllocateTLSIndex() local 97 if(index >= 0 && index < TLS_NUM) in AllocateTLSIndex() 99 sTLSMap |= (1 << index); in AllocateTLSIndex() 101 return index; in AllocateTLSIndex() 109 s32 FreeTLSIndex(int index) in FreeTLSIndex() argument 111 if(!IsMappedIndex(index)) in FreeTLSIndex() 115 return sTLSMap &= ~(1 << index); in FreeTLSIndex()
|
| /CTR-SDK-4.2.5/include/nn/fnd/ |
| D | fnd_FixedBufferVector.h | 36 const T& operator[](int index) const 38 return m_Buffer[index]; 40 T& operator[](int index) 42 return m_Buffer[index]; 58 void Remove(int index) in Remove() argument 63 if( index != last ) in Remove() 65 m_Buffer[index] = m_Buffer[last]; in Remove()
|
| /CTR-SDK-4.2.5/include/nn/math/ |
| D | math_Matrix22.h | 186 VEC2& GetRow(int index) in GetRow() argument 188 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 189 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow() 193 const VEC2& GetRow(int index) const in GetRow() argument 195 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 196 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow() 200 VEC2 GetColumn(int index) const in GetColumn() argument 202 NN_MATH_MINMAXLT_ASSERT(index, 0, COLUMN_COUNT); in GetColumn() 204 column.x = this->m[0][index]; in GetColumn() 205 column.y = this->m[1][index]; in GetColumn() [all …]
|
| D | math_Matrix33.h | 212 VEC3& GetRow(int index) in GetRow() argument 214 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 215 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 219 const VEC3& GetRow(int index) const in GetRow() argument 221 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 222 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 226 VEC3 GetColumn(int index) const in GetColumn() argument 228 NN_MATH_MINMAXLT_ASSERT(index, 0, COLUMN_COUNT); in GetColumn() 230 column.x = this->m[0][index]; in GetColumn() 231 column.y = this->m[1][index]; in GetColumn() [all …]
|
| D | math_Matrix43.h | 228 VEC3& GetRow(int index) in GetRow() argument 230 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 231 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 235 const VEC3& GetRow(int index) const in GetRow() argument 237 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 238 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 242 VEC4 GetColumn(int index) const in GetColumn() argument 244 NN_MATH_MINMAXLT_ASSERT(index, 0, COLUMN_COUNT); in GetColumn() 246 column.x = this->m[0][index]; in GetColumn() 247 column.y = this->m[1][index]; in GetColumn() [all …]
|
| D | math_Matrix23.h | 296 VEC3& GetRow(int index) in GetRow() argument 298 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 299 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow() 303 const VEC3& GetRow(int index) const in GetRow() argument 305 NN_MATH_MINMAXLT_ASSERT(index, 0, ROW_COUNT); in GetRow() 306 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow() 310 VEC2 GetColumn(int index) const in GetColumn() argument 312 NN_MATH_MINMAXLT_ASSERT(index, 0, COLUMN_COUNT); in GetColumn() 314 column.x = this->m[0][index]; in GetColumn() 315 column.y = this->m[1][index]; in GetColumn() [all …]
|
| /CTR-SDK-4.2.5/include/nn/font/ |
| D | font_PackedFont.h | 291 void Use(int index); 297 void Unuse(int index); 303 void Lock(int index); 309 void Unlock(int index); 313 bool IsLocked(int index) const in IsLocked() argument 315 const OrderNode& node = GetNode(index); in IsLocked() 346 OrderNode& GetNode(int index) { return mpOrderNodeArray[index]; } in GetNode() argument 348 const OrderNode& GetNode(int index) const { return mpOrderNodeArray[index]; } in GetNode() argument 417 int CalcSheetIndex(GlyphIndex index) const;
|
| D | font_ResFontBase.h | 221 const CharWidths& GetCharWidthsFromIndex(GlyphIndex index) const; 233 GlyphIndex index 243 GlyphIndex index 255 GlyphIndex index, 304 GetTextureObject(int index) const in GetTextureObject() argument 307 return &GetTextureObjectsBufferPtr()[index]; in GetTextureObject()
|
| /CTR-SDK-4.2.5/sources/libraries/test/ |
| D | test_XmlOutput.cpp | 66 int index = 0; in ConvertToXmlString() local 67 for(index = 0; index < SPECIALS_NUM; ++index) in ConvertToXmlString() 69 if(*pSrc == specials[index]) in ConvertToXmlString() 71 if(pDst + copyLens[index] - buf > STR_LEN) in ConvertToXmlString() 75 ::std::memcpy(pDst, converts[index], copyLens[index]); in ConvertToXmlString() 76 pDst += copyLens[index]; in ConvertToXmlString() 80 if(index == SPECIALS_NUM) // Not a special character in ConvertToXmlString()
|
| /CTR-SDK-4.2.5/sources/libraries/dbg/ |
| D | dbg_Argument.cpp | 147 const char* GetArgv( int index ) in GetArgv() argument 153 if ( index < 0 || index >= argc || ! s_pArgv ) in GetArgv() 159 if ( index == 0 ) in GetArgv() 165 for( index--; index>0; index-- ) in GetArgv()
|
| /CTR-SDK-4.2.5/sources/libraries/fslow/ |
| D | fslow_SafeHandle.cpp | 59 void SafeHandleTableEntry::Initialize(s32 index) in Initialize() argument 62 NN_TASSERT_(index <= MAX_INDEX); in Initialize() 64 m_DependencyIndex = static_cast<bit8>(index); in Initialize() 65 m_Handle.Initialize(index); in Initialize() 313 void SafeHandleTable::UnregisterRecursive(s32 index) in UnregisterRecursive() argument 315 SafeHandleTableEntry* pEntry = GetEntry(index); in UnregisterRecursive() 329 if(pEntryDependOn->IsActivated() && (pEntryDependOn->GetDependencyIndex() == index)) in UnregisterRecursive()
|
| /CTR-SDK-4.2.5/include/nn/boss/ |
| D | boss_TaskQuery.h | 71 nn::Result GetType(u8 index, QueryType* pType); 85 nn::Result GetName(u8 index, char* pName, size_t size); 99 nn::Result GetValue(u8 index, void* pValue, size_t size); 178 bool IsValidIndex(u8 index);
|
| /CTR-SDK-4.2.5/sources/libraries/tpl/CTR/ |
| D | tpl_crc32.cpp | 162 const char *getTextureFilePath(const void *infoData, int index) in getTextureFilePath() argument 166 NN_TASSERT_(index < header->numTexture); in getTextureFilePath() 169 reinterpret_cast<const CtrTextureInfo *>(header + 1) + index; in getTextureFilePath() 183 const char *filePath = getTextureFilePath(s.infoData, hash.index); in cmpTpkSearchData()
|
| /CTR-SDK-4.2.5/sources/libraries/math/ |
| D | math_MersenneTwister.cpp | 32 bit32 GenerateInitialValue(const bit32* pState, int index, bit32 d) in GenerateInitialValue() argument 34 const bit32 s0 = pState[index + 0]; in GenerateInitialValue() 35 const bit32 s1 = pState[index + 1]; in GenerateInitialValue() 129 pStateBuffer->index = m_Index; in SaveState() 135 NN_MINMAX_TASSERT_(pStateBuffer->index, 0, PARAMETER_N - 1); in RestoreState() 142 m_Index = pStateBuffer->index; in RestoreState()
|
| /CTR-SDK-4.2.5/include/nn/gx/CTR/ |
| D | gx_MacroShader.h | 150 #define PICA_CMD_DATA_VS_FLOAT_ADDR(mode, index) \ argument 151 ( (index) & 0xff | ( (mode) ? 0x80000000 : 0) ) 153 #define PICA_CMD_SET_VS_FLOAT_ADDR(mode, index) \ argument 154 PICA_CMD_DATA_VS_FLOAT_ADDR(mode, index), PICA_CMD_HEADER_SINGLE(PICA_REG_VS_FLOAT_ADDR) 659 #define PICA_CMD_DATA_GS_FLOAT_ADDR(mode, index) \ argument 660 ( ((index) & 0xff) | (mode) << 31 ) 662 #define PICA_CMD_SET_GS_FLOAT_ADDR(mode, index) \ argument 663 PICA_CMD_DATA_GS_FLOAT_ADDR(mode, index), PICA_CMD_HEADER_SINGLE(PICA_REG_GS_FLOAT_ADDR)
|
| /CTR-SDK-4.2.5/include/nn/fslow/ |
| D | fslow_SafeHandle.h | 203 SafeHandle(bit8 index) { Initialize(index); } in SafeHandle() argument 258 void Initialize(s32 index); 345 SafeHandleTableEntry* GetEntry(s32 index) const in GetEntry() argument 347 return (index < m_NumEntry) ? (m_pEntryBuffer + index) : 0; in GetEntry() 355 void UnregisterRecursive(s32 index);
|
| D | fslow_HandleTable.h | 231 s32 index = handle.GetFixedValue(); in FindEntryFromHandle() local 233 if(index < TNumEntry) in FindEntryFromHandle() 235 return m_Entry[index].HasHandle(value) ? (m_Entry + index) : 0; in FindEntryFromHandle()
|