Home
last modified time | relevance | path

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

123

/foundation/ace/ace_engine/frameworks/core/components/common/properties/
Dtext_style.cpp28 bool TextStyle::operator==(const TextStyle& rhs) const in operator ==()
30 return fontFamilies_ == rhs.fontFamilies_ && fontFeatures_ == rhs.fontFeatures_ && in operator ==()
31 preferFontSizes_ == rhs.preferFontSizes_ && fontSize_ == rhs.fontSize_ && in operator ==()
32 … adaptMinFontSize_ == rhs.adaptMinFontSize_ && adaptMaxFontSize_ == rhs.adaptMaxFontSize_ && in operator ==()
33 adaptFontSizeStep_ == rhs.adaptFontSizeStep_ && lineHeight_ == rhs.lineHeight_ && in operator ==()
34 …fontWeight_ == rhs.fontWeight_ && fontStyle_ == rhs.fontStyle_ && textBaseline_ == rhs.textBaselin… in operator ==()
35 …textOverflow_ == rhs.textOverflow_ && textAlign_ == rhs.textAlign_ && textColor_ == rhs.textColor_… in operator ==()
36 …textDecoration_ == rhs.textDecoration_ && shadow_ == rhs.shadow_ && wordSpacing_ == rhs.wordSpacin… in operator ==()
37 …letterSpacing_ == rhs.letterSpacing_ && maxLines_ == rhs.maxLines_ && adaptTextSize_ == rhs.adaptT… in operator ==()
38 allowScale_ == rhs.allowScale_ && wordBreak_ == rhs.wordBreak_ && in operator ==()
[all …]
Dshadow.h48 bool operator==(const Shadow& rhs) const
50 …return color_ == rhs.color_ && NearEqual(blurRadius_, rhs.blurRadius_) && offset_ == rhs.offset_ &&
51 NearEqual(spreadRadius_, rhs.spreadRadius_) && NearEqual(elevation_, rhs.elevation_);
54 bool operator!=(const Shadow& rhs) const
56 return !(rhs == *this);
Ddecoration.cpp136 BackgroundImageSize BackgroundImageSize::operator+(const BackgroundImageSize& rhs) const in operator +()
138 if ((rhs.GetSizeTypeX() != GetSizeTypeX()) || (rhs.GetSizeTypeY() != GetSizeTypeY())) { in operator +()
142 auto rhsX = rhs.GetSizeValueX(); in operator +()
143 auto rhsY = rhs.GetSizeValueY(); in operator +()
154 BackgroundImageSize BackgroundImageSize::operator-(const BackgroundImageSize& rhs) const in operator -()
156 auto rhsX = rhs.GetSizeValueX(); in operator -()
157 auto rhsY = rhs.GetSizeValueY(); in operator -()
160 if ((rhs.GetSizeTypeX() != GetSizeTypeX()) || (rhs.GetSizeTypeY() != GetSizeTypeY())) { in operator -()
193 BackgroundImagePosition BackgroundImagePosition::operator+(const BackgroundImagePosition& rhs) const in operator +()
195 auto rhsX = rhs.GetSizeValueX(); in operator +()
[all …]
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/quickjs/
Dqjs_ref.h30 explicit QJSRef(const T& rhs) : value_(rhs) in QJSRef() argument
41 explicit QJSRef(const QJSWeak<T>& rhs) in QJSRef() argument
43 *this = rhs.Lock(); in QJSRef()
82 QJSRef(const QJSRef<T>& rhs) : value_(rhs.value_) in QJSRef() argument
87 QJSRef(QJSRef<T>&& rhs) : value_(std::move(rhs.value_)) in QJSRef() argument
89 rhs.value_.Reset(); in QJSRef()
92 QJSRef<T>& operator=(const QJSRef<T>& rhs)
95 value_ = rhs.value_;
100 QJSRef<T>& operator=(QJSRef<T>&& rhs)
103 value_ = std::move(rhs.value_);
[all …]
Dqjs_types.cpp40 QJSValue::QJSValue(JSValue rhs) in QJSValue() argument
42 value_ = rhs; in QJSValue()
47 QJSValue::QJSValue(const QJSValue& rhs) in QJSValue() argument
49 value_ = rhs.value_; in QJSValue()
52 QJSValue::QJSValue(QJSValue&& rhs) in QJSValue() argument
54 value_ = std::move(rhs.value_); in QJSValue()
55 rhs.value_ = JS_UNDEFINED; in QJSValue()
58 QJSValue& QJSValue::operator=(const QJSValue& rhs) in operator =() argument
60 value_ = rhs.value_; in operator =()
64 QJSValue& QJSValue::operator=(QJSValue&& rhs) in operator =() argument
[all …]
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
Djsi_ref.h73 explicit JsiRef(const JsiWeak<T>& rhs) in JsiRef() argument
75 *this = rhs.Lock(); in JsiRef()
107 JsiRef(const JsiRef<T>& rhs) : value_(rhs.value_) {} in JsiRef() argument
109 JsiRef(JsiRef<T>&& rhs) : value_(std::move(rhs.value_)) in JsiRef() argument
111 rhs.value_.Reset(); in JsiRef()
114 JsiRef<T>& operator=(const JsiRef<T>& rhs)
117 value_ = rhs.value_;
121 JsiRef<T>& operator=(JsiRef<T>&& rhs)
124 value_ = std::move(rhs.value_);
125 rhs.value_.Reset();
[all …]
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/v8/
Dv8_ref.h76 explicit V8Ref(const V8Weak<T>& rhs) in V8Ref() argument
78 *this = rhs.Lock(); in V8Ref()
109 V8Ref(const V8Ref<T>& rhs) : object_(rhs.object_) {} in V8Ref() argument
111 V8Ref(V8Ref<T>&& rhs) : object_(std::move(rhs.object_)) in V8Ref() argument
113 rhs.object_.Reset(); in V8Ref()
116 V8Ref<T>& operator=(const V8Ref<T>& rhs)
119 object_ = rhs.object_;
123 V8Ref<T>& operator=(V8Ref<T>&& rhs)
126 object_ = std::move(rhs.object_);
127 rhs.object_.Reset();
[all …]
/foundation/graphic/standard/rosen/modules/render_service_base/src/render/
Drs_filter.cpp40 …ptr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs) in operator +() argument
43 return rhs; in operator +()
45 if (rhs == nullptr) { in operator +()
48 return lhs->Add(rhs); in operator +()
51 …ptr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs) in operator -() argument
53 if (rhs == nullptr) { in operator -()
57 return rhs->Negate(); in operator -()
59 return lhs->Sub(rhs); in operator -()
62 std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float rhs) in operator *() argument
67 return lhs->Multiply(rhs); in operator *()
Drs_blur_filter.cpp40 std::shared_ptr<RSFilter> RSBlurFilter::Add(const std::shared_ptr<RSFilter>& rhs) in Add() argument
42 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::BLUR)) { in Add()
45 auto blurR = std::static_pointer_cast<RSBlurFilter>(rhs); in Add()
50 std::shared_ptr<RSFilter> RSBlurFilter::Sub(const std::shared_ptr<RSFilter>& rhs) in Sub() argument
52 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::BLUR)) { in Sub()
55 auto blurR = std::static_pointer_cast<RSBlurFilter>(rhs); in Sub()
60 std::shared_ptr<RSFilter> RSBlurFilter::Multiply(float rhs) in Multiply() argument
62 return std::make_shared<RSBlurFilter>(blurRadiusX_ * rhs, blurRadiusY_ * rhs); in Multiply()
/foundation/ace/ace_engine/frameworks/bridge/declarative_frontend/engine/
Djs_ref_ptr.h38 JSRefPtrImpl(const ImplDetail& rhs) : object_(rhs) {} in JSRefPtrImpl() argument
39 JSRefPtrImpl(ImplDetail&& rhs) : object_(std::move(rhs)) {} in JSRefPtrImpl() argument
41 JSRefPtrImpl(const JSRefPtrImpl<T, ImplDetail>& rhs) : object_(rhs.object_) {} in JSRefPtrImpl() argument
42 JSRefPtrImpl(JSRefPtrImpl<T, ImplDetail>&& rhs) : object_(std::move(rhs.object_)) {} in JSRefPtrImpl() argument
43 JSRefPtrImpl<T, ImplDetail>& operator=(const JSRefPtrImpl<T, ImplDetail>& rhs)
46 object_ = rhs.object_;
50 JSRefPtrImpl<T, ImplDetail>& operator=(JSRefPtrImpl<T, ImplDetail>&& rhs)
53 object_ = std::move(rhs.object_);
/foundation/graphic/standard/rosen/modules/render_service_base/src/common/
Drs_color.cpp38 bool RSColor::operator==(const RSColor& rhs) const in operator ==()
40 return red_ == rhs.red_ && green_ == rhs.green_ && blue_ == rhs.blue_ && alpha_ == rhs.alpha_; in operator ==()
43 RSColor RSColor::operator+(const RSColor& rhs) const in operator +()
45 return RSColor(static_cast<int>(red_) + rhs.red_, static_cast<int>(green_) + rhs.green_, in operator +()
46 static_cast<int>(blue_) + rhs.blue_, static_cast<int>(alpha_) + rhs.alpha_); in operator +()
49 RSColor RSColor::operator-(const RSColor& rhs) const in operator -()
51 return RSColor(static_cast<int>(red_) - rhs.red_, static_cast<int>(green_) - rhs.green_, in operator -()
52 static_cast<int>(blue_) - rhs.blue_, static_cast<int>(alpha_) - rhs.alpha_); in operator -()
/foundation/graphic/standard/rosen/modules/2d_engine/rosen_text/properties/
Dtext_style.cpp47 bool TextShadow::operator==(const TextShadow& rhs) const in operator ==()
49 if (color_ != rhs.color_ || offset_ != rhs.offset_ || blurRadius_ != rhs.blurRadius_) { in operator ==()
55 bool TextShadow::operator != (const TextShadow& rhs) const in operator !=()
57 return !(*this == rhs); in operator !=()
73 bool TextStyle::equals(const TextStyle& rhs) const in equals()
78 RosenConvertTxtStyle(rhs, rhsTextStyle); in equals()
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/medialibrary_data_ability/src/
Duri_helper.cpp118 void UriHelper::Swap(UriHelper &&rhs) noexcept in Swap() argument
120 formattedUri_.swap(rhs.formattedUri_); in Swap()
121 type_ = rhs.type_; in Swap()
122 rawFileUri_ = rhs.rawFileUri_; in Swap()
123 std::swap(fd_, rhs.fd_); in Swap()
124 offset_ = rhs.offset_; in Swap()
125 size_ = rhs.size_; in Swap()
128 void UriHelper::Copy(const UriHelper &rhs) noexcept in Copy() argument
130 formattedUri_ = rhs.formattedUri_; in Copy()
131 type_ = rhs.type_; in Copy()
[all …]
/foundation/multimedia/media_standard/services/utils/
Duri_helper.cpp122 void UriHelper::Swap(UriHelper &&rhs) noexcept in Swap() argument
124 formattedUri_.swap(rhs.formattedUri_); in Swap()
125 type_ = rhs.type_; in Swap()
126 rawFileUri_ = rhs.rawFileUri_; in Swap()
127 std::swap(fd_, rhs.fd_); in Swap()
128 offset_ = rhs.offset_; in Swap()
129 size_ = rhs.size_; in Swap()
132 void UriHelper::Copy(const UriHelper &rhs) noexcept in Copy() argument
134 formattedUri_ = rhs.formattedUri_; in Copy()
135 type_ = rhs.type_; in Copy()
[all …]
/foundation/graphic/standard/rosen/modules/render_service_base/include/common/
Drs_color.h32 RSColor(const RSColor& rhs) noexcept = default;
33 RSColor& operator=(const RSColor& rhs) noexcept = default;
35 bool operator==(const RSColor& rhs) const;
36 inline bool operator!=(const RSColor& rhs) const
38 return !operator==(rhs);
40 RSColor operator+(const RSColor& rhs) const;
41 RSColor operator-(const RSColor& rhs) const;
/foundation/multimedia/media_standard/services/utils/include/
Duri_helper.h49 UriHelper(UriHelper &&rhs) noexcept;
50 UriHelper &operator=(UriHelper &&rhs) noexcept;
51 UriHelper(const UriHelper &rhs);
52 UriHelper &operator=(const UriHelper &rhs);
64 void Swap(UriHelper &&rhs) noexcept;
65 void Copy(const UriHelper &rhs) noexcept;
/foundation/ace/ace_engine/frameworks/core/event/multimodal/
Dvoice_event.h66 bool operator==(const VoiceEvent& rhs) const
68 return voice_ == rhs.GetVoiceContent() && scene_ == rhs.GetVoiceScene();
71 bool operator!=(const VoiceEvent& rhs) const
73 return voice_ != rhs.GetVoiceContent() || scene_ != rhs.GetVoiceScene();
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/medialibrary_data_ability/include/
Duri_helper.h49 UriHelper(UriHelper &&rhs) noexcept;
50 UriHelper &operator=(UriHelper &&rhs) noexcept;
51 UriHelper(const UriHelper &rhs);
52 UriHelper &operator=(const UriHelper &rhs);
64 void Swap(UriHelper &&rhs) noexcept;
65 void Copy(const UriHelper &rhs) noexcept;
/foundation/graphic/standard/rosen/modules/render_service_base/include/render/
Drs_filter.h45 virtual std::shared_ptr<RSFilter> Add(const std::shared_ptr<RSFilter>& rhs) { return nullptr; } in Add() argument
46 virtual std::shared_ptr<RSFilter> Sub(const std::shared_ptr<RSFilter>& rhs) { return nullptr; } in Sub() argument
47 virtual std::shared_ptr<RSFilter> Multiply(float rhs) { return nullptr; } in Multiply() argument
49 …tr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs);
50 …tr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs);
51 friend std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float rhs);
Drs_blur_filter.h29 std::shared_ptr<RSFilter> Add(const std::shared_ptr<RSFilter>& rhs) override;
30 std::shared_ptr<RSFilter> Sub(const std::shared_ptr<RSFilter>& rhs) override;
31 std::shared_ptr<RSFilter> Multiply(float rhs) override;
/foundation/graphic/standard/rosen/modules/composer/vsync/include/
Dvsync.h29 Vsync(const Vsync& rhs) = delete;
30 Vsync& operator=(const Vsync& rhs) = delete;
31 Vsync(Vsync&& rhs) = delete;
32 Vsync& operator=(Vsync&& rhs) = delete;
/foundation/graphic/standard/utils/sync_fence/export/
Dsync_fence.h31 SyncFence(const SyncFence& rhs) = delete;
32 SyncFence& operator=(const SyncFence& rhs) = delete;
33 SyncFence(SyncFence&& rhs) = delete;
34 SyncFence& operator=(SyncFence&& rhs) = delete;
/foundation/multimedia/image_standard/plugins/manager/include/utils/
Dpointer_key_map.h25 bool operator()(K *lhs, K *rhs) const in operator()
27 if (lhs == nullptr || rhs == nullptr) { in operator()
31 return *lhs < *rhs; in operator()
/foundation/communication/bluetooth/services/bluetooth_standard/common/
Draw_address.cpp66 bool RawAddress::operator<(const RawAddress &rhs) const in operator <()
68 return (address_.compare(rhs.address_) < 0); in operator <()
71 bool RawAddress::operator==(const RawAddress &rhs) const in operator ==()
73 return (address_.compare(rhs.address_) == 0); in operator ==()
/foundation/deviceprofile/device_profile_core/services/core/src/subscribemanager/
Dsubscribe_info.cpp50 bool SubscribeInfo::operator!=(const SubscribeInfo& rhs) const in operator !=()
52 return ((profileEvent != rhs.profileEvent) || (extraInfo != rhs.extraInfo)); in operator !=()

123