Home
last modified time | relevance | path

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

/NW4C-1.3.3/include/nw/gfx/
Dgfx_ParticleTime.h43 friend ParticleTime operator -(const ParticleTime& rhs);
161 …bool operator ==(const ParticleTime& rhs) const { return this->m_ParticleTime == rhs.m_ParticleTim…
162 …bool operator !=(const ParticleTime& rhs) const { return this->m_ParticleTime == rhs.m_ParticleTim…
163 …bool operator >=(const ParticleTime& rhs) const { return this->m_ParticleTime >= rhs.m_ParticleTim…
164 …bool operator <=(const ParticleTime& rhs) const { return this->m_ParticleTime <= rhs.m_ParticleTim…
165 …bool operator >(const ParticleTime& rhs) const { return this->m_ParticleTime > rhs.m_ParticleTime;…
166 …bool operator <(const ParticleTime& rhs) const { return this->m_ParticleTime < rhs.m_ParticleTime;…
168 bool operator ==(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
169 bool operator !=(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
170 bool operator >=(s32 rhs) const { return this->m_ParticleTime >= S32ToParticleTime(rhs); }
[all …]
Dgfx_ActivateCommand.h51 static NW_INLINE u32 MultU32Color(u32 lhs, u32 rhs) in MultU32Color() argument
55 u32 r = ((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10; in MultU32Color()
56 u32 g = ((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10; in MultU32Color()
57 u32 b = ((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10; in MultU32Color()
71 static NW_INLINE u32 MultAddU32Color(u32 lhs, u32 rhs, u32 add) in MultAddU32Color() argument
76 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
77 …u32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK… in MultAddU32Color()
78 …u32 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MAS… in MultAddU32Color()
Dgfx_SimpleMaterialActivator.h98 EqualHash(const TRes lhs, const URes rhs) in EqualHash() argument
100 return (lhs.GetHash() == rhs.GetHash()); in EqualHash()
Dgfx_GfxObject.h193 GfxPtr& operator=(GfxPtr<TObject> rhs)
195 m_MovePtr.operator=(rhs.m_MovePtr);
Dgfx_ParticleUtil.h87 const ParticleSet* rhs);
Dgfx_RenderQueue.h778 const RenderElement& rhs) in operator()
780 return lhs.Key() < rhs.Key(); in operator()
/NW4C-1.3.3/include/nw/ut/
Dut_Float24.h109 Float24& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
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; }
114 bool operator ==(f32 rhs) const { return (rhs == this->m_Float32); }
115 bool operator !=(f32 rhs) const { return !(*this == rhs); }
266 Float31& operator +=(f32 rhs) { this->m_Float32 += rhs; return *this; }
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; }
[all …]
Dut_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 …]
Dut_ResUtil.h147 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
149 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
187 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
189 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
Dut_MoveArray.h260 MoveArray& operator=(MoveArray rhs)
262 rhs.swap(*this);
1111 const nw::ut::MoveArray<TElement>& rhs
1114 if (lhs.size() != rhs.size())
1118 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1135 const nw::ut::MoveArray<TElement>& rhs
1138 if (lhs.size() != rhs.size())
1142 return !(lhs == rhs);
1159 const nw::ut::MoveArray<TElement>& rhs
1162 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
[all …]
Dut_Inlines.h598 bool operator()(ValueT lhs, ValueT rhs) const in operator()
600 ValueT diff = Abs(lhs - rhs); in operator()
603 diff <= (m_Tolerance * Abs(rhs)); in operator()
639 bool operator()(ValueT lhs, ValueT rhs) const in operator()
641 ValueT diff = Abs(lhs - rhs); in operator()
644 diff <= (m_Tolerance * Abs(rhs)); in operator()
661 FloatEquals(ValueT lhs, ValueT rhs) in FloatEquals() argument
663 return CloseAtTolerance<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEquals()
676 FloatEqualsWeak(ValueT lhs, ValueT rhs) in FloatEqualsWeak() argument
678 return CloseAtToleranceWeak<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEqualsWeak()
Dut_Iterator.h115 explicit reverse_iterator(const reverse_iterator<T>& rhs ) : m_Current( rhs.GetBase() ) {}
Dut_MovePtr.h333 MovePtr& operator=(MovePtr rhs)
335 rhs.Swap(*this);
Dut_SharedPtr.h519 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
521 WeakPtr(rhs).SwapObjPtr(*this);
Dut_ResArray.h326 /* ctor */ ResArray( const ResArray<T, TTraits>& rhs ) in ResArray() argument
327 : m_pBegin( rhs.m_pBegin ), in ResArray()
328 m_pEnd( rhs.m_pEnd ) in ResArray()
Dut_ResTypes.h253 bool operator = (bool rhs) { value = rhs; return bool(*this); }
Dut_ResDictionary.h299 ResDicPatriciaData::ResDicNodeData* Get(const ResName rhs) const;
/NW4C-1.3.3/include/nw/anim/
Danim_AnimFrameController.h129 bool operator==(const AnimFrame& rhs) const
131 return m_Frame == rhs.m_Frame && m_LastFrame == rhs.m_LastFrame;
133 bool operator!=(const AnimFrame& rhs) const
135 return m_Frame != rhs.m_Frame || m_LastFrame != rhs.m_LastFrame;
/NW4C-1.3.3/sources/libraries/ut/
Dut_ResDictionary.cpp44 ResDicPatricia::Get(const ResName rhs) const in Get()
46 size_t len = rhs.GetLength(); in Get()
47 const char* s = rhs.GetName(); in Get()
74 if (rhs == ResName(((u8*)&r + x->ofsString - sizeof(u32)))) in Get()
/NW4C-1.3.3/include/nw/font/
Dfont_CharStrmReader.h49 CharStrmReader(const CharStrmReader& rhs) in CharStrmReader() argument
50 : mCharStrm(rhs.mCharStrm), in CharStrmReader()
51 mReadFunc(rhs.mReadFunc) in CharStrmReader()
/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_Stopwatch.cpp27 inline const TimeSpan operator / (const TimeSpan& lhs, int rhs) in operator /() argument
29 if (rhs != 0) in operator /()
31 return TimeSpan::FromNanoSeconds(lhs.GetNanoSeconds() / rhs); in operator /()
/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp70 const internal::MaterialKeyValue& rhs) in operator ()()
72 return lhs.key < rhs.key; in operator ()()
80 const internal::MaterialKeyValue& rhs) in operator ()()
82 return lhs.subKey < rhs.subKey; in operator ()()
Dgfx_ParticleUtil.cpp176 const ParticleSet* rhs) in operator ()() argument
178 if (rhs == NULL) in operator ()()
189 const ResParticleSet& rhsResource = rhs->GetResParticleSet(); in operator ()()