Home
last modified time | relevance | path

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

123

/CTR-SDK-4.2.5/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.h75 operator EnumT() const { return Get(); } in EnumT()
86 Self& operator =(bit32 v) { Replace(v); return *this; }
97 Self& operator =(int v) { Replace(v); return *this; }
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; }
Dutil_AutoObject.h40 ReferenceCounter& operator=(const ReferenceCounter& rhs)
123 const Object& operator*() const
130 const Object* operator->() const
174 Object& operator*()
179 Object* operator->()
262 name& operator=(const name& rhs) \
/CTR-SDK-4.2.5/include/nn/os/
Dos_Tick.h94 operator s64() const { return m_Tick; } in s64()
99 operator nn::fnd::TimeSpan() const;
119 Tick& operator-=(Tick rhs);
127 Tick operator-(Tick rhs) const;
135 Tick& operator+=(Tick rhs);
143 Tick operator+(Tick rhs) const;
151 Tick& operator+=(fnd::TimeSpan rhs);
159 Tick operator+(fnd::TimeSpan rhs) const;
229 inline Tick::operator nn::fnd::TimeSpan() const in TimeSpan()
242 inline Tick& Tick::operator+=(fnd::TimeSpan rhs)
[all …]
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_TimeSpan.h192 …friend bool operator==(const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds == rhs…
201 friend bool operator!=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs == rhs); }
210 …friend bool operator< (const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds < rhs…
219 friend bool operator> (const TimeSpan& lhs, const TimeSpan& rhs) { return rhs < lhs; }
228 friend bool operator<=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs > rhs); }
237 friend bool operator>=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs < rhs); }
245 …TimeSpan& operator+=(const TimeSpan& rhs) { this->m_NanoSeconds += rhs.m_NanoSeconds; return *this…
254 …friend TimeSpan operator+(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return re…
262 …TimeSpan& operator-=(const TimeSpan& rhs) { this->m_NanoSeconds -= rhs.m_NanoSeconds; return *this…
271 …friend TimeSpan operator-(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return re…
Dfnd_DateTime.h220 …friend bool operator==(const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds == rh…
225 friend bool operator!=(const DateTime& lhs, const DateTime& rhs) { return !(lhs == rhs); }
230 …friend bool operator< (const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds < rh…
235 friend bool operator> (const DateTime& lhs, const DateTime& rhs) { return rhs < lhs; }
240 friend bool operator<=(const DateTime& lhs, const DateTime& rhs) { return !(lhs > rhs); }
245 friend bool operator>=(const DateTime& lhs, const DateTime& rhs) { return !(lhs < rhs); }
250 …DateTime& operator+=(const TimeSpan& rhs) { this->m_MilliSeconds += rhs.GetMilliSeconds(); return …
255 …friend DateTime operator+(const DateTime& lhs, const TimeSpan& rhs) { DateTime ret(lhs); return re…
260 …DateTime& operator-=(const TimeSpan& rhs) { this->m_MilliSeconds -= rhs.GetMilliSeconds(); return …
265 …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-4.2.5/include/nn/math/
Dmath_Quaternion.h256 operator f32*() { return &x; }
258 operator const f32*() const { return &x; }
261 operator Quaternion*() { return (Quaternion*)&x; }
262 operator const Quaternion*() const { return (const Quaternion*)&x; }
271 self_type& operator += (const self_type& rhs) { (void)QUATAdd(this, this, &rhs); return *this; }
274 self_type& operator -= (const self_type& rhs) { (void)QUATSub(this, this, &rhs); return *this; }
277 self_type& operator *= (f32 f) { (void)QUATScale(this, this, f); return *this; }
280 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
283 self_type operator + () const { return *this; }
286 self_type operator - () const { return self_type(-x, -y, -z, -w); }
[all …]
Dmath_Vector4.h273 operator f32*() { return &x; }
276 operator const f32*() const { return &x; }
285 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; }
288 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; }
291 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; }
294 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
297 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; }
300 self_type operator + () const { return *this; }
303 self_type operator - () const { return self_type(-x, -y, -z, -w); }
306 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
[all …]
Dmath_Matrix23.h290 operator f32*() { return this->a; }
293 operator const f32*() const { return this->a; }
342 self_type& operator += (const self_type& rhs) { return *MTX23Add(this, this, &rhs); }
345 self_type& operator -= (const self_type& rhs) { return *MTX23Sub(this, this, &rhs); }
348 self_type& operator *= (f32 f) { return *MTX23Mult(this, this, f); }
351 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
354 self_type operator + () const { return *this; }
357 self_type operator - () const
364 …self_type operator + (const self_type& rhs) const { MTX23 tmp; return *MTX23Add(&tmp, this, &rhs);…
367 …self_type operator - (const self_type& rhs) const { MTX23 tmp; return *MTX23Sub(&tmp, this, &rhs);…
[all …]
Dmath_Matrix43.h223 operator f32*() { return this->a; }
225 operator const f32*() const { return this->a; }
270 self_type& operator += (const self_type& rhs) { return *MTX43Add(this, this, &rhs); }
273 self_type& operator -= (const self_type& rhs) { return *MTX43Sub(this, this, &rhs); }
276 self_type& operator *= (const self_type& rhs) { return *MTX43Mult(this, this, &rhs); }
279 self_type& operator *= (f32 f) { return *MTX43Mult(this, this, f); }
282 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
285 self_type operator + () const { return *this; }
288 self_type operator - () const
297 …self_type operator + (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);…
[all …]
Dmath_Vector2.h250 operator f32*() { return &x; }
253 operator const f32*() const { return &x; }
261 self_type& operator += (const self_type& rhs) { x += rhs.x; y += rhs.y; return *this; }
264 self_type& operator -= (const self_type& rhs) { x -= rhs.x; y -= rhs.y; return *this; }
267 self_type& operator *= (f32 f) { x *= f; y *= f; return *this; }
270 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
273 self_type& operator /= (f32 f) { f32 r = 1.f / f; x *= r; y *= r; return *this; }
276 self_type operator + () const { return *this; }
279 self_type operator - () const { return self_type(-x, -y); }
282 self_type operator + (const self_type& rhs) const { return self_type(x + rhs.x, y + rhs.y); }
[all …]
Dmath_Vector3.h273 operator f32*() { return &x; }
275 operator const f32*() const { return &x; }
283 self_type& operator += (const self_type& rhs) { (void)VEC3Add(this, this, &rhs); return *this; }
286 self_type& operator -= (const self_type& rhs) { (void)VEC3Sub(this, this, &rhs); return *this; }
289 self_type& operator *= (f32 f) { (void)VEC3Scale(this, this, f); return *this; }
292 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; }
295 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
298 self_type operator + () const { return *this; }
301 self_type operator - () const { return self_type(-x, -y, -z); }
305 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret…
[all …]
Dmath_Matrix22.h181 operator f32*() { return this->a; }
183 operator const f32*() const { return this->a; }
232 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX22)) ==…
235 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX22)) !=…
247 operator UnspecifiedBoolType() const;
248 operator UnspecifiedBoolType();
/CTR-SDK-4.2.5/include/nn/fslow/
Dfslow_IArchive.h109 operator const Char*() const { return m_Data.c; }
113 …bool operator==(const ArchiveName& rhs) const { return std::memcmp(&this->m_Data, &rhs.m_Data, siz…
114 bool operator!=(const ArchiveName& rhs) const { return !(*this == rhs); }
116 …bool operator>(const ArchiveName& rhs) const { return std::memcmp(&this->m_Data, &rhs.m_Data, size…
117 bool operator<=(const ArchiveName& rhs) const { return !(*this > rhs); }
118 bool operator<(const ArchiveName& rhs) const { return rhs > *this; }
119 bool operator>=(const ArchiveName& rhs) const { return rhs <= *this; }
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.h58 operator const Char*() const { return (*this)->GetString(); }
59 const Char& operator[](int i) const { return (**this)[i]; }
60 operator bool() const { return (*this)->IsValid(); }
61 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-4.2.5/include/nn/
DHandle.h81 bool operator ==(const Handle& rhs) const { return this->m_Handle == rhs.m_Handle; }
82 bool operator !=(const Handle& rhs) const { return this->m_Handle != rhs.m_Handle; }
83 operator nnHandle() const { nnHandle handle = {this->m_Handle}; return handle; } in nnHandle()
/CTR-SDK-4.2.5/include/nn/ro/
Dro_Module.h68 virtual bool operator()(Module* p) = 0;
76 void operator delete(void* p) in delete()
255 void* operator new(size_t size) throw ();
Dro_RegistrationList.h47 void operator delete(void* p) in delete()
67 void* operator new(size_t size) throw ();
/CTR-SDK-4.2.5/sources/libraries/rdt/CTR/
Drdt_ReceiverImpl.h98 static void* operator new(size_t size, void *pBuf) throw() in new()
117 static void operator delete (void *p) throw() in delete()
138 ReceiverImpl& operator=(const ReceiverImpl&); variable

123