| /CTR-SDK-2.4.0/include/nn/hw/ARM/ |
| D | reg_access.h | 33 #define HW_INST_MRS(a,v) __asm { mrs a,v } argument 35 #define HW_INST_MSR(a,v) __asm { msr a,v } argument 39 #define HW_INST_MRC(a,b,c,d,e,v) __asm { mrc a,b,v,c,d,e } argument 41 #define HW_INST_MCR(a,b,c,d,e,v) __asm { mcr a,b,v,c,d,e } argument 54 #define HW_GET_CPSR(v) HW_INST_MRS(cpsr,v) argument 55 #define HW_GET_SPSR(v) HW_INST_MRS(spsr,v) argument 57 #define HW_SET_CPSR(f,v) HW_INST_MSR(cpsr_##f,v) // f: fields argument 58 #define HW_SET_SPSR(f,v) HW_INST_MSR(spsr_##f,v) // f: fields argument 64 #define HW_GET_CP15_C0(c,o,v) HW_INST_MRC(p15,0,c0,c,o,v) // Opcode_1 is fixed argument 65 #define HW_GET_CP15_C1(o,v) HW_INST_MRC(p15,0,c1,c0,o,v) // Opcode_1 and CRm are fixed argument [all …]
|
| /CTR-SDK-2.4.0/resources/plCoin/obj/ |
| D | plCoin.obj | 3 v 7.679590 0.756371 -0.787422 4 v 7.961474 0.784134 -0.650000 5 v 7.568473 1.505460 -0.787422 6 v 7.846280 1.560719 -0.650000 7 v 7.568473 1.505460 0.787422 8 v 7.846280 1.560719 0.650000 9 v 7.679590 0.756371 0.787422 10 v 7.961474 0.784134 0.650000 11 v 7.384468 2.240051 -0.787422 12 v 7.655520 2.322274 -0.650000 [all …]
|
| /CTR-SDK-2.4.0/include/nn/util/ |
| D | util_FlagsEnum.h | 41 Self& operator =(bit32 v) { Replace(v); return *this; } 42 Self& operator =(int v) { Replace(v); return *this; } 44 void Replace(bit32 v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument 45 void Replace(int v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument 62 FlagsEnum1<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 63 FlagsEnum1<EnumT>& operator =(int v) { this->Replace(v); return *this; } 74 FlagsEnum2<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 75 FlagsEnum2<EnumT>& operator =(int v) { this->Replace(v); return *this; } 86 FlagsEnum4<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 87 FlagsEnum4<EnumT>& operator =(int v) { this->Replace(v); return *this; }
|
| D | util_Rect.h | 74 Rect(const Rect& v) in Rect() 75 : left(v.left), in Rect() 76 top(v.top), in Rect() 77 right(v.right), in Rect() 78 bottom(v.bottom) in Rect()
|
| D | util_TypeTraits.h | 40 template <class T, T v> struct integral_constant; 134 template <class T, T v> 137 typedef integral_constant<T, v> type; 139 static const value_type value = v;
|
| /CTR-SDK-2.4.0/sources/libraries/os/ |
| D | os_Environment.cpp | 44 s64 v[1]; in GetMemoryQuotaSize() local 48 svc::GetResourceLimitLimitValues(v, h, names, sizeof(*util::NumOfElementsT(names)) ); in GetMemoryQuotaSize() 51 return static_cast<size_t>(v[0]); in GetMemoryQuotaSize() 57 s64 v[1]; in GetUsingMemorySize() local 61 svc::GetResourceLimitCurrentValues(v, h, names, sizeof(*util::NumOfElementsT(names)) ); in GetUsingMemorySize() 64 return static_cast<size_t>(v[0]); in GetUsingMemorySize()
|
| /CTR-SDK-2.4.0/sources/libraries/fnd/ |
| D | fnd_HeapBase.cpp | 106 inline void FillMemory8(uptr begin, uptr end, bit8 v) in FillMemory8() argument 113 *p++ = v; in FillMemory8() 119 void HeapBase::FillMemory32(uptr begin, uptr end, bit32 v) in FillMemory32() argument 128 *p++ = v; in FillMemory32() 132 void HeapBase::FillMemory(uptr addr, uptr end, bit8 v) in FillMemory() argument 140 FillMemory8(begin, end, v); in FillMemory() 144 bit32 vv = v | (v << 8); in FillMemory() 146 FillMemory8(begin, rbegin, v); in FillMemory() 148 FillMemory8(rend, end, v); in FillMemory()
|
| /CTR-SDK-2.4.0/include/nn/math/ |
| D | math_Vector4.h | 106 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4() 110 explicit VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4() 265 inline bool VEC4IsZero(const VEC4& v){ return VEC4IsZero( &v ); } in VEC4IsZero() argument 266 inline bool VEC4IsZeroWOne(const VEC4& v){ return VEC4IsZeroWOne( &v ); } in VEC4IsZeroWOne() argument 270 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale() argument 273 inline f32 VEC4LenSq(const VEC4& v) { return VEC4LenSq( &v ); } in VEC4LenSq() argument 274 inline f32 VEC4Len(const VEC4& v) { return VEC4Len( &v ); } in VEC4Len() argument 275 inline VEC4* VEC4Normalize(VEC4* pOut, const VEC4& v) { return VEC4Normalize( pOut, &v ); } in VEC4Normalize() argument 276 …VEC4* VEC4SafeNormalize(VEC4* pOut, const VEC4& v, const VEC4& alt) { return VEC4SafeNormalize( pO… in VEC4SafeNormalize() argument
|
| D | math_Transform.h | 135 …3* VEC3Transform(VEC3* pOut, const MTX33& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 136 …3* VEC3Transform(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 137 …4* VEC3Transform(VEC4* pOut, const MTX44& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 141 …ansformNormal(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3TransformNormal( pOut, &m, &… in VEC3TransformNormal() argument 144 …ransformCoord(VEC3* pOut, const MTX44& m, const VEC3& v) { return VEC3TransformCoord( pOut, &m, &v… in VEC3TransformCoord() argument 147 …4* VEC4Transform(VEC4* pOut, const MTX44& m, const VEC4& v) { return VEC4Transform( pOut, &m, &v )… in VEC4Transform() argument
|
| D | math_Utility.h | 303 inline T ExtractBits(bit32 v, int pos, int len) in ExtractBits() argument 305 return static_cast<T>( v & (((1u << len) - 1) << pos) ); in ExtractBits() 319 inline T ExtractBits(bit64 v, int pos, int len) in ExtractBits() argument 321 return static_cast<T>( v & (((1ull << len) - 1) << pos) ); in ExtractBits() 337 inline T GetBits(bit32 v, int pos, int len) in GetBits() argument 339 return static_cast<T>( (v >> pos) & ((1u << len) - 1) ); in GetBits() 355 inline T GetBits(bit64 v, int pos, int len) in GetBits() argument 357 return static_cast<T>( (v >> pos) & ((1ull << len) - 1) ); in GetBits() 372 inline bit32 MakeBits(T v, int width, int shift) in MakeBits() argument 374 return (static_cast<bit32>(v) & ((1u << width) - 1)) << shift; in MakeBits()
|
| D | math_Vector2.h | 88 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2() 398 inline bool VEC2IsZero(const VEC2& v){ return VEC2IsZero( &v ); } in VEC2IsZero() argument 402 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale() argument 405 inline f32 VEC2LenSq(const VEC2& v) { return VEC2LenSq( &v ); } in VEC2LenSq() argument 406 inline f32 VEC2Len(const VEC2& v) { return VEC2Len( &v ); } in VEC2Len() argument 411 inline VEC2* VEC2Normalize(VEC2* pOut, const VEC2& v) { return VEC2Normalize( pOut, &v ); } in VEC2Normalize() argument 412 …VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2& v, const VEC2& alt) { return VEC2SafeNormalize( pO… in VEC2SafeNormalize() argument 413 …2* VEC2Transform(VEC2* pOut, const MTX23& m, const VEC2& v) { return VEC2Transform( pOut, &m, &v )… in VEC2Transform() argument
|
| D | math_Vector3.h | 100 VEC3(const VEC3_& v) { x = v.x; y = v.y; z = v.z; } in VEC3() 470 inline bool VEC3IsZero(const VEC3& v){ return VEC3IsZero( &v ); } in VEC3IsZero() argument 474 inline VEC3* VEC3Normalize(VEC3* pOut, const VEC3& v) { return VEC3Normalize( pOut, &v ); } in VEC3Normalize() argument 475 …VEC3* VEC3SafeNormalize(VEC3* pOut, const VEC3& v, const VEC3& alt) { return VEC3SafeNormalize( pO… in VEC3SafeNormalize() argument 481 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() argument 484 inline f32 VEC3Len(const VEC3& v) { return VEC3Len( &v ); } in VEC3Len() argument 485 inline f32 VEC3SquareLen(const VEC3& v) { return VEC3SquareLen( &v ); } in VEC3SquareLen() argument
|
| D | math_Matrix22.h | 65 VEC2_ v[2]; member 124 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow() 131 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow()
|
| /CTR-SDK-2.4.0/include/nn/gd/CTR/ |
| D | gd_Shader.h | 446 …etShaderPipelineConstantF(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, f32* v){ in SetShaderPipelineConstantF() argument 447 return SetShaderPipelineConstantFloat(shaderPipeline, uniformLocation, v); in SetShaderPipelineConstantF() 468 …aderPipelineConstantFloat(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, f32* v); 475 …pelineConstantB(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u16 v, u32 count){ in SetShaderPipelineConstantB() argument 476 return SetShaderPipelineConstantBoolean(shaderPipeline, uniformLocation, v, count); in SetShaderPipelineConstantB() 499 …ConstantBoolean(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u16 v, u32 count); 506 …SetShaderPipelineConstantI(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u8* v){ in SetShaderPipelineConstantI() argument 507 return SetShaderPipelineConstantInteger(shaderPipeline, uniformLocation, v); in SetShaderPipelineConstantI() 528 …derPipelineConstantInteger(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u8* v);
|
| D | gd_Texture.h | 707 static void SetPerspectiveShadow(gdBool v); 1000 static void SetClampUV(Clamp u, Clamp v); 1057 static void SetShiftUV(Shift u, Shift v); 1952 NN_FORCE_INLINE void TextureStage::SetPerspectiveShadow(gdBool v) in SetPerspectiveShadow() argument 1956 if (!v) internal::g_texture.m_ShadowTextureSetting |= 0x1; in SetPerspectiveShadow() 1994 NN_FORCE_INLINE void ProceduralTextureStage::SetClampUV(Clamp u, Clamp v) in SetClampUV() argument 1997 internal::g_proceduralTexture.m_Proctex0 |= (u & 0x7) | ((v & 0x7) << 3); in SetClampUV() 2029 NN_FORCE_INLINE void ProceduralTextureStage::SetShiftUV(Shift u, Shift v) in SetShiftUV() argument 2032 internal::g_proceduralTexture.m_Proctex0 |= ((u & 0x3) << 16) | ((v & 0x3) << 18); in SetShiftUV() 2038 u32 v = Utils::Float32ToFloat16(texBias); in SetTexBias() local [all …]
|
| /CTR-SDK-2.4.0/sources/libraries/math/ |
| D | math_Geometry.cpp | 433 f32 v; in DistSqPoint3ToAABB() local 436 vv = v = P->x; in DistSqPoint3ToAABB() 437 if (v < B->Pmin.x) in DistSqPoint3ToAABB() 439 sqDist += (B->Pmin.x - v) * (B->Pmin.x - v); in DistSqPoint3ToAABB() 442 else if (v > B->Pmax.x) in DistSqPoint3ToAABB() 444 sqDist += (B->Pmax.x - v) * (B->Pmax.x - v); in DistSqPoint3ToAABB() 450 vv = v = P->y; in DistSqPoint3ToAABB() 451 if (v < B->Pmin.y) in DistSqPoint3ToAABB() 453 sqDist += (B->Pmin.y - v) * (B->Pmin.y - v); in DistSqPoint3ToAABB() 456 else if (v > B->Pmax.y) in DistSqPoint3ToAABB() [all …]
|
| /CTR-SDK-2.4.0/include/nn/fnd/ |
| D | fnd_Interlocked.h | 150 InterlockedVariable(T v) : m_v(v) {} 175 void WriteNotAtomic (T v) { m_v = v; } 239 void operator op(V v) { F f(v); AtomicUpdateConditional(f); }
|
| D | fnd_FixedBufferVector.h | 45 void Add(T v) in Add() argument 47 *Add() = v; in Add()
|
| /CTR-SDK-2.4.0/include/nn/fnd/ARMv6/ |
| D | fnd_Interlocked.h | 110 T v; 120 if (!update(x.v)) 142 T v; 152 if( x.v != compValue ) 158 x.v = setValue;
|
| /CTR-SDK-2.4.0/include/nn/os/ |
| D | os_InterCoreCriticalSection.h | 247 uptr v; in GetThreadUniqueValue() local 248 HW_GET_CP15_THREAD_ID_USER_READ_ONLY(v); in GetThreadUniqueValue() 249 return v; in GetThreadUniqueValue()
|
| D | os_CriticalSection.h | 256 uptr v; in GetThreadUniqueValue() local 257 HW_GET_CP15_THREAD_ID_USER_READ_ONLY(v); in GetThreadUniqueValue() 258 return v; in GetThreadUniqueValue()
|
| /CTR-SDK-2.4.0/include/nn/socket/ |
| D | socket_Berkeley.h | 951 inline bit32 HtoNl(bit32 v) in HtoNl() argument 953 return NN_SOCKET_HtoNl(v); in HtoNl() 965 inline bit32 NtoHl(bit32 v) in NtoHl() argument 967 return NN_SOCKET_NtoHl(v); in NtoHl() 978 inline bit16 HtoNs(bit16 v) in HtoNs() argument 980 return NN_SOCKET_HtoNs(v); in HtoNs() 991 inline bit16 NtoHs(bit16 v) in NtoHs() argument 993 return NN_SOCKET_NtoHs(v); in NtoHs()
|
| /CTR-SDK-2.4.0/sources/libraries/gr/CTR/ |
| D | gr_Shader.cpp | 539 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local 542 if ( ( vtxOutmapInfo[ v ].type >= 0 ) && in MakeOutAttrCommand_() 546 if ( outmapInfo[ g ].type == vtxOutmapInfo[ v ].type ) in MakeOutAttrCommand_() 553 vs_copy_mask |= 1 << v; in MakeOutAttrCommand_() 578 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local 580 if ( ( !( vs_copy_mask & ( 1 << v ) ) ) && in MakeOutAttrCommand_() 581 ( vtxOutmapInfo[ v ].type >= 0 ) && in MakeOutAttrCommand_() 582 ( vtxOutmapInfo[ v ].type < 9 ) && in MakeOutAttrCommand_() 583 ( vtxOutmapInfo[ v ].type != 7 ) ) in MakeOutAttrCommand_() 586 outmap_buffer[ outMapBufferCount ].type = vtxOutmapInfo[ v ].type; in MakeOutAttrCommand_() [all …]
|
| /CTR-SDK-2.4.0/include/nn/hid/CTR/ |
| D | hid_DeviceStatus.h | 182 :x(mtx33.v[0]),y(mtx33.v[1]),z(mtx33.v[2]){} in Direction()
|
| /CTR-SDK-2.4.0/build/omake/ |
| D | platformdefs.om | 37 platforms.foreach(v) 38 println($"Platform: "$(v.Name))
|