Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/gfx/
Dgfx_ParticleTime.h45 friend ParticleTime operator -(const ParticleTime& rhs);
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_ParticleTim…
166 …bool operator <=(const ParticleTime& rhs) const { return this->m_ParticleTime <= rhs.m_ParticleTim…
167 …bool operator >(const ParticleTime& rhs) const { return this->m_ParticleTime > rhs.m_ParticleTime;…
168 …bool operator <(const ParticleTime& rhs) const { return this->m_ParticleTime < rhs.m_ParticleTime;…
170 bool operator ==(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
171 bool operator !=(s32 rhs) const { return this->m_ParticleTime == S32ToParticleTime(rhs); }
172 bool operator >=(s32 rhs) const { return this->m_ParticleTime >= S32ToParticleTime(rhs); }
[all …]
Dgfx_ActivateCommand.h53 static NW_INLINE u32 MultU32Color(u32 lhs, u32 rhs) in MultU32Color() argument
57 u32 r = ((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10; in MultU32Color()
58 u32 g = ((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10; in MultU32Color()
59 u32 b = ((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10; in MultU32Color()
73 static NW_INLINE u32 MultAddU32Color(u32 lhs, u32 rhs, u32 add) in MultAddU32Color() argument
78 … u32 r = (((((lhs << 1) & MASKx2) + 1) * (((rhs << 1) & MASKx2) + 1)) >> 10) + (add & MASK); in MultAddU32Color()
79 …u32 g = (((((lhs >> 7) & MASKx2) + 1) * (((rhs >> 7) & MASKx2) + 1)) >> 10) + ((add >> 8) & MASK… in MultAddU32Color()
80 …u32 b = (((((lhs >> 15) & MASKx2) + 1) * (((rhs >> 15) & MASKx2) + 1)) >> 10) + ((add >> 16) & MAS… in MultAddU32Color()
Dgfx_SimpleMaterialActivator.h100 EqualHash(const TRes lhs, const URes rhs) in EqualHash() argument
102 return (lhs.GetHash() == rhs.GetHash()); in EqualHash()
Dgfx_GfxObject.h195 GfxPtr& operator=(GfxPtr<TObject> rhs)
197 m_MovePtr.operator=(rhs.m_MovePtr);
Dgfx_ParticleUtil.h89 const ParticleSet* rhs);
Dgfx_RenderQueue.h780 const RenderElement& rhs) in operator()
782 return lhs.Key() < rhs.Key(); in operator()
/NW4C-2.0.3/include/nw/ut/
Dut_Float24.h111 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; }
114 Float24& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
116 bool operator ==(f32 rhs) const { return (rhs == this->m_Float32); }
117 bool operator !=(f32 rhs) const { return !(*this == rhs); }
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; }
271 Float31& operator /=(f32 rhs) { this->m_Float32 /= rhs; return *this; }
[all …]
Dut_Color.h295 SelfType& operator +=(const SelfType& rhs)
297 *this = *this + rhs;
308 SelfType& operator -=(const SelfType& rhs)
310 *this = *this - rhs;
321 SelfType& operator *=(const SelfType& rhs)
323 *this = *this * rhs;
334 SelfType& operator /=(const SelfType& rhs)
336 *this = *this / rhs;
347 const SelfType operator +(u32 rhs) const
349 const SelfType right = SelfType(rhs);
[all …]
Dut_ResUtil.h149 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
151 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
189 bool operator==(const class_name& rhs) const { return ptr() == rhs.ptr(); } \
191 bool operator!=(const class_name& rhs) const { return ptr() != rhs.ptr(); } \
Dut_MoveArray.h262 MoveArray& operator=(MoveArray rhs)
264 rhs.swap(*this);
1113 const nw::ut::MoveArray<TElement>& rhs
1116 if (lhs.size() != rhs.size())
1120 return std::equal(lhs.begin(), lhs.end(), rhs.begin());
1137 const nw::ut::MoveArray<TElement>& rhs
1140 if (lhs.size() != rhs.size())
1144 return !(lhs == rhs);
1161 const nw::ut::MoveArray<TElement>& rhs
1164 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
[all …]
Dut_Inlines.h600 bool operator()(ValueT lhs, ValueT rhs) const in operator()
602 ValueT diff = Abs(lhs - rhs); in operator()
605 diff <= (m_Tolerance * Abs(rhs)); in operator()
641 bool operator()(ValueT lhs, ValueT rhs) const in operator()
643 ValueT diff = Abs(lhs - rhs); in operator()
646 diff <= (m_Tolerance * Abs(rhs)); in operator()
663 FloatEquals(ValueT lhs, ValueT rhs) in FloatEquals() argument
665 return CloseAtTolerance<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEquals()
678 FloatEqualsWeak(ValueT lhs, ValueT rhs) in FloatEqualsWeak() argument
680 return CloseAtToleranceWeak<ValueT>(std::numeric_limits<ValueT>::epsilon())(lhs, rhs); in FloatEqualsWeak()
Dut_Iterator.h117 explicit reverse_iterator(const reverse_iterator<T>& rhs ) : m_Current( rhs.GetBase() ) {}
Dut_MovePtr.h335 MovePtr& operator=(MovePtr rhs)
337 rhs.Swap(*this);
Dut_SharedPtr.h548 WeakPtr& operator = (const SharedPtr<U, TLockObject>& rhs)
550 WeakPtr(rhs).SwapObjPtr(*this);
Dut_ResArray.h328 /* ctor */ ResArray( const ResArray<T, TTraits>& rhs ) in ResArray() argument
329 : m_pBegin( rhs.m_pBegin ), in ResArray()
330 m_pEnd( rhs.m_pEnd ) in ResArray()
Dut_ResTypes.h255 bool operator = (bool rhs) { value = rhs; return bool(*this); }
Dut_ResDictionary.h301 ResDicPatriciaData::ResDicNodeData* Get(const ResName rhs) const;
/NW4C-2.0.3/include/nw/anim/
Danim_AnimFrameController.h131 bool operator==(const AnimFrame& rhs) const
133 return m_Frame == rhs.m_Frame && m_LastFrame == rhs.m_LastFrame;
135 bool operator!=(const AnimFrame& rhs) const
137 return m_Frame != rhs.m_Frame || m_LastFrame != rhs.m_LastFrame;
/NW4C-2.0.3/sources/libraries/ut/
Dut_ResDictionary.cpp46 ResDicPatricia::Get(const ResName rhs) const in Get()
48 size_t len = rhs.GetLength(); in Get()
49 const char* s = rhs.GetName(); in Get()
76 if (rhs == ResName(((u8*)&r + x->ofsString - sizeof(u32)))) in Get()
/NW4C-2.0.3/include/nw/font/
Dfont_CharStrmReader.h51 CharStrmReader(const CharStrmReader& rhs) in CharStrmReader() argument
52 : mCharStrm(rhs.mCharStrm), in CharStrmReader()
53 mReadFunc(rhs.mReadFunc) in CharStrmReader()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_Stopwatch.cpp29 inline const TimeSpan operator / (const TimeSpan& lhs, int rhs) in operator /() argument
31 if (rhs != 0) in operator /()
33 return TimeSpan::FromNanoSeconds(lhs.GetNanoSeconds() / rhs); in operator /()
/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_SortingMaterialIdGenerator.cpp72 const internal::MaterialKeyValue& rhs) in operator ()()
74 return lhs.key < rhs.key; in operator ()()
82 const internal::MaterialKeyValue& rhs) in operator ()()
84 return lhs.subKey < rhs.subKey; in operator ()()
Dgfx_ParticleUtil.cpp178 const ParticleSet* rhs) in operator ()() argument
180 if (rhs == NULL) in operator ()()
191 const ResParticleSet& rhsResource = rhs->GetResParticleSet(); in operator ()()