Home
last modified time | relevance | path

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

12345678910>>...83

/third_party/boost/boost/date_time/
Dint_adapter.hpp139 BOOST_CONSTEXPR bool operator==(const int_adapter& rhs) const in operator ==()
141 return (compare(rhs) == 0); in operator ==()
143 BOOST_CXX14_CONSTEXPR bool operator==(const int& rhs) const in operator ==()
147 if(is_neg_inf(value_) && rhs == 0) in operator ==()
152 return (compare(rhs) == 0); in operator ==()
154 BOOST_CONSTEXPR bool operator!=(const int_adapter& rhs) const in operator !=()
156 return (compare(rhs) != 0); in operator !=()
158 BOOST_CXX14_CONSTEXPR bool operator!=(const int& rhs) const in operator !=()
162 if(is_neg_inf(value_) && rhs == 0) in operator !=()
167 return (compare(rhs) != 0); in operator !=()
[all …]
Ddate_duration_types.hpp69 BOOST_CONSTEXPR bool operator==(const months_type& rhs) const in operator ==()
71 return(_m == rhs._m); in operator ==()
73 BOOST_CONSTEXPR bool operator!=(const months_type& rhs) const in operator !=()
75 return(_m != rhs._m); in operator !=()
77 BOOST_CXX14_CONSTEXPR months_type operator+(const months_type& rhs)const in operator +()
79 return months_type(_m + rhs._m); in operator +()
81 BOOST_CXX14_CONSTEXPR months_type& operator+=(const months_type& rhs) in operator +=() argument
83 _m = _m + rhs._m; in operator +=()
86 BOOST_CXX14_CONSTEXPR months_type operator-(const months_type& rhs)const in operator -()
88 return months_type(_m - rhs._m); in operator -()
[all …]
/third_party/boost/boost/test/data/
Dsize.hpp56 data::size_t& operator+=( std::size_t rhs ) { if( !is_inf() ) m_value += rhs; return *this; } in operator +=() argument
57 data::size_t& operator+=( data::size_t rhs ) in operator +=() argument
60 if( rhs.is_inf() ) in operator +=()
61 *this = rhs; in operator +=()
63 m_value += rhs.value(); in operator +=()
67 data::size_t& operator-=( std::size_t rhs ) { if( !is_inf() ) m_value -= rhs; return *this; } in operator -=() argument
68 data::size_t& operator-=( data::size_t rhs ) in operator -=() argument
71 if( value() < rhs.value() ) in operator -=()
74 m_value -= rhs.value(); in operator -=()
90 …line bool operator>(data::size_t lhs, std::size_t rhs) { return lhs.is_inf() || (lhs.value() >… in operator >() argument
[all …]
/third_party/boost/boost/wave/grammars/
Dcpp_expression_value.hpp123 closure_value &operator= (closure_value const &rhs) in operator =() argument
125 switch (rhs.get_type()) { in operator =()
127 value.i = as_long(rhs); in operator =()
132 value.ui = as_ulong(rhs); in operator =()
137 value.b = as_bool(rhs); in operator =()
141 valid = rhs.valid; in operator =()
144 closure_value &operator= (int rhs) in operator =() argument
147 value.i = rhs; in operator =()
151 closure_value &operator= (unsigned int rhs) in operator =() argument
154 value.ui = rhs; in operator =()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_ipc.h49 BaseIPC(const BaseIPC &rhs) : remove_ipc_on_exit_(false) {} in BaseIPC() argument
50 BaseIPC &operator=(const BaseIPC &rhs) {
51 if (&rhs != this) {
57 …BaseIPC(BaseIPC &&rhs) noexcept : remove_ipc_on_exit_(rhs.remove_ipc_on_exit_) { rhs.remove_ipc_on… in BaseIPC() argument
58 BaseIPC &operator=(BaseIPC &&rhs) noexcept {
59 if (&rhs != this) {
60 remove_ipc_on_exit_ = rhs.remove_ipc_on_exit_;
61 rhs.remove_ipc_on_exit_ = false;
80 SharedMessage(const SharedMessage &rhs) : BaseIPC(rhs), msg_qid_(rhs.msg_qid_) {} in SharedMessage() argument
81 SharedMessage &operator=(const SharedMessage &rhs) {
[all …]
/third_party/boost/libs/serialization/test/
DA.cpp116 A::operator==(const A &rhs) const { in operator ==()
117 if(b != rhs.b) in operator ==()
119 if(l != rhs.l) in operator ==()
122 if(f != rhs.f) in operator ==()
124 if(g != rhs.g) in operator ==()
127 if(m != rhs.m) in operator ==()
129 if(n != rhs.n) in operator ==()
131 if(o != rhs.o) in operator ==()
133 if(p != rhs.p) in operator ==()
135 if(q != rhs.q) in operator ==()
[all …]
Dtest_simple_class.cpp32 bool A::check_equal(const A &rhs) const in check_equal()
34 BOOST_CHECK_EQUAL(b, rhs.b); in check_equal()
35 BOOST_CHECK_EQUAL(l, rhs.l); in check_equal()
37 BOOST_CHECK_EQUAL(f, rhs.f); in check_equal()
38 BOOST_CHECK_EQUAL(g, rhs.g); in check_equal()
40 BOOST_CHECK_EQUAL(m, rhs.m); in check_equal()
41 BOOST_CHECK_EQUAL(n, rhs.n); in check_equal()
42 BOOST_CHECK_EQUAL(o, rhs.o); in check_equal()
43 BOOST_CHECK_EQUAL(p, rhs.p); in check_equal()
44 BOOST_CHECK_EQUAL(q, rhs.q); in check_equal()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DReactor.cpp98 std::sort(sorted.begin(), sorted.end(), [&](auto &lhs, auto &rhs) { in materializeAll() argument
99 return lhs.second < rhs.second; in materializeAll()
212 static Value *createShuffle4(Value *lhs, Value *rhs, uint16_t select) in createShuffle4() argument
221 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createShuffle4()
250 static Value *createMask4(Value *lhs, Value *rhs, uint16_t select) in createMask4() argument
266 return Nucleus::createShuffleVector(lhs, rhs, swizzle); in createMask4()
279 Bool::Bool(RValue<Bool> rhs) in Bool() argument
281 store(rhs); in Bool()
284 Bool::Bool(const Bool &rhs) in Bool() argument
286 store(rhs.load()); in Bool()
[all …]
DReactor.hpp219 RValue<T> operator=(RValue<T> rhs) const;
222 RValue<T> operator+=(RValue<T> rhs) const;
297 RValue(const Reference<T> &rhs);
329 Bool(RValue<Bool> rhs);
330 Bool(const Bool &rhs);
331 Bool(const Reference<Bool> &rhs);
334 RValue<Bool> operator=(RValue<Bool> rhs);
335 RValue<Bool> operator=(const Bool &rhs);
336 RValue<Bool> operator=(const Reference<Bool> &rhs);
342 RValue<Bool> operator&&(RValue<Bool> lhs, RValue<Bool> rhs);
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsScanHelpers.cpp59 string getOpOperation (Operator op, VkFormat format, string lhs, string rhs) in getOpOperation() argument
67 return lhs + " + " + rhs; in getOpOperation()
69 return lhs + " * " + rhs; in getOpOperation()
74 return "min(" + lhs + ", " + rhs + ")"; in getOpOperation()
78 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : min(" + lhs + ", "… in getOpOperation()
88 …return "mix(mix(min(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpOperation()
94 return "max(" + lhs + ", " + rhs + ")"; in getOpOperation()
98 …return "(isnan(" + lhs + ") ? " + rhs + " : (isnan(" + rhs + ") ? " + lhs + " : max(" + lhs + ", "… in getOpOperation()
108 …return "mix(mix(max(" + lhs + ", " + rhs + "), " + lhs + ", isnan(" + rhs + ")), " + rhs + ", isna… in getOpOperation()
114 return lhs + " & " + rhs; in getOpOperation()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_structs.hpp36 …VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = defaul…
38 AabbPositionsKHR( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in AabbPositionsKHR()
39 : AabbPositionsKHR( *reinterpret_cast<AabbPositionsKHR const *>( &rhs ) ) in AabbPositionsKHR()
43 AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
45 AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
47 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::AabbPositionsKHR const *>( &rhs ); in operator =()
102 bool operator==( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==()
104 …return ( minX == rhs.minX ) && ( minY == rhs.minY ) && ( minZ == rhs.minZ ) && ( maxX == rhs.maxX … in operator ==()
105 ( maxY == rhs.maxY ) && ( maxZ == rhs.maxZ ); in operator ==()
108 bool operator!=( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator !=()
[all …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan_structs.hpp36 …VULKAN_HPP_CONSTEXPR AabbPositionsKHR( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = defaul…
38 AabbPositionsKHR( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in AabbPositionsKHR()
39 : AabbPositionsKHR( *reinterpret_cast<AabbPositionsKHR const *>( &rhs ) ) in AabbPositionsKHR()
43 AabbPositionsKHR & operator=( AabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
45 AabbPositionsKHR & operator=( VkAabbPositionsKHR const & rhs ) VULKAN_HPP_NOEXCEPT in operator =()
47 *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::AabbPositionsKHR const *>( &rhs ); in operator =()
102 bool operator==( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator ==()
104 …return ( minX == rhs.minX ) && ( minY == rhs.minY ) && ( minZ == rhs.minZ ) && ( maxX == rhs.maxX … in operator ==()
105 ( maxY == rhs.maxY ) && ( maxZ == rhs.maxZ ); in operator ==()
108 bool operator!=( AabbPositionsKHR const & rhs ) const VULKAN_HPP_NOEXCEPT in operator !=()
[all …]
/third_party/boost/boost/xpressive/
Dsub_match.hpp209 bool operator == (sub_match<BidiIter> const &lhs, sub_match<BidiIter> const &rhs) in operator ==() argument
211 return lhs.compare(rhs) == 0; in operator ==()
215 bool operator != (sub_match<BidiIter> const &lhs, sub_match<BidiIter> const &rhs) in operator !=() argument
217 return lhs.compare(rhs) != 0; in operator !=()
221 bool operator < (sub_match<BidiIter> const &lhs, sub_match<BidiIter> const &rhs) in operator <() argument
223 return lhs.compare(rhs) < 0; in operator <()
227 bool operator <= (sub_match<BidiIter> const &lhs, sub_match<BidiIter> const &rhs) in operator <=() argument
229 return lhs.compare(rhs) <= 0; in operator <=()
233 bool operator >= (sub_match<BidiIter> const &lhs, sub_match<BidiIter> const &rhs) in operator >=() argument
235 return lhs.compare(rhs) >= 0; in operator >=()
[all …]
/third_party/boost/libs/serialization/example/
Ddemo_dll_a.hpp128 bool operator==(const A &rhs) const;
129 bool operator!=(const A &rhs) const;
130 bool operator<(const A &rhs) const; // used by less
213 inline bool A::operator==(const A &rhs) const in operator ==()
215 if(b != rhs.b) in operator ==()
217 if(l != rhs.l) in operator ==()
220 if(f != rhs.f) in operator ==()
222 if(g != rhs.g) in operator ==()
225 if(m != rhs.m) in operator ==()
227 if(n != rhs.n) in operator ==()
[all …]
Ddemo_dll_a.ipp127 bool operator==(const A &rhs) const;
128 bool operator!=(const A &rhs) const;
129 bool operator<(const A &rhs) const; // used by less
212 inline bool A::operator==(const A &rhs) const
214 if(b != rhs.b)
216 if(l != rhs.l)
219 if(f != rhs.f)
221 if(g != rhs.g)
224 if(m != rhs.m)
226 if(n != rhs.n)
[all …]
/third_party/skia/third_party/externals/d3d12allocator/src/
DCommon.h97 vec2 operator+(const vec2& rhs) const { return vec2(x + rhs.x, y + rhs.y); }
98 vec2 operator-(const vec2& rhs) const { return vec2(x - rhs.x, y - rhs.y); }
117 vec3 operator+(const vec3& rhs) const { return vec3(x + rhs.x, y + rhs.y, z + rhs.z); }
118 vec3 operator-(const vec3& rhs) const { return vec3(x - rhs.x, y - rhs.y, z - rhs.z); }
127 inline float Dot(const vec3& lhs, const vec3& rhs) in Dot() argument
129 return lhs.x * rhs.x + lhs.y * rhs.y + lhs.z * rhs.z; in Dot()
131 inline vec3 Cross(const vec3& lhs, const vec3& rhs) in Cross() argument
134 lhs.y * rhs.z - lhs.z * rhs.y, in Cross()
135 lhs.z * rhs.x - lhs.x * rhs.z, in Cross()
136 lhs.x * rhs.y - lhs.y * rhs.x); in Cross()
[all …]
/third_party/boost/boost/date_time/gregorian/
Dgreg_duration.hpp51 BOOST_CXX14_CONSTEXPR bool operator== (const date_duration& rhs) const in operator ==()
53 return base_type::operator== (rhs); in operator ==()
55 BOOST_CXX14_CONSTEXPR bool operator!= (const date_duration& rhs) const in operator !=()
57 return !operator== (rhs); in operator !=()
59 BOOST_CXX14_CONSTEXPR bool operator< (const date_duration& rhs) const in operator <()
61 return base_type::operator< (rhs); in operator <()
63 BOOST_CXX14_CONSTEXPR bool operator> (const date_duration& rhs) const in operator >()
65 return !(base_type::operator< (rhs) || base_type::operator== (rhs)); in operator >()
67 BOOST_CXX14_CONSTEXPR bool operator<= (const date_duration& rhs) const in operator <=()
69 return (base_type::operator< (rhs) || base_type::operator== (rhs)); in operator <=()
[all …]
/third_party/boost/boost/heap/detail/
Dstable_heap.hpp42 size_holder(size_holder && rhs) BOOST_NOEXCEPT: in size_holder()
43 size_(rhs.size_) in size_holder()
45 rhs.size_ = 0; in size_holder()
48 size_holder(size_holder const & rhs) BOOST_NOEXCEPT: in size_holder()
49 size_(rhs.size_) in size_holder()
52 size_holder & operator=(size_holder && rhs) BOOST_NOEXCEPT in operator =()
54 size_ = rhs.size_; in operator =()
55 rhs.size_ = 0; in operator =()
59 size_holder & operator=(size_holder const & rhs) BOOST_NOEXCEPT in operator =()
61 size_ = rhs.size_; in operator =()
[all …]
/third_party/boost/boost/type_index/
Dtype_index_facade.hpp86 inline bool equal(const Derived& rhs) const BOOST_NOEXCEPT { in equal()
88 const char* const right = rhs.raw_name(); in equal()
94 inline bool before(const Derived& rhs) const BOOST_NOEXCEPT { in before()
96 const char* const right = rhs.raw_name(); in before()
154 …x_facade<Derived, TypeInfo>& lhs, const type_index_facade<Derived, TypeInfo>& rhs) BOOST_NOEXCEPT { in operator ==() argument
155 return static_cast<Derived const&>(lhs).equal(static_cast<Derived const&>(rhs)); in operator ==()
159 …x_facade<Derived, TypeInfo>& lhs, const type_index_facade<Derived, TypeInfo>& rhs) BOOST_NOEXCEPT { in operator <() argument
160 return static_cast<Derived const&>(lhs).before(static_cast<Derived const&>(rhs)); in operator <()
166 …x_facade<Derived, TypeInfo>& lhs, const type_index_facade<Derived, TypeInfo>& rhs) BOOST_NOEXCEPT { in operator >() argument
167 return rhs < lhs; in operator >()
[all …]
/third_party/boost/boost/
Dmulti_array.hpp229 multi_array(const multi_array& rhs) : in multi_array() argument
230 super_type(rhs), in multi_array()
231 alloc_base(static_cast<const alloc_base&>(rhs)) { in multi_array()
233 boost::detail::multi_array::copy_n(rhs.base_,rhs.num_elements(),base_); in multi_array()
247 multi_array(const const_multi_array_ref<T,NumDims,OPtr>& rhs, in multi_array() argument
250 : super_type(0,so,rhs.index_bases(),rhs.shape()), in multi_array()
255 std::copy(rhs.begin(),rhs.end(),this->begin()); in multi_array()
260 const_sub_array<T,NumDims,OPtr>& rhs, in multi_array() argument
263 : super_type(0,so,rhs.index_bases(),rhs.shape()), in multi_array()
267 std::copy(rhs.begin(),rhs.end(),this->begin()); in multi_array()
[all …]
/third_party/boost/boost/tuple/
Dtuple_comparison.hpp54 inline bool eq(const T1& lhs, const T2& rhs) { in eq() argument
55 return lhs.get_head() == rhs.get_head() && in eq()
56 eq(lhs.get_tail(), rhs.get_tail()); in eq()
62 inline bool neq(const T1& lhs, const T2& rhs) { in neq() argument
63 return lhs.get_head() != rhs.get_head() || in neq()
64 neq(lhs.get_tail(), rhs.get_tail()); in neq()
70 inline bool lt(const T1& lhs, const T2& rhs) { in lt() argument
71 return lhs.get_head() < rhs.get_head() || in lt()
72 ( !(rhs.get_head() < lhs.get_head()) && in lt()
73 lt(lhs.get_tail(), rhs.get_tail())); in lt()
[all …]
/third_party/boost/boost/core/
Dscoped_enum.hpp131 …XPR bool operator ==(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)==enum…
132 …ONSTEXPR bool operator ==(self_type lhs, enum_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)=…
133 …_CONSTEXPR bool operator ==(enum_type lhs, self_type rhs) BOOST_NOEXCEPT { return lhs==enum_type(r…
134 …XPR bool operator !=(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)!=enum…
135 …ONSTEXPR bool operator !=(self_type lhs, enum_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)!…
136 …_CONSTEXPR bool operator !=(enum_type lhs, self_type rhs) BOOST_NOEXCEPT { return lhs!=enum_type(r…
137 …EXPR bool operator <(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)<enum_…
138 …CONSTEXPR bool operator <(self_type lhs, enum_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)<
139 …T_CONSTEXPR bool operator <(enum_type lhs, self_type rhs) BOOST_NOEXCEPT { return lhs<enum_type(rh…
140 …XPR bool operator <=(self_type lhs, self_type rhs) BOOST_NOEXCEPT { return enum_type(lhs.v_)<=enum…
[all …]
/third_party/boost/boost/numeric/ublas/tensor/
Doperators_comparison.hpp28 bool compare(tensor<T,F,A> const& lhs, tensor<T,F,A> const& rhs, BinaryPred pred) in compare() argument
31 if(lhs.extents() != rhs.extents()){ in compare()
43 if(!pred(lhs(i), rhs(i))) in compare()
49 bool compare(tensor<T,F,A> const& rhs, UnaryPred pred) in compare() argument
51 for(auto i = 0u; i < rhs.size(); ++i) in compare()
52 if(!pred(rhs(i))) in compare()
59 bool compare(tensor_expression<T,L> const& lhs, tensor_expression<T,R> const& rhs, BinaryPred pred) in compare() argument
65 return compare(static_cast<T const&>( lhs ), static_cast<T const&>( rhs ), pred); in compare()
67 return compare(static_cast<T const&>( lhs ), T( rhs ), pred); in compare()
69 return compare(T( lhs ), static_cast<T const&>( rhs ), pred); in compare()
[all …]
/third_party/boost/boost/thread/detail/
Dplatform_time.hpp198 inline bool operator==(platform_duration const& lhs, platform_duration const& rhs) in operator ==() argument
200 return lhs.getNs() == rhs.getNs(); in operator ==()
202 inline bool operator!=(platform_duration const& lhs, platform_duration const& rhs) in operator !=() argument
204 return lhs.getNs() != rhs.getNs(); in operator !=()
206 inline bool operator<(platform_duration const& lhs, platform_duration const& rhs) in operator <() argument
208 return lhs.getNs() < rhs.getNs(); in operator <()
210 inline bool operator<=(platform_duration const& lhs, platform_duration const& rhs) in operator <=() argument
212 return lhs.getNs() <= rhs.getNs(); in operator <=()
214 inline bool operator>(platform_duration const& lhs, platform_duration const& rhs) in operator >() argument
216 return lhs.getNs() > rhs.getNs(); in operator >()
[all …]
/third_party/mindspore/mindspore/lite/include/train/
Dtrain_cfg.h33 MixPrecisionCfg(const MixPrecisionCfg &rhs) { in MixPrecisionCfg() argument
34 this->dynamic_loss_scale_ = rhs.dynamic_loss_scale_; in MixPrecisionCfg()
35 this->loss_scale_ = rhs.loss_scale_; in MixPrecisionCfg()
36 this->keep_batchnorm_fp32_ = rhs.keep_batchnorm_fp32_; in MixPrecisionCfg()
37 this->num_of_not_nan_iter_th_ = rhs.num_of_not_nan_iter_th_; in MixPrecisionCfg()
38 this->is_raw_mix_precision_ = rhs.is_raw_mix_precision_; in MixPrecisionCfg()
40 MixPrecisionCfg &operator=(MixPrecisionCfg const &rhs) {
41 this->dynamic_loss_scale_ = rhs.dynamic_loss_scale_;
42 this->loss_scale_ = rhs.loss_scale_;
43 this->keep_batchnorm_fp32_ = rhs.keep_batchnorm_fp32_;
[all …]

12345678910>>...83