Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 25) sorted by relevance

/CTR-SDK-4.2.5/include/nn/hw/ARM/
Dreg_access.h33 #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/sources/libraries/math/
Dmath_MersenneTwister.cpp27 inline bit32 MixMsb2(bit32 v) in MixMsb2()
63 const bit32 v = MixMsb2(m_State[i - 1]); in Initialize() local
82 const bit32 v = GenerateInitialValue(m_State, stateIndex, 0x0019660d); in Initialize() local
104 const bit32 v = GenerateInitialValue(m_State, stateIndex, 0x5d588b65); in Initialize() local
147 u32 v; in GenerateRandomU32() local
189 bit32 v = GenerateRandomU32(); in GenerateRandomBytes() local
205 bit32 v = GenerateRandomU32(); in GenerateRandomBytes() local
223 bit32 v = (MixBits(xk, xk1) >> 1); in GenerateXkn() local
Dmath_TinyMt.cpp26 inline bit32 MixMsb2(bit32 v) in MixMsb2()
31 inline bit32 MixMsb5(bit32 v) in MixMsb5()
59 const bit32 v = MixMsb2(m_State[(i - 1) % PARAMETER_N]); in Initialize() local
136 bit32 v = s3 ^ t; in GenerateRandomU32() local
155 bit32 v = GenerateRandomU32(); in GenerateRandomBytes() local
171 bit32 v = GenerateRandomU32(); in GenerateRandomBytes() local
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector4.h260 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4()
264 explicit VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4()
450 inline bool VEC4IsZero(const VEC4& v){ return VEC4IsZero( &v ); } in VEC4IsZero()
451 inline bool VEC4IsZeroWOne(const VEC4& v){ return VEC4IsZeroWOne( &v ); } in VEC4IsZeroWOne()
455 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale()
458 inline f32 VEC4LenSq(const VEC4& v) { return VEC4LenSq( &v ); } in VEC4LenSq()
459 inline f32 VEC4Len(const VEC4& v) { return VEC4Len( &v ); } in VEC4Len()
460 inline VEC4* VEC4Normalize(VEC4* pOut, const VEC4& v) { return VEC4Normalize( pOut, &v ); } in VEC4Normalize()
461 inline VEC4* VEC4SafeNormalize(VEC4* pOut, const VEC4& v, const VEC4& alt) { return VEC4SafeNormali… in VEC4SafeNormalize()
Dmath_Transform.h267 inline VEC2* VEC2Transform(VEC2* pOut, const MTX23& m, const VEC2& v) { return VEC2Transform( pOut,… in VEC2Transform()
269 inline VEC3* VEC3Transform(VEC3* pOut, const MTX33& m, const VEC3& v) { return VEC3Transform( pOut,… in VEC3Transform()
270 inline VEC3* VEC3Transform(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3Transform( pOut,… in VEC3Transform()
271 inline VEC4* VEC3Transform(VEC4* pOut, const MTX44& m, const VEC3& v) { return VEC3Transform( pOut,… in VEC3Transform()
275 inline VEC3* VEC3TransformNormal(VEC3* pOut, const MTX34& m, const VEC3& v) { return VEC3TransformN… in VEC3TransformNormal()
278 inline VEC3* VEC3TransformCoord(VEC3* pOut, const MTX44& m, const VEC3& v) { return VEC3TransformCo… in VEC3TransformCoord()
281 inline VEC4* VEC4Transform(VEC4* pOut, const MTX44& m, const VEC4& v) { return VEC4Transform( pOut,… in VEC4Transform()
Dmath_Utility.h318 inline T ExtractBits(bit32 v, int pos, int len) in ExtractBits()
341 inline T ExtractBits(bit64 v, int pos, int len) in ExtractBits()
363 inline T GetBits(bit32 v, int pos, int len) in GetBits()
385 inline T GetBits(bit64 v, int pos, int len) in GetBits()
405 inline bit32 MakeBits(T v, int width, int shift) in MakeBits()
Dmath_Vector2.h240 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2()
495 inline bool VEC2IsZero(const VEC2& v){ return VEC2IsZero( &v ); } in VEC2IsZero()
499 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale()
502 inline f32 VEC2LenSq(const VEC2& v) { return VEC2LenSq( &v ); } in VEC2LenSq()
503 inline f32 VEC2Len(const VEC2& v) { return VEC2Len( &v ); } in VEC2Len()
508 inline VEC2* VEC2Normalize(VEC2* pOut, const VEC2& v) { return VEC2Normalize( pOut, &v ); } in VEC2Normalize()
509 inline VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2& v, const VEC2& alt) { return VEC2SafeNormali… in VEC2SafeNormalize()
Dmath_Vector3.h263 VEC3(const VEC3_& v) { x = v.x; y = v.y; z = v.z; } in VEC3()
561 inline bool VEC3IsZero(const VEC3& v){ return VEC3IsZero( &v ); } in VEC3IsZero()
565 inline VEC3* VEC3Normalize(VEC3* pOut, const VEC3& v) { return VEC3Normalize( pOut, &v ); } in VEC3Normalize()
566 inline VEC3* VEC3SafeNormalize(VEC3* pOut, const VEC3& v, const VEC3& alt) { return VEC3SafeNormali… in VEC3SafeNormalize()
572 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale()
575 inline f32 VEC3Len(const VEC3& v) { return VEC3Len( &v ); } in VEC3Len()
576 inline f32 VEC3SquareLen(const VEC3& v) { return VEC3SquareLen( &v ); } in VEC3SquareLen()
Dmath_Matrix22.h128 VEC2_ v[2]; // member
Dmath_Matrix33.h150 VEC3_ v[3]; // member
Dmath_Matrix23.h237 VEC3_ v[2]; // member
Dmath_Matrix43.h165 VEC3_ v[4]; // member
Dmath_Matrix44.h506 VEC4_ v[4]; // member
Dmath_Matrix34.h579 VEC4_ v[3]; // member
/CTR-SDK-4.2.5/sources/libraries/os/
Dos_Environment.cpp44 s64 v[1]; in GetMemoryQuotaSize() local
57 s64 v[1]; in GetUsingMemorySize() local
Dos_Limits.cpp45 s64 v; in GetLimitCurrentCount() local
68 s64 v; in GetLimitMaxCount() local
/CTR-SDK-4.2.5/sources/libraries/fnd/
Dfnd_HeapBase.cpp106 inline void FillMemory8(uptr begin, uptr end, bit8 v) in FillMemory8()
119 void HeapBase::FillMemory32(uptr begin, uptr end, bit32 v) in FillMemory32()
132 void HeapBase::FillMemory(uptr addr, uptr end, bit8 v) in FillMemory()
/CTR-SDK-4.2.5/sources/libraries/dbg/CTR/
Ddbg_DirectPrint.cpp111 va_list v; in Printf() local
121 va_list v; in Printf() local
129 void DirectPrint::VPrintf( const nn::math::VEC2& pos, const char* format, va_list v ) in VPrintf()
136 …VPrintf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* format, va_list v ) in VPrintf()
/CTR-SDK-4.2.5/include/nn/util/
Dutil_FlagsEnum.h107 void Replace(bit32 v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace()
117 void Replace(int v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace()
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_FixedBufferVector.h45 void Add(T v) in Add()
/CTR-SDK-4.2.5/sources/libraries/dbg/
Ddbg_Default.cpp30 inline T Replace(T& var, T v) in Replace()
/CTR-SDK-4.2.5/include/nn/os/
Dos_CriticalSection.h161 uptr v; in GetThreadUniqueValue() local
/CTR-SDK-4.2.5/include/nn/gd/CTR/
Dgd_Texture.h2009 NN_FORCE_INLINE void TextureStage::SetPerspectiveShadow(gdBool v) in SetPerspectiveShadow()
2051 NN_FORCE_INLINE void ProceduralTextureStage::SetClampUV(Clamp u, Clamp v) in SetClampUV()
2086 NN_FORCE_INLINE void ProceduralTextureStage::SetShiftUV(Shift u, Shift v) in SetShiftUV()
2095 u32 v = Utils::Float32ToFloat16(texBias); in SetTexBias() local
/CTR-SDK-4.2.5/sources/libraries/gr/CTR/
Dgr_Shader.cpp539 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local
578 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local
Dgr_ShaderLite.cpp602 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local
641 for( s32 v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local