Home
last modified time | relevance | path

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

12

/CTR-SDK-0.14.21/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-0.14.21/include/nn/util/
Dutil_FlagsEnum.h39 Self& operator =(bit32 v) { Replace(v); return *this; }
40 Self& operator =(int v) { Replace(v); return *this; }
42 void Replace(bit32 v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument
43 void Replace(int v) { m_FlagsValue = static_cast<StorageT>(v); } in Replace() argument
59 FlagsEnum1<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
60 FlagsEnum1<EnumT>& operator =(int v) { this->Replace(v); return *this; }
70 FlagsEnum2<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
71 FlagsEnum2<EnumT>& operator =(int v) { this->Replace(v); return *this; }
81 FlagsEnum4<EnumT>& operator =(bit32 v) { this->Replace(v); return *this; }
82 FlagsEnum4<EnumT>& operator =(int v) { this->Replace(v); return *this; }
Dutil_Rect.h74 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()
Dutil_TypeTraits.h40 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-0.14.21/sources/libraries/os/
Dos_Environment.cpp44 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-0.14.21/sources/libraries/fnd/
Dfnd_HeapBase.cpp106 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-0.14.21/include/nn/math/
Dmath_Vector4.h98 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4()
102 VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4()
257 inline bool VEC4IsZero(const VEC4& v){ return VEC4IsZero( &v ); } in VEC4IsZero() argument
258 inline bool VEC4IsZeroWOne(const VEC4& v){ return VEC4IsZeroWOne( &v ); } in VEC4IsZeroWOne() argument
262 inline VEC4* VEC4Scale(VEC4* pOut, const VEC4& v, f32 scale) { return VEC4Scale( pOut, &v, scale); } in VEC4Scale() argument
265 inline f32 VEC4LenSq(const VEC4& v) { return VEC4LenSq( &v ); } in VEC4LenSq() argument
266 inline f32 VEC4Len(const VEC4& v) { return VEC4Len( &v ); } in VEC4Len() argument
267 inline VEC4* VEC4Normalize(VEC4* pOut, const VEC4& v) { return VEC4Normalize( pOut, &v ); } in VEC4Normalize() argument
268 …VEC4* VEC4SafeNormalize(VEC4* pOut, const VEC4& v, const VEC4& alt) { return VEC4SafeNormalize( pO… in VEC4SafeNormalize() argument
Dmath_Transform.h135 …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
Dmath_Utility.h126 inline T ExtractBits(bit32 v, int pos, int len) in ExtractBits() argument
128 return static_cast<T>( v & (((1u << len) - 1) << pos) ); in ExtractBits()
132 inline T ExtractBits(bit64 v, int pos, int len) in ExtractBits() argument
134 return static_cast<T>( v & (((1ull << len) - 1) << pos) ); in ExtractBits()
138 inline T GetBits(bit32 v, int pos, int len) in GetBits() argument
140 return static_cast<T>( (v >> pos) & ((1u << len) - 1) ); in GetBits()
144 inline T GetBits(bit64 v, int pos, int len) in GetBits() argument
146 return static_cast<T>( (v >> pos) & ((1ull << len) - 1) ); in GetBits()
150 inline bit32 MakeBits(T v, int width, int shift) in MakeBits() argument
152 return (static_cast<bit32>(v) & ((1u << width) - 1)) << shift; in MakeBits()
Dmath_Vector2.h80 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2()
390 inline bool VEC2IsZero(const VEC2& v){ return VEC2IsZero( &v ); } in VEC2IsZero() argument
394 inline VEC2* VEC2Scale(VEC2* pOut, const VEC2& v, f32 scale) { return VEC2Scale(pOut, &v, scale); } in VEC2Scale() argument
397 inline f32 VEC2LenSq(const VEC2& v) { return VEC2LenSq( &v ); } in VEC2LenSq() argument
398 inline f32 VEC2Len(const VEC2& v) { return VEC2Len( &v ); } in VEC2Len() argument
403 inline VEC2* VEC2Normalize(VEC2* pOut, const VEC2& v) { return VEC2Normalize( pOut, &v ); } in VEC2Normalize() argument
404 …VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2& v, const VEC2& alt) { return VEC2SafeNormalize( pO… in VEC2SafeNormalize() argument
405 …2* VEC2Transform(VEC2* pOut, const MTX23& m, const VEC2& v) { return VEC2Transform( pOut, &m, &v )… in VEC2Transform() argument
Dmath_Vector3.h92 VEC3(const VEC3_& v) { x = v.x; y = v.y; z = v.z; } in VEC3()
462 inline bool VEC3IsZero(const VEC3& v){ return VEC3IsZero( &v ); } in VEC3IsZero() argument
466 inline VEC3* VEC3Normalize(VEC3* pOut, const VEC3& v) { return VEC3Normalize( pOut, &v ); } in VEC3Normalize() argument
467 …VEC3* VEC3SafeNormalize(VEC3* pOut, const VEC3& v, const VEC3& alt) { return VEC3SafeNormalize( pO… in VEC3SafeNormalize() argument
473 inline VEC3* VEC3Scale(VEC3* pOut, const VEC3& v, f32 scale) { return VEC3Scale( pOut, &v, scale );… in VEC3Scale() argument
476 inline f32 VEC3Len(const VEC3& v) { return VEC3Len( &v ); } in VEC3Len() argument
477 inline f32 VEC3SquareLen(const VEC3& v) { return VEC3SquareLen( &v ); } in VEC3SquareLen() argument
Dmath_Matrix22.h65 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()
Dmath_Matrix33.h111 VEC3_ v[3]; member
174 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow()
181 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow()
Dmath_Matrix23.h71 VEC3_ v[2]; member
131 return *reinterpret_cast<VEC3*>(&this->v[index]); in GetRow()
138 return *reinterpret_cast<const VEC3*>(&this->v[index]); in GetRow()
/CTR-SDK-0.14.21/sources/libraries/math/
Dmath_Geometry.cpp433 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-0.14.21/include/nn/fnd/
Dfnd_Interlocked.h150 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); }
Dfnd_FixedBufferVector.h45 void Add(T v) in Add() argument
47 *Add() = v; in Add()
/CTR-SDK-0.14.21/include/nn/fnd/ARMv6/
Dfnd_Interlocked.h110 T v;
120 if (!update(x.v))
142 T v;
152 if( x.v != compValue )
158 x.v = setValue;
/CTR-SDK-0.14.21/include/nn/os/
Dos_InterCoreCriticalSection.h247 uptr v; in GetThreadUniqueValue() local
248 HW_GET_CP15_THREAD_ID_USER_READ_ONLY(v); in GetThreadUniqueValue()
249 return v; in GetThreadUniqueValue()
Dos_CriticalSection.h255 uptr v; in GetThreadUniqueValue() local
256 HW_GET_CP15_THREAD_ID_USER_READ_ONLY(v); in GetThreadUniqueValue()
257 return v; in GetThreadUniqueValue()
/CTR-SDK-0.14.21/include/nn/socket/
Dsocket_Berkeley.h870 inline bit32 HtoNl(bit32 v) in HtoNl() argument
872 return NN_SOCKET_HtoNl(v); in HtoNl()
884 inline bit32 NtoHl(bit32 v) in NtoHl() argument
886 return NN_SOCKET_NtoHl(v); in NtoHl()
897 inline bit16 HtoNs(bit16 v) in HtoNs() argument
899 return NN_SOCKET_HtoNs(v); in HtoNs()
910 inline bit16 NtoHs(bit16 v) in NtoHs() argument
912 return NN_SOCKET_NtoHs(v); in NtoHs()
/CTR-SDK-0.14.21/sources/libraries/gr/CTR/
Dgr_Shader.cpp367 for( int v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local
369 if ( outmapInfo[ g ].type == vtxOutmapInfo[ v ].type ) in MakeOutAttrCommand_()
376 vs_copy_mask |= 1 << v; in MakeOutAttrCommand_()
394 for( int v = 0; v < vtx_exe_info->outMapCount; ++v ) in MakeOutAttrCommand_() local
396 if ( !( vs_copy_mask & ( 1 << v ) ) && in MakeOutAttrCommand_()
397 … ( vtxOutmapInfo[ v ].type >= 0 && vtxOutmapInfo[ v ].type < 9 && vtxOutmapInfo[ v ].type != 7 ) ) in MakeOutAttrCommand_()
400 outmap_buffer[ outMapBufferCount ].type = vtxOutmapInfo[ v ].type; in MakeOutAttrCommand_()
402 outmap_buffer[ outMapBufferCount ].mask = vtxOutmapInfo[ v ].mask; in MakeOutAttrCommand_()
/CTR-SDK-0.14.21/include/nn/hid/CTR/
Dhid_DeviceStatus.h175 :x(mtx33.v[0]),y(mtx33.v[1]),z(mtx33.v[2]){} in Direction()
/CTR-SDK-0.14.21/include/gles2/
Dgl2.h617 GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v);
619 GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);
621 GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v);
623 GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);
625 GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v);
627 GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v);
629 GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v);
631 GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v);
/CTR-SDK-0.14.21/resources/specfiles/
DDlpChild.desc16 AQD/AAIA/v//////////////////////////////////////////////////
133 Wngbeq4F7ZMMGv0iqgYU3NYR40VIaqwDzvYZvZVGCh3LbOP2Xxqzgcfiq/7v

12