| /CTR-SDK-4.2.5/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-4.2.5/resources/icon/PlayCoin/3Dmodel/obj/ |
| D | playcoin.obj | 5 v 7.679590 0.756371 -0.787422 6 v 7.961474 0.784134 -0.650000 7 v 7.568473 1.505460 -0.787422 8 v 7.846280 1.560719 -0.650000 9 v 7.568473 1.505460 0.787422 10 v 7.846280 1.560719 0.650000 11 v 7.679590 0.756371 0.787422 12 v 7.961474 0.784134 0.650000 13 v 7.384468 2.240051 -0.787422 14 v 7.655520 2.322274 -0.650000 [all …]
|
| /CTR-SDK-4.2.5/sources/libraries/math/ |
| D | math_MersenneTwister.cpp | 27 inline bit32 MixMsb2(bit32 v) in MixMsb2() argument 29 return v ^ (v >> 30); in MixMsb2() 63 const bit32 v = MixMsb2(m_State[i - 1]); in Initialize() local 64 m_State[i] = v * 0x6c078965 + i; in Initialize() 82 const bit32 v = GenerateInitialValue(m_State, stateIndex, 0x0019660d); in Initialize() local 86 m_State[stateIndex] = v + pSeed[seedIndex] + seedIndex; in Initialize() 104 const bit32 v = GenerateInitialValue(m_State, stateIndex, 0x5d588b65); in Initialize() local 108 m_State[stateIndex] = v - stateIndex; in Initialize() 147 u32 v; in GenerateRandomU32() local 164 v = GenerateXkn(m_State[baseIndex], m_State[currIndex], m_State[nextIndex]); in GenerateRandomU32() [all …]
|
| D | math_TinyMt.cpp | 26 inline bit32 MixMsb2(bit32 v) in MixMsb2() argument 28 return v ^ (v >> 30); in MixMsb2() 31 inline bit32 MixMsb5(bit32 v) in MixMsb5() argument 33 return v ^ (v >> 27); in MixMsb5() 59 const bit32 v = MixMsb2(m_State[(i - 1) % PARAMETER_N]); in Initialize() local 60 m_State[i % PARAMETER_N] ^= v * 0x6c078965 + i; in Initialize() 136 bit32 v = s3 ^ t; in GenerateRandomU32() local 140 v ^= PARAMETER_TMAT; in GenerateRandomU32() 143 return v; in GenerateRandomU32() 155 bit32 v = GenerateRandomU32(); in GenerateRandomBytes() local [all …]
|
| /CTR-SDK-4.2.5/include/nn/util/ |
| D | util_FlagsEnum.h | 86 Self& operator =(bit32 v) { Replace(v); return *this; } 97 Self& operator =(int v) { Replace(v); return *this; } 107 void Replace(bit32 v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument 117 void Replace(int v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument 218 FlagsEnum1<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 219 FlagsEnum1<EnumT>& operator =(int v) { this->Replace(v); return *this; } 255 FlagsEnum2<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 256 FlagsEnum2<EnumT>& operator =(int v) { this->Replace(v); return *this; } 292 FlagsEnum4<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; } 293 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-4.2.5/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-4.2.5/sources/libraries/os/ |
| D | os_Limits.cpp | 45 s64 v; in GetLimitCurrentCount() local 56 result = svc::GetResourceLimitCurrentValues(&v, h, &res, 1); in GetLimitCurrentCount() 62 return static_cast<s32>(v); in GetLimitCurrentCount() 68 s64 v; in GetLimitMaxCount() local 79 result = svc::GetResourceLimitLimitValues(&v, h, &res, 1); in GetLimitMaxCount() 85 return static_cast<s32>(v); in GetLimitMaxCount()
|
| 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-4.2.5/include/nn/math/ |
| D | math_Vector4.h | 260 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4() argument 264 explicit VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4() argument 450 inline bool VEC4IsZero(const VEC4& v){ return VEC4IsZero( &v ); } in VEC4IsZero() argument 451 inline bool VEC4IsZeroWOne(const VEC4& v){ return VEC4IsZeroWOne( &v ); } in VEC4IsZeroWOne() argument 455 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale() argument 458 inline f32 VEC4LenSq(const VEC4& v) { return VEC4LenSq( &v ); } in VEC4LenSq() argument 459 inline f32 VEC4Len(const VEC4& v) { return VEC4Len( &v ); } in VEC4Len() argument 460 inline VEC4* VEC4Normalize(VEC4* pOut, const VEC4& v) { return VEC4Normalize( pOut, &v ); } in VEC4Normalize() argument 461 …VEC4* VEC4SafeNormalize(VEC4* pOut, const VEC4& v, const VEC4& alt) { return VEC4SafeNormalize( pO… in VEC4SafeNormalize() argument
|
| D | math_Transform.h | 267 …2* VEC2Transform(VEC2* pOut, const MTX23& m, const VEC2& v) { return VEC2Transform( pOut, &m, &v )… in VEC2Transform() argument 269 …3* VEC3Transform(VEC3* pOut, const MTX33& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 270 …3* VEC3Transform(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 271 …4* VEC3Transform(VEC4* pOut, const MTX44& m, const VEC3& v) { return VEC3Transform( pOut, &m, &v )… in VEC3Transform() argument 275 …ansformNormal(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3TransformNormal( pOut, &m, &… in VEC3TransformNormal() argument 278 …ransformCoord(VEC3* pOut, const MTX44& m, const VEC3& v) { return VEC3TransformCoord( pOut, &m, &v… in VEC3TransformCoord() argument 281 …4* VEC4Transform(VEC4* pOut, const MTX44& m, const VEC4& v) { return VEC4Transform( pOut, &m, &v )… in VEC4Transform() argument
|
| D | math_Utility.h | 318 inline T ExtractBits(bit32 v, int pos, int len) in ExtractBits() argument 320 return static_cast<T>( v & (((1u << len) - 1) << pos) ); in ExtractBits() 341 inline T ExtractBits(bit64 v, int pos, int len) in ExtractBits() argument 343 return static_cast<T>( v & (((1ull << len) - 1) << pos) ); in ExtractBits() 363 inline T GetBits(bit32 v, int pos, int len) in GetBits() argument 365 return static_cast<T>( (v >> pos) & ((1u << len) - 1) ); in GetBits() 385 inline T GetBits(bit64 v, int pos, int len) in GetBits() argument 387 return static_cast<T>( (v >> pos) & ((1ull << len) - 1) ); in GetBits() 405 inline bit32 MakeBits(T v, int width, int shift) in MakeBits() argument 407 return (static_cast<bit32>(v) & ((1u << width) - 1)) << shift; in MakeBits()
|
| D | math_Vector2.h | 240 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2() argument 495 inline bool VEC2IsZero(const VEC2& v){ return VEC2IsZero( &v ); } in VEC2IsZero() argument 499 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale() argument 502 inline f32 VEC2LenSq(const VEC2& v) { return VEC2LenSq( &v ); } in VEC2LenSq() argument 503 inline f32 VEC2Len(const VEC2& v) { return VEC2Len( &v ); } in VEC2Len() argument 508 inline VEC2* VEC2Normalize(VEC2* pOut, const VEC2& v) { return VEC2Normalize( pOut, &v ); } in VEC2Normalize() argument 509 …VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2& v, const VEC2& alt) { return VEC2SafeNormalize( pO… in VEC2SafeNormalize() argument
|
| D | math_Vector3.h | 263 VEC3(const VEC3_& v) { x = v.x; y = v.y; z = v.z; } in VEC3() argument 561 inline bool VEC3IsZero(const VEC3& v){ return VEC3IsZero( &v ); } in VEC3IsZero() argument 565 inline VEC3* VEC3Normalize(VEC3* pOut, const VEC3& v) { return VEC3Normalize( pOut, &v ); } in VEC3Normalize() argument 566 …VEC3* VEC3SafeNormalize(VEC3* pOut, const VEC3& v, const VEC3& alt) { return VEC3SafeNormalize( pO… in VEC3SafeNormalize() argument 572 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() argument 575 inline f32 VEC3Len(const VEC3& v) { return VEC3Len( &v ); } in VEC3Len() argument 576 inline f32 VEC3SquareLen(const VEC3& v) { return VEC3SquareLen( &v ); } in VEC3SquareLen() argument
|
| D | math_Matrix22.h | 128 VEC2_ v[2]; // member 189 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow() 196 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow()
|
| /CTR-SDK-4.2.5/sources/libraries/dbg/CTR/ |
| D | dbg_DirectPrint.cpp | 111 va_list v; in Printf() local 112 va_start( v, format ); in Printf() 113 VPrintf( pos, format, v ); in Printf() 114 va_end( v ); in Printf() 121 va_list v; in Printf() local 122 va_start( v, format ); in Printf() 123 VPrintf( pos, autoLineFeed, fillBg, format, v ); in Printf() 124 va_end( v ); in Printf() 129 void DirectPrint::VPrintf( const nn::math::VEC2& pos, const char* format, va_list v ) in VPrintf() argument 131 VPrintf( pos, true, true, format, v ); in VPrintf() [all …]
|
| /CTR-SDK-4.2.5/include/nn/os/ |
| D | os_CriticalSection.h | 161 uptr v; in GetThreadUniqueValue() local 162 HW_GET_CP15_THREAD_ID_USER_READ_ONLY(v); in GetThreadUniqueValue() 163 return v; in GetThreadUniqueValue()
|
| /CTR-SDK-4.2.5/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-4.2.5/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-4.2.5/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-4.2.5/include/nn/hid/CTR/ |
| D | hid_DeviceStatus.h | 206 :x(mtx33.v[0]),y(mtx33.v[1]),z(mtx33.v[2]){} in Direction()
|
| /CTR-SDK-4.2.5/include/nn/gd/CTR/ |
| D | gd_Texture.h | 773 static void SetPerspectiveShadow(gdBool v); 966 static void SetClampUV(Clamp u, Clamp v); 1023 static void SetShiftUV(Shift u, Shift v); 2009 NN_FORCE_INLINE void TextureStage::SetPerspectiveShadow(gdBool v) in SetPerspectiveShadow() argument 2013 if (!v) internal::g_texture.m_ShadowTextureSetting |= 0x1; in SetPerspectiveShadow() 2051 NN_FORCE_INLINE void ProceduralTextureStage::SetClampUV(Clamp u, Clamp v) in SetClampUV() argument 2054 internal::g_proceduralTexture.m_Proctex0 |= (u & 0x7) | ((v & 0x7) << 3); in SetClampUV() 2086 NN_FORCE_INLINE void ProceduralTextureStage::SetShiftUV(Shift u, Shift v) in SetShiftUV() argument 2089 internal::g_proceduralTexture.m_Proctex0 |= ((u & 0x3) << 16) | ((v & 0x3) << 18); in SetShiftUV() 2095 u32 v = Utils::Float32ToFloat16(texBias); in SetTexBias() local [all …]
|
| D | gd_Shader.h | 496 …aderPipelineConstantFloat(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, f32* v); 523 …ConstantBoolean(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u16 v, u32 count); 548 …derPipelineConstantInteger(ShaderPipeline* shaderPipeline, UniformLocation uniformLocation, u8* v);
|