Home
last modified time | relevance | path

Searched refs:operator (Results 1 – 25 of 55) sorted by relevance

123

/CTR-SDK-0.14.21/include/nn/util/
Dutil_Int64.h34 operator Base() const { return (static_cast<Base>(hi) << 32) | static_cast<Base>(lo); } in Base()
35 Int64& operator++() { Base lhs = *this; lhs++; *this = lhs; return *this; }
36 Int64& operator--() { Base lhs = *this; lhs--; *this = lhs; return *this; }
37 Int64& operator+=(Base rhs) { Base lhs = *this; lhs += rhs; *this = lhs; return *this; }
38 Int64& operator-=(Base rhs) { Base lhs = *this; lhs -= rhs; *this = lhs; return *this; }
39 Int64& operator*=(Base rhs) { Base lhs = *this; lhs *= rhs; *this = lhs; return *this; }
40 Int64& operator/=(Base rhs) { Base lhs = *this; lhs /= rhs; *this = lhs; return *this; }
41 Int64& operator%=(Base rhs) { Base lhs = *this; lhs %= rhs; *this = lhs; return *this; }
42 Int64& operator|=(Base rhs) { Base lhs = *this; lhs |= rhs; *this = lhs; return *this; }
43 Int64& operator&=(Base rhs) { Base lhs = *this; lhs &= rhs; *this = lhs; return *this; }
[all …]
Dutil_Float24.h100 Float24& operator =(f32 value) { this->m_Float32 = value; return *this; }
101 Float24& operator =(u32 bits24) { this->m_Float32 = Bits24ToFloat32( bits24 ); return *this; }
103 operator f32() const { return m_Float32; } in f32()
105 f32 operator +(f32 right) const { return this->m_Float32 + right; }
106 f32 operator -(f32 right) const { return this->m_Float32 - right; }
107 f32 operator *(f32 right) const { return this->m_Float32 * right; }
108 f32 operator /(f32 right) const { return this->m_Float32 / right; }
110 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
111 Float24& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
112 Float24& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
[all …]
Dutil_Color.h103 SelfType& operator =(u32 color)
116 SelfType& operator =(FloatColor& color); member
123 operator u32() const { return ToU32(); } in u32()
133 const SelfType operator +(const SelfType& right) const
151 const SelfType operator -(const SelfType& right) const
169 const SelfType operator *(const SelfType& right) const
187 const SelfType operator /(const SelfType& right) const
204 const SelfType operator ++()
219 const SelfType operator ++(int)
235 const SelfType operator --()
[all …]
Dutil_FlagsEnum.h37 operator EnumT() const { return Get(); } in EnumT()
39 Self& operator =(bit32 v) { Replace(v); return *this; }
40 Self& operator =(int v) { Replace(v); return *this; }
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_AutoObject.h40 ReferenceCounter& operator=(const ReferenceCounter& rhs)
123 const Object& operator*() const
130 const Object* operator->() const
174 Object& operator*()
179 Object* operator->()
265 name& operator=(const name& rhs) \
/CTR-SDK-0.14.21/include/nn/fnd/
Dfnd_TimeSpan.h170 …friend bool operator==(const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds == rhs…
171 friend bool operator!=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs == rhs); }
172 …friend bool operator< (const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds < rhs…
173 friend bool operator> (const TimeSpan& lhs, const TimeSpan& rhs) { return rhs < lhs; }
174 friend bool operator<=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs > rhs); }
175 friend bool operator>=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs < rhs); }
177 …TimeSpan& operator+=(const TimeSpan& rhs) { this->m_NanoSeconds += rhs.m_NanoSeconds; return *this…
178 …friend TimeSpan operator+(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return re…
180 …TimeSpan& operator-=(const TimeSpan& rhs) { this->m_NanoSeconds -= rhs.m_NanoSeconds; return *this…
181 …friend TimeSpan operator-(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return re…
Dfnd_DateTime.h218 …friend bool operator==(const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds == rh…
223 friend bool operator!=(const DateTime& lhs, const DateTime& rhs) { return !(lhs == rhs); }
228 …friend bool operator< (const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds < rh…
233 friend bool operator> (const DateTime& lhs, const DateTime& rhs) { return rhs < lhs; }
238 friend bool operator<=(const DateTime& lhs, const DateTime& rhs) { return !(lhs > rhs); }
243 friend bool operator>=(const DateTime& lhs, const DateTime& rhs) { return !(lhs < rhs); }
248 …DateTime& operator+=(const TimeSpan& rhs) { this->m_MilliSeconds += rhs.GetMilliSeconds(); return …
253 …friend DateTime operator+(const DateTime& lhs, const TimeSpan& rhs) { DateTime ret(lhs); return re…
258 …DateTime& operator-=(const TimeSpan& rhs) { this->m_MilliSeconds -= rhs.GetMilliSeconds(); return …
263 …friend DateTime operator-(const DateTime& lhs, const TimeSpan& rhs) { DateTime ret(lhs); return re…
[all …]
Dfnd_Interlocked.h88 bool operator()(T& x) { x = m_converter(x); return true; }
96 bool operator()(T& x) { x op m_operand; return true; } \
112 bool operator()(T& x) { result = preop x postop; return true; } \
127 bool operator()(T& x)
152 operator T() const
157 T operator ->()
239 void operator op(V v) { F f(v); AtomicUpdateConditional(f); }
251 …InterlockedVariable operator op(premarker) { F f; AtomicUpdateConditional(f); return f.result; } …
Dfnd_FixedLengthString.h244 operator const Char*() const { return GetString(); }
246 const Char& operator[](s32 i) const
452 FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)
459 FixedLengthString& operator+=(const Char2 s[Size]) { return AppendTail(s); }
461 FixedLengthString& operator+=(const Char* rhs)
468 …friend bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
473 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
478 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
484 …friend bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
489 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
[all …]
/CTR-SDK-0.14.21/include/nn/os/
Dos_Tick.h63 operator s64() const { return m_Tick; } in s64()
68 operator nn::fnd::TimeSpan() const;
89 Tick& operator-=(Tick rhs) { this->m_Tick -= rhs.m_Tick; return *this; }
90 Tick operator-(Tick rhs) const { Tick ret(*this); return ret -= rhs; }
92 Tick& operator+=(Tick rhs) { this->m_Tick += rhs.m_Tick; return *this; }
93 Tick operator+(Tick rhs) const { Tick ret(*this); return ret += rhs; }
95 inline Tick& operator+=(fnd::TimeSpan rhs);
96 Tick operator+(fnd::TimeSpan rhs) const { Tick ret(*this); return ret += rhs; }
112 inline Tick::operator nn::fnd::TimeSpan() const in TimeSpan()
122 inline Tick& Tick::operator+=(fnd::TimeSpan rhs)
Dos_WaitableCounter.h43 ValueType& operator *() { return m_Value; }
44 const ValueType& operator *() const { return m_Value; }
45 ValueType* operator->() { return &m_Value; }
Dos_NonRecursiveCriticalSection.h35 bool operator()(s32& x) in operator() function
52 bool operator()(s32& x) in operator() function
/CTR-SDK-0.14.21/include/nn/math/
Dmath_Geometry.h85 operator f32*() { return &P.x; }
86 operator const f32*() const { return &P.x; }
87 bool operator==(const self_type& rhs) const { return P == rhs.P && d == rhs.d; }
88 bool operator!=(const self_type& rhs) const { return P != rhs.P || d != rhs.d; }
118 operator f32*() { return &P.x; }
119 operator const f32*() const { return &P.x; }
120 bool operator==(const self_type& rhs) const { return P == rhs.P && d == rhs.d; }
121 bool operator!=(const self_type& rhs) const { return P != rhs.P || d != rhs.d; }
145 operator f32*() { return &P0.x; }
146 operator const f32*() const { return &P0.x; }
[all …]
Dmath_Quaternion.h74 operator f32*() { return &x; }
75 operator const f32*() const { return &x; }
78 operator Quaternion*() { return (Quaternion*)&x; }
79 operator const Quaternion*() const { return (const Quaternion*)&x; }
82 self_type& operator += (const self_type& rhs) { (void)QUATAdd(this, this, &rhs); return *this; }
83 self_type& operator -= (const self_type& rhs) { (void)QUATSub(this, this, &rhs); return *this; }
84 self_type& operator *= (f32 f) { (void)QUATScale(this, this, f); return *this; }
85 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
87 self_type operator + () const { return *this; }
88 self_type operator - () const { return self_type(-x, -y, -z, -w); }
[all …]
Dmath_Vector4.h111 operator f32*() { return &x; }
114 operator const f32*() const { return &x; }
121 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; }
122 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; }
123 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
124 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; }
125 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; }
127 self_type operator + () const { return *this; }
128 self_type operator - () const { return self_type(-x, -y, -z, -w); }
130 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
[all …]
Dmath_Matrix23.h122 operator f32*() { return this->a; }
125 operator const f32*() const { return this->a; }
173 self_type& operator += (const self_type& rhs) { return *MTX23Add(this, this, &rhs); }
174 self_type& operator -= (const self_type& rhs) { return *MTX23Sub(this, this, &rhs); }
176 self_type& operator *= (f32 f) { return *MTX23Mult(this, this, f); }
177 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
179 self_type operator + () const { return *this; }
180 self_type operator - () const
186 …self_type operator + (const self_type& rhs) const { MTX23 tmp; return *MTX23Add(&tmp, this, &rhs);…
187 …self_type operator - (const self_type& rhs) const { MTX23 tmp; return *MTX23Sub(&tmp, this, &rhs);…
[all …]
Dmath_Matrix43.h129 operator f32*() { return this->a; }
131 operator const f32*() const { return this->a; }
175 self_type& operator += (const self_type& rhs) { return *MTX43Add(this, this, &rhs); }
176 self_type& operator -= (const self_type& rhs) { return *MTX43Sub(this, this, &rhs); }
178 self_type& operator *= (const self_type& rhs) { return *MTX43Mult(this, this, &rhs); }
179 self_type& operator *= (f32 f) { return *MTX43Mult(this, this, f); }
180 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
182 self_type operator + () const { return *this; }
183 self_type operator - () const
191 …self_type operator + (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);…
[all …]
Dmath_Vector2.h90 operator f32*() { return &x; }
93 operator const f32*() const { return &x; }
99 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; }
100 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; }
101 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
102 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; }
103 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; }
105 self_type operator + () const { return *this; }
106 self_type operator - () const { return self_type(-x, -y); }
108 self_type operator + (const self_type& rhs) const { return self_type(x + rhs.x, y + rhs.y); }
[all …]
Dmath_Vector3.h102 operator f32*() { return &x; }
104 operator const f32*() const { return &x; }
111 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; }
112 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; }
113 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; }
114 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; }
115 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
117 self_type operator + () const { return *this; }
118 self_type operator - () const { return self_type(-x, -y, -z); }
121 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret…
[all …]
/CTR-SDK-0.14.21/include/nn/fslow/
Dfslow_SafeHandle.h42 bool operator()(s32& x) const in operator() function
58 bool operator()(s32& x) const in operator() function
74 bool operator()(s32& x) const in operator() function
188 operator bool() const { return IsValid(); }
189 bool operator!() const { return !IsValid(); }
190 …bool operator==(const SafeHandleBase& rhs) const { return (m_Data[0] == rhs.m_Data[0]) && (m_Da…
191 …bool operator!=(const SafeHandleBase& rhs) const { return (m_Data[0] != rhs.m_Data[0]) || (m_Da…
237 SafeHandle& operator++();
335 operator bool() const { return GetPointer() != 0; }
336 bool operator!() const { return GetPointer() == 0; }
[all …]
Dfslow_SafePath.h56 operator const Char*() const { return (*this)->GetString(); }
57 const Char& operator[](int i) const { return (**this)[i]; }
58 operator bool() const { return (*this)->IsValid(); }
59 bool operator!() const { return !(*this)->IsValid(); }
Dfslow_HandleTable.h88 operator HandleValue() const { return m_Data; } in HandleValue()
89 operator const HandleValue&() const { return m_Data; }
90 operator bool() const { return IsValid(); }
92 bool operator!() const { return !IsValid(); }
93 …bool operator==(const HandleValue& rhs) const { return (m_Data.lo == rhs.lo) && (m_Data.hi == r…
94 …bool operator!=(const HandleValue& rhs) const { return (m_Data.lo != rhs.lo) || (m_Data.hi != r…
/CTR-SDK-0.14.21/include/nn/
DHandle.h119 bool operator ==(const Handle& rhs) const { return this->m_Handle == rhs.m_Handle; }
120 bool operator !=(const Handle& rhs) const { return this->m_Handle != rhs.m_Handle; }
121 operator nnHandle() const { nnHandle handle = {this->m_Handle}; return handle; } in nnHandle()
/CTR-SDK-0.14.21/sources/libraries/rdt/CTR/
Drdt_ReceiverImpl.h100 static void* operator new(size_t size, void *pBuf) throw() in new()
119 static void operator delete (void *p) throw() in delete()
140 ReceiverImpl& operator=(const ReceiverImpl&); variable
Drdt_SenderImpl.h106 static void* operator new(size_t size, void *pBuf) throw() in new()
138 static void operator delete (void *p) throw() in delete()
170 SenderImpl& operator=(const SenderImpl&); variable

123