Home
last modified time | relevance | path

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

12345

/foundation/arkui/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_ && textShadows_ == rhs.textShadows_ && in operator ==()
37 …letterSpacing_ == rhs.letterSpacing_ && maxLines_ == rhs.maxLines_ && adaptTextSize_ == rhs.adaptT… in operator ==()
38 allowScale_ == rhs.allowScale_ && wordBreak_ == rhs.wordBreak_ && in operator ==()
[all …]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
Dtext_style.cpp31 bool FontFeatures::operator ==(const FontFeatures &rhs) const in operator ==()
33 return features_ == rhs.features_; in operator ==()
36 bool TextShadow::operator ==(TextShadow const &rhs) const in operator ==()
38 return offsetX == rhs.offsetX && in operator ==()
39 offsetY == rhs.offsetY && in operator ==()
40 color == rhs.color && in operator ==()
41 blurLeave == rhs.blurLeave; in operator ==()
44 bool TextStyle::operator ==(TextStyle const &rhs) const in operator ==()
46 return color == rhs.color && in operator ==()
47 fontSize == rhs.fontSize && in operator ==()
[all …]
Dmeasurer_impl.h100 bool operator <(const struct MeasurerCacheKey &rhs) const
102 if (startIndex != rhs.startIndex) {
103 return startIndex < rhs.startIndex;
105 if (endIndex != rhs.endIndex) {
106 return endIndex < rhs.endIndex;
108 if (text != rhs.text) {
109 return text < rhs.text;
111 if (rtl != rhs.rtl) {
112 return rtl < rhs.rtl;
114 if (size != rhs.size) {
[all …]
Dfont_styles.cpp93 bool FontStyles::operator==(const FontStyles &rhs) const in operator ==()
95 return weight_ == rhs.weight_ && width_ == rhs.width_ && slant_ == rhs.slant_; in operator ==()
98 bool FontStyles::operator!=(const FontStyles &rhs) const in operator !=()
100 return !(*this == rhs); in operator !=()
103 bool FontStyles::operator<(const FontStyles& rhs) const in operator <()
105 if (weight_ != rhs.weight_) { in operator <()
106 return weight_ < rhs.weight_; in operator <()
109 if (width_ != rhs.width_) { in operator <()
110 return width_ < rhs.width_; in operator <()
112 return slant_ < rhs.slant_; in operator <()
Dfont_collection.h54 bool operator <(const struct TypefaceCacheKey &rhs) const
56 return fss != rhs.fss ? fss < rhs.fss : fs < rhs.fs;
66 bool operator <(const struct FallbackCacheKey &rhs) const
68 return script < rhs.script || locale < rhs.locale || fs < rhs.fs;
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/
Dtext_style.cpp48 bool FontFeatures::operator ==(const FontFeatures& rhs) const in operator ==()
50 return featureMap_ == rhs.featureMap_; in operator ==()
64 bool TextShadow::operator ==(const TextShadow& rhs) const in operator ==()
66 return color_ == rhs.color_ && offset_ == rhs.offset_ && blurRadius_ == rhs.blurRadius_; in operator ==()
69 bool TextShadow::operator !=(const TextShadow& rhs) const in operator !=()
71 return !(*this == rhs); in operator !=()
79 bool TextStyle::operator ==(const TextStyle& rhs) const in operator ==()
81 return color_ == rhs.color_ && in operator ==()
82 decoration_ == rhs.decoration_ && in operator ==()
83 decorationColor_ == rhs.decorationColor_ && in operator ==()
[all …]
/foundation/arkui/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()
102 JsiRef(const JsiRef<T>& rhs) : value_(rhs.value_) {} in JsiRef() argument
104 JsiRef(JsiRef<T>&& rhs) : value_(std::move(rhs.value_)) in JsiRef() argument
106 rhs.value_.Reset(); in JsiRef()
109 JsiRef<T>& operator=(const JsiRef<T>& rhs)
112 value_ = rhs.value_;
116 JsiRef<T>& operator=(JsiRef<T>&& rhs)
119 value_ = std::move(rhs.value_);
120 rhs.value_.Reset();
[all …]
/foundation/communication/netmanager_base/services/net_qos/src/
Dnet_qos_info.cpp60 bool NetQosInfo::operator==(const NetQosInfo &rhs) const in operator ==()
62 if (this == &rhs) { in operator ==()
65 …return qosLevel_ == rhs.qosLevel_ && rttTx_ == rhs.rttTx_ && rttRx_ == rhs.rttRx_ && rateTx_ == rh… in operator ==()
66 rateRx_ == rhs.rateRx_ && pkgLossRate_ == rhs.pkgLossRate_; in operator ==()
69 bool NetQosInfo::operator!=(const NetQosInfo &rhs) const in operator !=()
71 return !(rhs == *this); in operator !=()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
Djs_ref_ptr.h34 explicit JSRefPtrImpl(const ImplDetail& rhs) : object_(rhs) {} in JSRefPtrImpl() argument
35 explicit JSRefPtrImpl(ImplDetail&& rhs) : object_(std::move(rhs)) {} in JSRefPtrImpl() argument
37 JSRefPtrImpl(const JSRefPtrImpl<T, ImplDetail>& rhs) : object_(rhs.object_) {} in JSRefPtrImpl() argument
38 JSRefPtrImpl(JSRefPtrImpl<T, ImplDetail>&& rhs) : object_(std::move(rhs.object_)) {} in JSRefPtrImpl() argument
39 JSRefPtrImpl<T, ImplDetail>& operator=(const JSRefPtrImpl<T, ImplDetail>& rhs)
42 object_ = rhs.object_;
46 JSRefPtrImpl<T, ImplDetail>& operator=(JSRefPtrImpl<T, ImplDetail>&& rhs)
49 object_ = std::move(rhs.object_);
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
Dtypography_types.h89 TextAlign operator |(TextAlign lhs, TextAlign rhs);
90 TextAlign operator &(TextAlign lhs, TextAlign rhs);
91 TextAlign operator ^(TextAlign lhs, TextAlign rhs);
93 void operator &=(TextAlign &lhs, const TextAlign &rhs);
94 void operator |=(TextAlign &lhs, const TextAlign &rhs);
95 void operator ^=(TextAlign &lhs, const TextAlign &rhs);
116 TextDecoration operator &(TextDecoration const &lhs, TextDecoration const &rhs);
117 TextDecoration operator |(TextDecoration const &lhs, TextDecoration const &rhs);
118 TextDecoration operator ^(TextDecoration const &lhs, TextDecoration const &rhs);
119 TextDecoration operator +(TextDecoration const &lhs, TextDecoration const &rhs);
[all …]
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
Duid_range.h32 friend bool operator<(const UidRange &lhs, const UidRange &rhs)
34 return lhs.begin_ != rhs.begin_ ? (lhs.begin_ < rhs.begin_) : (lhs.end_ < rhs.end_);
37 friend bool operator==(const UidRange &lhs, const UidRange &rhs)
39 return (lhs.begin_ == rhs.begin_ && lhs.end_ == rhs.end_);
42 friend bool operator!=(const UidRange &lhs, const UidRange &rhs)
44 return !(lhs == rhs);
/foundation/resourceschedule/ffrt/src/util/
DIntrusiveList.h36 void Swap(SListNode& rhs) noexcept in Swap()
38 std::swap(next, rhs.next); in Swap()
56 SList(SList&& rhs) noexcept in SList()
58 Swap(rhs); in SList()
60 SList& operator=(SList&& rhs) noexcept
62 if (this != &rhs) {
63 SList tmp {std::move(rhs)};
87 void Swap(SList& rhs) noexcept in Swap()
89 m_head.Swap(rhs.m_head); in Swap()
121 List(List&& rhs) noexcept : List() in List()
[all …]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
Drs_filter.cpp58 …ptr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs) in operator +() argument
61 return rhs; in operator +()
63 if (rhs == nullptr) { in operator +()
66 return lhs->Add(rhs); in operator +()
69 …ptr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSFilter>& rhs) in operator -() argument
71 if (rhs == nullptr) { in operator -()
75 return rhs->Negate(); in operator -()
77 return lhs->Sub(rhs); in operator -()
80 std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float rhs) in operator *() argument
85 return lhs->Multiply(rhs); in operator *()
Drs_light_up_effect_filter.cpp99 std::shared_ptr<RSFilter> RSLightUpEffectFilter::Add(const std::shared_ptr<RSFilter>& rhs) in Add() argument
101 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::LIGHT_UP_EFFECT)) { in Add()
104 auto lightUpFilter = std::static_pointer_cast<RSLightUpEffectFilter>(rhs); in Add()
108 std::shared_ptr<RSFilter> RSLightUpEffectFilter::Sub(const std::shared_ptr<RSFilter>& rhs) in Sub() argument
110 if ((rhs == nullptr) || (rhs->GetFilterType() != FilterType::LIGHT_UP_EFFECT)) { in Sub()
113 auto lightUpFilter = std::static_pointer_cast<RSLightUpEffectFilter>(rhs); in Sub()
117 std::shared_ptr<RSFilter> RSLightUpEffectFilter::Multiply(float rhs) in Multiply() argument
119 return std::make_shared<RSLightUpEffectFilter>(lightUpDegree_ * rhs); in Multiply()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
Dnet_adj_info.cpp82 bool NetAdjInfo::operator==(const NetAdjInfo &rhs) const in operator ==()
84 if (this == &rhs) { in operator ==()
87 return type_ == rhs.type_ && identity_ == rhs.identity_ && fromIface_ == rhs.fromIface_ && in operator ==()
88 adjQoeLevel_ == rhs.adjQoeLevel_ && netAddrList_ == rhs.netAddrList_; in operator ==()
91 bool NetAdjInfo::operator!=(const NetAdjInfo &rhs) const in operator !=()
93 return !(rhs == *this); in operator !=()
Dnet_adj_iface_info.cpp88 bool NetAdjIfaceInfo::operator==(const NetAdjIfaceInfo &rhs) const in operator ==()
90 if (this == &rhs) { in operator ==()
93 return type_ == rhs.type_ && ifaceName_ == rhs.ifaceName_ && netAddrList_ == rhs.netAddrList_ && in operator ==()
94 routeList_ == rhs.routeList_; in operator ==()
97 bool NetAdjIfaceInfo::operator!=(const NetAdjIfaceInfo &rhs) const in operator !=()
99 return !(rhs == *this); in operator !=()
/foundation/graphic/graphic_2d/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 !=()
78 bool TextStyle::equals(const TextStyle& rhs) const in equals()
83 RosenConvertTxtStyle(rhs, rhsTextStyle); in equals()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
Drs_color.cpp42 bool RSColor::operator==(const RSColor& rhs) const in operator ==()
44 return red_ == rhs.red_ && green_ == rhs.green_ && blue_ == rhs.blue_ && alpha_ == rhs.alpha_; in operator ==()
47 RSColor RSColor::operator+(const RSColor& rhs) const in operator +()
49 return RSColor(red_ + rhs.red_, green_ + rhs.green_, blue_ + rhs.blue_, alpha_ + rhs.alpha_); in operator +()
52 RSColor RSColor::operator-(const RSColor& rhs) const in operator -()
54 return RSColor(red_ - rhs.red_, green_ - rhs.green_, blue_ - rhs.blue_, alpha_ - rhs.alpha_); in operator -()
/foundation/graphic/graphic_2d/utils/sync_fence/export/
Dsync_fence.h50 SyncTimeline(const SyncTimeline& rhs) = delete;
51 SyncTimeline& operator=(const SyncTimeline& rhs) = delete;
52 SyncTimeline(SyncTimeline&& rhs) = delete;
53 SyncTimeline& operator=(SyncTimeline&& rhs) = delete;
70 SyncFence(const SyncFence& rhs) = delete;
71 SyncFence& operator=(const SyncFence& rhs) = delete;
72 SyncFence(SyncFence&& rhs) = delete;
73 SyncFence& operator=(SyncFence&& rhs) = delete;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/
Dpublished_data_subscriber_manager.cpp224 bool PublishedDataKey::operator<(const PublishedDataKey &rhs) const in operator <()
226 if (key < rhs.key) { in operator <()
229 if (rhs.key < key) { in operator <()
232 if (bundleName < rhs.bundleName) { in operator <()
235 if (rhs.bundleName < bundleName) { in operator <()
238 return subscriberId < rhs.subscriberId; in operator <()
241 bool PublishedDataKey::operator>(const PublishedDataKey &rhs) const in operator >()
243 return rhs < *this; in operator >()
246 bool PublishedDataKey::operator<=(const PublishedDataKey &rhs) const in operator <=()
248 return !(rhs < *this); in operator <=()
[all …]
/foundation/graphic/graphic_2d/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/arkui/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/graphic/graphic_2d/rosen/modules/frame_analyzer/export/
Dring_queue.h80 bool operator==(const Iter &rhs)
82 return offset_ == rhs.offset_;
85 bool operator!=(const Iter &rhs)
87 return offset_ != rhs.offset_;
125 bool operator==(const RevertIter &rhs)
127 return offset_ == rhs.offset_;
130 bool operator!=(const RevertIter &rhs)
132 return offset_ != rhs.offset_;
/foundation/filemanagement/storage_service/services/storage_daemon/include/file_sharing/
Dacl.h113 bool operator<(const AclXattrEntry &rhs) const
115 if (tag == rhs.tag) {
116 return id < rhs.id;
118 return tag < rhs.tag;
120 friend inline bool operator<(const AclXattrEntry &lhs, const ACL_TAG &rhs)
122 return lhs.tag < rhs;
124 friend inline bool operator<(const ACL_TAG &lhs, const AclXattrEntry &rhs)
126 return lhs < rhs.tag;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
Djs_animatable_arithmetic.h63 RefPtr<JSAnimatableArithmetic> rhs = AceType::DynamicCast<JSAnimatableArithmetic>(value); in Add() local
64 if (!rhs) { in Add()
68 JSRef<JSVal> argv[1] = { rhs->jsObject_ }; in Add()
80 RefPtr<JSAnimatableArithmetic> rhs = AceType::DynamicCast<JSAnimatableArithmetic>(value); in Minus() local
81 if (!rhs) { in Minus()
85 JSRef<JSVal> argv[1] = { rhs->jsObject_ }; in Minus()
110 RefPtr<JSAnimatableArithmetic> rhs = AceType::DynamicCast<JSAnimatableArithmetic>(value); in IsEqual() local
111 if (!rhs) { in IsEqual()
116 JSRef<JSVal> argv[1] = { rhs->jsObject_ }; in IsEqual()

12345