Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 26) sorted by relevance

12

/CTR-SDK-4.2.5/include/nn/util/
Dutil_Int64.h37 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; }
44 Int64& operator^=(Base rhs) { Base lhs = *this; lhs ^= rhs; *this = lhs; return *this; }
45 Int64& operator<<=(int rhs) { Base lhs = *this; lhs <<= rhs; *this = lhs; return *this; }
46 Int64& operator>>=(int rhs) { Base lhs = *this; lhs >>= rhs; *this = lhs; return *this; }
[all …]
Dutil_Float24.h110 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; }
113 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
115 bool operator ==(f32 rhs) const { return (rhs == this->m_Float32); }
116 bool operator !=(f32 rhs) const { return !(*this == rhs); }
267 Float31& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
268 Float31& operator -=(f32 rhs) { this->m_Float32 -= rhs; return *this; }
269 Float31& operator *=(f32 rhs) { this->m_Float32 *= rhs; return *this; }
270 Float31& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
[all …]
Dutil_Color.h293 SelfType& operator +=(const SelfType& rhs)
295 *this = *this + rhs;
306 SelfType& operator -=(const SelfType& rhs)
308 *this = *this - rhs;
319 SelfType& operator *=(const SelfType& rhs)
321 *this = *this * rhs;
332 SelfType& operator /=(const SelfType& rhs)
334 *this = *this / rhs;
345 const SelfType operator +(u32 rhs) const
347 const SelfType right = SelfType(rhs);
[all …]
Dutil_AutoObject.h40 ReferenceCounter& operator=(const ReferenceCounter& rhs)
42 if (this != &rhs)
100 Self& Assign(const Self& rhs) in Assign() argument
103 rhs.AssertNotUpdating(); in Assign()
104 if (this != &rhs && m_P != rhs.m_P) in Assign()
107 this->m_P = rhs.m_P; in Assign()
262 name& operator=(const name& rhs) \
264 return Base::Assign(rhs); \
/CTR-SDK-4.2.5/include/nn/fnd/
Dfnd_TimeSpan.h192 …end bool operator==(const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds == rhs.m_…
201 friend bool operator!=(const TimeSpan& lhs, const TimeSpan& rhs) { return !(lhs == rhs); }
210 …end bool operator< (const TimeSpan& lhs, const TimeSpan& rhs) { return lhs.m_NanoSeconds < rhs.m_…
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 …imeSpan operator+(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return ret += rhs
262 …TimeSpan& operator-=(const TimeSpan& rhs) { this->m_NanoSeconds -= rhs.m_NanoSeconds; return *this…
271 …imeSpan operator-(const TimeSpan& lhs, const TimeSpan& rhs) { TimeSpan ret(lhs); return ret -= rhs
Dfnd_DateTime.h220 …end bool operator==(const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds == rhs.m…
225 friend bool operator!=(const DateTime& lhs, const DateTime& rhs) { return !(lhs == rhs); }
230 …end bool operator< (const DateTime& lhs, const DateTime& rhs) { return lhs.m_MilliSeconds < rhs.m…
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 …ateTime operator+(const DateTime& lhs, const TimeSpan& rhs) { DateTime ret(lhs); return ret += rhs
260 …DateTime& operator-=(const TimeSpan& rhs) { this->m_MilliSeconds -= rhs.GetMilliSeconds(); return …
265 …ateTime operator-(const DateTime& lhs, const TimeSpan& rhs) { DateTime ret(lhs); return ret -= rhs
[all …]
Dfnd_FixedLengthString.h452 FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)
454 this->AppendTail(rhs);
461 FixedLengthString& operator+=(const Char* rhs)
463 this->AppendTail(rhs);
468 …d bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
470 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
473 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
475 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
478 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
480 return rhs == lhs;
[all …]
/CTR-SDK-4.2.5/include/nn/fslow/
Dfslow_IArchive.h113 …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_HandleTable.h93 …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…
Dfslow_SafeHandle.h190 …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…
/CTR-SDK-4.2.5/include/nn/os/
Dos_Tick.h119 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;
242 inline Tick& Tick::operator+=(fnd::TimeSpan rhs)
245 rhs.GetNanoSeconds(),
251 inline Tick& Tick::operator-=(Tick rhs) { this->m_Tick -= rhs.m_Tick; return *this; }
252 inline Tick Tick::operator-(Tick rhs) const { Tick ret(*this); return ret -= rhs; }
[all …]
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector4.h285 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; }
294 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
306 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
309 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret…
323 self_type& Lerp(const VEC4& lhs, const VEC4& rhs, f32 t) in Lerp() argument
325 return *VEC4Lerp(this, &lhs, &rhs, t); in Lerp()
375 self_type& Maximize(const VEC4& lhs, const VEC4& rhs) in Maximize() argument
377 return *VEC4Maximize(this, &lhs, &rhs); in Maximize()
384 self_type& Minimize(const VEC4& lhs, const VEC4& rhs) in Minimize() argument
[all …]
Dmath_Vector2.h261 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; }
270 self_type& operator *= (const self_type& rhs) { x *= rhs.x; y *= rhs.y; return *this; }
282 self_type operator + (const self_type& rhs) const { return self_type(x + rhs.x, y + rhs.y); }
285 self_type operator - (const self_type& rhs) const { return self_type(x - rhs.x, y - rhs.y); }
299 self_type& Lerp(const VEC2& lhs, const VEC2& rhs, f32 t) in Lerp() argument
301 return *VEC2Lerp(this, &lhs, &rhs, t); in Lerp()
349 self_type& Maximize(const VEC2& lhs, const VEC2& rhs) in Maximize() argument
351 return *VEC2Maximize(this, &lhs, &rhs); in Maximize()
358 self_type& Minimize(const VEC2& lhs, const VEC2& rhs) in Minimize() argument
[all …]
Dmath_Quaternion.h245 QUAT(const QUAT_& rhs) { x = rhs.x; y = rhs.y; z = rhs.z; w = rhs.w; } in QUAT() argument
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; }
289 …self_type operator + (const self_type& rhs) const { QUAT tmp; (void)QUATAdd(&tmp, this, &rhs); ret…
292 …self_type operator - (const self_type& rhs) const { QUAT tmp; (void)QUATSub(&tmp, this, &rhs); ret…
301 …bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w…
304 …bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w…
326 operator * (f32 f, const QUAT& rhs) { QUAT tmp; (void)QUATScale(&tmp, &rhs, f); return tmp; }
Dmath_Vector3.h283 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; }
292 … self_type& operator *= (const self_type& rhs) { (void)VEC3Mult(this, this, &rhs); return *this; }
305 …self_type operator + (const self_type& rhs) const { VEC3 tmp; (void)VEC3Add(&tmp, this, &rhs); ret…
308 …self_type operator - (const self_type& rhs) const { VEC3 tmp; (void)VEC3Sub(&tmp, this, &rhs); ret…
322 self_type& Lerp(const VEC3& lhs, const VEC3& rhs, f32 t) in Lerp() argument
324 return *VEC3Lerp(this, &lhs, &rhs, t); in Lerp()
374 self_type& Maximize(const VEC3& lhs, const VEC3& rhs) in Maximize() argument
376 return *VEC3Maximize(this, &lhs, &rhs); in Maximize()
383 self_type& Minimize(const VEC3& lhs, const VEC3& rhs) in Minimize() argument
[all …]
Dmath_Matrix23.h274 explicit MTX23(const MTX22& rhs) { MTX22ToMTX23(this, &rhs); } in MTX23() argument
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); }
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);…
428 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX23)) ==…
431 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX23)) !=…
Dmath_Matrix43.h270 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); }
297 …self_type operator + (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);…
300 …self_type operator - (const self_type& rhs) const { MTX43 tmp; return *MTX43Add(&tmp, this, &rhs);…
324 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX43)) ==…
327 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX43)) !=…
Dmath_Matrix22.h165 explicit MTX22(const MTX23& rhs);
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)) !=…
269 MTX22::MTX22(const MTX23& rhs) { MTX23ToMTX22(this, &rhs); } in MTX22() argument
Dmath_Transform.h64 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(Transform2…
65 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(Transform2…
91 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(Transform3…
92 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(Transform3…
Dmath_Matrix33.h190 explicit MTX33(const MTX34& rhs) { MTX34ToMTX33(this, &rhs); } in MTX33() argument
260 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX33)) ==…
263 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX33)) !=…
Dmath_Matrix44.h547 explicit MTX44(const MTX34& rhs) in MTX44() argument
549 (void)MTX34Copy((MTX34*)this, (MTX34*)&rhs); in MTX44()
554 MTX44(const MTX44& rhs) { (void)MTX44Copy(this, &rhs); } in MTX44() argument
622 self_type& operator *= (const self_type& rhs) { return *MTX44Mult(this, this, &rhs); }
625 self_type& operator += (const self_type& rhs) { return *MTX44Add(this, this, &rhs); }
628 self_type& operator -= (const self_type& rhs) { return *MTX44Sub(this, this, &rhs); }
649 …self_type operator + (const self_type& rhs) const { MTX44 tmp; return *MTX44Add(&tmp, this, &rhs);…
652 …self_type operator - (const self_type& rhs) const { MTX44 tmp; return *MTX44Sub(&tmp, this, &rhs);…
757 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX44)) ==…
760 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX44)) !=…
Dmath_Matrix34.h619 MTX34(const MTX34& rhs) { (void)MTX34Copy(this, &rhs); } in MTX34() argument
622 explicit MTX34(const MTX33& rhs) { MTX33ToMTX34(this, &rhs); } in MTX34() argument
686 self_type& operator += (const self_type& rhs) { return *MTX34Add(this, this, &rhs); }
689 self_type& operator -= (const self_type& rhs) { return *MTX34Sub(this, this, &rhs); }
709 …self_type operator + (const self_type& rhs) const { MTX34 tmp; return *MTX34Add(&tmp, this, &rhs);…
712 …self_type operator - (const self_type& rhs) const { MTX34 tmp; return *MTX34Sub(&tmp, this, &rhs);…
867 …bool operator == (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX34)) ==…
870 …bool operator != (const self_type& rhs) const { return ::std::memcmp(this, &rhs, sizeof(MTX34)) !=…
894 inline MTX34 operator * (f32 f, const MTX34& rhs)
897 (void)MTX34Mult(&tmp, &rhs, f);
/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; }
/CTR-SDK-4.2.5/sources/libraries/rtport/rvct/
Drvct_stdio.cpp84 bool type_info::operator==(const type_info& rhs) const in operator ==()
86 return std::strcmp(this->name(), rhs.name()) == 0; in operator ==()
88 bool type_info::operator!=(const type_info& rhs) const in operator !=()
90 return std::strcmp(this->name(), rhs.name()) != 0; in operator !=()
92 bool type_info::before(const type_info& rhs) const in before()
94 return std::strcmp(this->name(), rhs.name()) < 0; in before()
/CTR-SDK-4.2.5/include/nn/font/
Dfont_CharStrmReader.h45 CharStrmReader(const CharStrmReader& rhs) in CharStrmReader() argument
46 : mCharStrm(rhs.mCharStrm), in CharStrmReader()
47 mReadFunc(rhs.mReadFunc) in CharStrmReader()

12