Searched refs:operator (Results 1 – 25 of 56) sorted by relevance
123
34 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 …]
100 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 …]
103 SelfType& operator =(u32 color)116 SelfType& operator =(FloatColor& color); member123 operator u32() const { return ToU32(); } in u32()133 const SelfType operator +(const SelfType& right) const151 const SelfType operator -(const SelfType& right) const169 const SelfType operator *(const SelfType& right) const187 const SelfType operator /(const SelfType& right) const204 const SelfType operator ++()219 const SelfType operator ++(int)235 const SelfType operator --()[all …]
37 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; }
38 T& operator*() const43 T* operator->() const
40 ReferenceCounter& operator=(const ReferenceCounter& rhs)123 const Object& operator*() const130 const Object* operator->() const174 Object& operator*()179 Object* operator->()265 name& operator=(const name& rhs) \
170 …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…
218 …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 …]
88 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() const157 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; } …
221 operator const Char*() const { return GetString(); }223 const Char& operator[](s32 i) const419 FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)426 FixedLengthString& operator+=(const Char2 s[Size]) { return AppendTail(s); }428 FixedLengthString& operator+=(const Char* rhs)435 …friend bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…440 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)445 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)451 …friend bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…456 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)[all …]
63 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)
61 ValueType& operator *() { return m_Value; }62 const ValueType& operator *() const { return m_Value; }63 ValueType* operator->() { return &m_Value; }
35 bool operator()(s32& x) in operator() function52 bool operator()(s32& x) in operator() function
85 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 …]
74 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 …]
111 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 …]
122 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 - () const186 …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 …]
129 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 …]
90 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 …]
102 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 …]
42 bool operator()(s32& x) const in operator() function58 bool operator()(s32& x) const in operator() function74 bool operator()(s32& x) const in operator() function188 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 …]
56 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(); }
88 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…
119 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()
100 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