Home
last modified time | relevance | path

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

1234567891011

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/
H A Dtext_style.cpp70 return axis_ == rhs.axis_; in operator ==()
91 return color == rhs.color && offset == rhs.offset && blurRadius == rhs.blurRadius; in operator ==()
96 return !(*this == rhs); in operator !=()
106 return color == rhs.color && leftTopRadius == rhs.leftTopRadius && in operator ==()
114 return !(*this == rhs); in operator !=()
119 return color == rhs.color && in operator ==()
134 locale == rhs.locale && in operator ==()
140 styleId == rhs.styleId && in operator ==()
141 shadows == rhs.shadows && in operator ==()
158 locale == rhs.locale; in EqualByFonts()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Davbuffer_common.cpp36 this->size = rhs.size; in AVBufferConfig()
37 this->align = rhs.align; in AVBufferConfig()
38 this->dmaFd = rhs.dmaFd; in AVBufferConfig()
47 this->size = rhs.size; in AVBufferConfig()
48 this->align = rhs.align; in AVBufferConfig()
49 this->dmaFd = rhs.dmaFd; in AVBufferConfig()
57 if (&rhs == this) { in operator =()
61 this->size = rhs.size; in operator =()
62 this->align = rhs.align; in operator =()
74 this->size = rhs.size; in operator =()
[all …]
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dunique_fd.h205 return fd_ == rhs;
219 return !(fd_ == rhs);
233 return fd_ >= rhs;
247 return fd_ > rhs;
261 return fd_ <= rhs;
275 return fd_ < rhs;
308 return lhs == rhs.fd_;
344 return lhs >= rhs.fd_;
362 return lhs > rhs.fd_;
380 return lhs <= rhs.fd_;
[all …]
H A Dsorted_vector.h43 SortedVector(const SortedVector<TYPE, false>& rhs);
45 SortedVector(const SortedVector<TYPE, true>& rhs);
61 SortedVector<TYPE, AllowDuplicate>& operator=(const SortedVector<TYPE, false>& rhs);
62 SortedVector<TYPE, AllowDuplicate>& operator=(const SortedVector<TYPE, true>& rhs);
302 std::copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_)); in SortedVector()
306 SortedVector<TYPE, AllowDuplicate>::SortedVector(const SortedVector<TYPE, true>& rhs) in SortedVector() argument
309 std::copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_)); in SortedVector()
312 std::unique_copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_)); in SortedVector()
322 std::copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_));
333 std::copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_));
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/
H A Dmatrix.h86 const Vec3& rha { rhs.x.x, rhs.y.x, rhs.z.x }; in BASE_BEGIN_NAMESPACE()
87 const Vec3& rhb { rhs.x.y, rhs.y.y, rhs.z.y }; in BASE_BEGIN_NAMESPACE()
88 const Vec3& rhc { rhs.x.z, rhs.y.z, rhs.z.z }; in BASE_BEGIN_NAMESPACE()
193 res.d[0] = d[0] * rhs.d[0] + d[4] * rhs.d[1] + d[8] * rhs.d[2] + d[12] * rhs.d[3]; in BASE_BEGIN_NAMESPACE()
194 res.d[4] = d[0] * rhs.d[4] + d[4] * rhs.d[5] + d[8] * rhs.d[6] + d[12] * rhs.d[7]; in BASE_BEGIN_NAMESPACE()
198 res.d[1] = d[1] * rhs.d[0] + d[5] * rhs.d[1] + d[9] * rhs.d[2] + d[13] * rhs.d[3]; in BASE_BEGIN_NAMESPACE()
199 res.d[5] = d[1] * rhs.d[4] + d[5] * rhs.d[5] + d[9] * rhs.d[6] + d[13] * rhs.d[7]; in BASE_BEGIN_NAMESPACE()
203 res.d[2] = d[2] * rhs.d[0] + d[6] * rhs.d[1] + d[10] * rhs.d[2] + d[14] * rhs.d[3]; in BASE_BEGIN_NAMESPACE()
204 res.d[6] = d[2] * rhs.d[4] + d[6] * rhs.d[5] + d[10] * rhs.d[6] + d[14] * rhs.d[7]; in BASE_BEGIN_NAMESPACE()
208 res.d[3] = d[3] * rhs.d[0] + d[7] * rhs.d[1] + d[11] * rhs.d[2] + d[15] * rhs.d[3]; in BASE_BEGIN_NAMESPACE()
[all …]
H A Dvector.h73 x += rhs.x; in BASE_BEGIN_NAMESPACE()
74 y += rhs.y; in BASE_BEGIN_NAMESPACE()
899 x += rhs.x; in BASE_BEGIN_NAMESPACE()
900 y += rhs.y; in BASE_BEGIN_NAMESPACE()
901 z += rhs.z; in BASE_BEGIN_NAMESPACE()
919 x -= rhs.x; in BASE_BEGIN_NAMESPACE()
920 y -= rhs.y; in BASE_BEGIN_NAMESPACE()
921 z -= rhs.z; in BASE_BEGIN_NAMESPACE()
933 x *= rhs.x; in BASE_BEGIN_NAMESPACE()
934 y *= rhs.y; in BASE_BEGIN_NAMESPACE()
[all …]
H A Dvector_util.h30 static inline constexpr float Dot(const Vec2& lhs, const Vec2& rhs) in BASE_BEGIN_NAMESPACE()
32 return (lhs.x * rhs.x) + (lhs.y * rhs.y); in BASE_BEGIN_NAMESPACE()
38 return lhs.x * rhs.y - lhs.y * rhs.x; in BASE_BEGIN_NAMESPACE()
67 static constexpr inline Vec2 min(const Vec2& lhs, const Vec2& rhs) in BASE_BEGIN_NAMESPACE()
69 return Vec2(min(lhs.x, rhs.x), min(lhs.y, rhs.y)); in BASE_BEGIN_NAMESPACE()
73 static constexpr inline Vec2 max(const Vec2& lhs, const Vec2& rhs) in BASE_BEGIN_NAMESPACE()
75 return Vec2(max(lhs.x, rhs.x), max(lhs.y, rhs.y)); in BASE_BEGIN_NAMESPACE()
151 return (lhs.x * rhs.x) + (lhs.y * rhs.y) + (lhs.z * rhs.z); in BASE_BEGIN_NAMESPACE()
157 …return Vec3(lhs.y * rhs.z - lhs.z * rhs.y, lhs.z * rhs.x - lhs.x * rhs.z, lhs.x * rhs.y - lhs.y * in BASE_BEGIN_NAMESPACE()
199 return Vec3(min(lhs.x, rhs.x), min(lhs.y, rhs.y), min(lhs.z, rhs.z)); in BASE_BEGIN_NAMESPACE()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/
H A Dtime_span.h124 return value_ < rhs.value_; in META_BEGIN_NAMESPACE()
129 return value_ > rhs.value_; in META_BEGIN_NAMESPACE()
191 if (value_ == INT64_MAX || rhs.value_ == INT64_MAX || rhs.value_ == 0) { in META_BEGIN_NAMESPACE()
204 return *this + -rhs; in META_BEGIN_NAMESPACE()
209 *this = *this + rhs; in META_BEGIN_NAMESPACE()
215 *this = *this - rhs; in META_BEGIN_NAMESPACE()
221 *this = *this * rhs; in META_BEGIN_NAMESPACE()
227 *this = *this / rhs; in META_BEGIN_NAMESPACE()
284 return rhs * n; in META_BEGIN_NAMESPACE()
288 return rhs * n; in META_BEGIN_NAMESPACE()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/
H A Dtypography_style.h64 bool operator==(const TypographyStyle &rhs) const
67 this->ELLIPSIS == rhs.ELLIPSIS &&
68 this->fontWeight == rhs.fontWeight &&
69 this->fontStyle == rhs.fontStyle &&
70 this->fontFamily == rhs.fontFamily &&
73 this->halfLeading == rhs.halfLeading &&
74 this->heightOnly == rhs.heightOnly &&
87 this->textAlign == rhs.textAlign &&
89 this->maxLines == rhs.maxLines &&
90 this->ellipsis == rhs.ellipsis &&
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.cpp30 return fontFamilies_ == rhs.fontFamilies_ && fontFeatures_ == rhs.fontFeatures_ && in operator ==()
32 preferFontSizes_ == rhs.preferFontSizes_ && fontSize_ == rhs.fontSize_ && in operator ==()
34 adaptFontSizeStep_ == rhs.adaptFontSizeStep_ && lineHeight_ == rhs.lineHeight_ && in operator ==()
35 …fontWeight_ == rhs.fontWeight_ && fontStyle_ == rhs.fontStyle_ && textBaseline_ == rhs.textBaselin… in operator ==()
36 …textOverflow_ == rhs.textOverflow_ && textAlign_ == rhs.textAlign_ && textColor_ == rhs.textColor_… in operator ==()
37 textDecoration_ == rhs.textDecoration_ && textShadows_ == rhs.textShadows_ && in operator ==()
38 …letterSpacing_ == rhs.letterSpacing_ && maxLines_ == rhs.maxLines_ && adaptTextSize_ == rhs.adaptT… in operator ==()
39 allowScale_ == rhs.allowScale_ && wordBreak_ == rhs.wordBreak_ && in operator ==()
41 baselineOffset_ == rhs.baselineOffset_ && adaptHeight_ == rhs.adaptHeight_ && in operator ==()
42 …textIndent_ == rhs.textIndent_ && verticalAlign_ == rhs.verticalAlign_ && wordSpacing_ == rhs.word… in operator ==()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_ref.h76 *this = rhs.Lock(); in JsiRef()
110 JsiRef(const JsiRef<T>& rhs) : value_(rhs.value_) {} in JsiRef() argument
112 JsiRef(JsiRef<T>&& rhs) : value_(std::move(rhs.value_)) in JsiRef() argument
114 rhs.value_.Reset(); in JsiRef()
128 rhs.value_.Reset();
173 JsiWeak(const JsiWeak<T>& rhs) : value_(rhs.value_) in JsiWeak() argument
178 JsiWeak(JsiWeak<T>&& rhs) : value_(std::move(rhs.value_)) in JsiWeak() argument
181 rhs.value_.Reset(); in JsiWeak()
184 explicit JsiWeak(const JsiRef<T>& rhs) : value_(rhs.Get()) in JsiWeak() argument
199 value_ = rhs.Get();
[all …]
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/strategy/
H A Dui_strategy_unittest.cpp24 bool operator == (const ComInfo &lhs, const ComInfo &rhs) in operator ==() argument
26 return lhs.comId == rhs.comId && lhs.pageId == rhs.pageId; in operator ==()
29 bool operator == (const ProgressPage &lhs, const ProgressPage &rhs) in operator ==() argument
31 …return lhs.logoComId == rhs.logoComId && lhs.logoType == rhs.logoType && lhs.progressComId == rhs.… in operator ==()
32 lhs.progressPageId == rhs.progressPageId && lhs.progressType == rhs.progressType && in operator ==()
33 lhs.warningComId == rhs.warningComId; in operator ==()
36 bool operator == (const ResPage &lhs, const ResPage &rhs) in operator ==() argument
38 return lhs.successPageId == rhs.successPageId && lhs.failPageId == rhs.failPageId; in operator ==()
43 return lhs.confirmPageId == rhs.confirmPageId && lhs.labelLogId == rhs.labelLogId && in operator ==()
44 lhs.labelLogResId == rhs.labelLogResId && lhs.progressPage == rhs.progressPage && in operator ==()
[all …]
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_layout_unittest.cpp28 bool operator == (const UxViewCommonInfo &lhs, const UxViewCommonInfo &rhs) in operator ==() argument
31 std::tie(rhs.x, rhs.y, rhs.w, rhs.h, rhs.id, rhs.type, rhs.visible); in operator ==()
37 std::tie(rhs.defaultValue, rhs.fgColor, rhs.bgColor, rhs.hasEp, rhs.endPoint); in operator ==()
40 bool operator == (const UxLabelInfo &lhs, const UxLabelInfo &rhs) in operator ==() argument
43 std::tie(rhs.text, rhs.bgColor, rhs.align, rhs.fontColor, rhs.fontSize); in operator ==()
46 bool operator == (const UxImageInfo &lhs, const UxImageInfo &rhs) in operator ==() argument
49 std::tie(rhs.imgCnt, rhs.updInterval, rhs.resPath, rhs.filePrefix); in operator ==()
52 bool operator == (const UxLabelBtnInfo &lhs, const UxLabelBtnInfo &rhs) in operator ==() argument
55 …std::tie(rhs.fontSize, rhs.text, rhs.txtColor, rhs.bgColor, rhs.focusedBgColor, rhs.focusedTxtColo… in operator ==()
58 bool operator == (const UxViewInfo &lhs, const UxViewInfo &rhs) in operator ==() argument
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/
H A Dtext_style.h53 bool operator ==(const FontFeatures& rhs) const;
74 bool operator ==(TextShadow const& rhs) const;
88 bool operator ==(const RectStyle& rhs) const
90 return color == rhs.color &&
91 leftTopRadius == rhs.leftTopRadius &&
92 rightTopRadius == rhs.rightTopRadius &&
97 bool operator !=(const RectStyle& rhs) const
99 return color != rhs.color ||
100 leftTopRadius != rhs.leftTopRadius ||
101 rightTopRadius != rhs.rightTopRadius ||
[all …]
H A 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);
120 void operator &=(TextDecoration &lhs, TextDecoration const &rhs);
121 void operator |=(TextDecoration &lhs, TextDecoration const &rhs);
122 void operator ^=(TextDecoration &lhs, TextDecoration const &rhs);
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/src/util/
H A DIntrusiveList.h38 std::swap(next, rhs.next); in Swap()
56 SList(SList&& rhs) noexcept in SList()
58 Swap(rhs); in SList()
62 if (this != &rhs) {
89 m_head.Swap(rhs.m_head); in Swap()
123 if (!rhs.empty()) { in List()
132 m_size = rhs.m_size; in List()
134 rhs.Reset(); in List()
140 if (this != &rhs && !rhs.empty()) {
150 m_size = rhs.m_size;
[all …]
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/
H A Dhcamera_device_manager.h36 return (this->processState_ == rhs.processState_) && (this->focusState_ == rhs.focusState_);
39 inline bool operator < (const CameraProcessPriority& rhs) const
46 this->processUid_, rhs.processUid_);
49 if (this->processState_ == rhs.processState_) {
51 this->processState_, rhs.processState_);
52 return this->focusState_ < rhs.focusState_;
55 this->processState_, rhs.processState_);
56 return this->processState_ > rhs.processState_;
62 return rhs < *this;
70 return !(*this > rhs);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A 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_);
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-uniquefd.md32 … | **UniqueFdAddDeletor**(UniqueFdAddDeletor&& rhs)<br>移动构造函数。用于文件描述符在…
36 … | **operator!=**(const int& rhs) const<br>不等运算符重载函数…
37 | bool | **operator<**(const int& rhs
38 … | **operator<=**(const int& rhs) const<br>小于等于运算符重载…
39 | UniqueFdAddDeletor& | **operator=**(UniqueFdAddDeletor&& rhs)<br>移动赋值运算符重载函数。用于文件描述符在UniqueFdAddD…
49 | bool | **operator**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) …
50 | bool | **operator**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) …
51 | bool | **operator!=**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局不等运算符重载函数,比…
52 | bool | **operator==**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局相等运算符重载函数,比…
53 | bool | **operator>**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局大于运算符重载函数,比较…
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Duid.h122 constexpr int compare(const Uid& rhs) const in compare()
124 if (data[0] < rhs.data[0]) { in compare()
127 if (data[0] > rhs.data[0]) { in compare()
130 if (data[1] < rhs.data[1]) { in compare()
133 if (data[1] > rhs.data[1]) { in compare()
141 inline constexpr bool operator<(const Uid& lhs, const Uid& rhs)
143 if (lhs.data[0] > rhs.data[0]) {
146 if (lhs.data[0] < rhs.data[0]) {
149 if (lhs.data[1] < rhs.data[1]) {
157 return (lhs.data[0U] == rhs.data[0U]) && (lhs.data[1U] == rhs.data[1U]);
[all …]
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A 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);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dtext_style.h85 bool operator ==(const RectStyle& rhs) const
87 return color == rhs.color &&
88 leftTopRadius == rhs.leftTopRadius &&
89 rightTopRadius == rhs.rightTopRadius &&
90 rightBottomRadius == rhs.rightBottomRadius &&
91 leftBottomRadius == rhs.leftBottomRadius;
94 bool operator !=(const RectStyle& rhs) const
96 return color != rhs.color ||
97 leftTopRadius != rhs.leftTopRadius ||
98 rightTopRadius != rhs.rightTopRadius ||
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Dselection_info.h105 return fontSize == rhs.fontSize
106 && lineHeight == rhs.lineHeight
107 && letterSpacing == rhs.letterSpacing
108 && lineSpacing == rhs.lineSpacing
109 && symbolColor == rhs.symbolColor
110 && fontFeature == rhs.fontFeature
111 && fontFeature == rhs.fontFeature
112 && fontWeight == rhs.fontWeight
114 && effectStrategy == rhs.effectStrategy;
119 return !operator==(rhs);
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-animatable-extend.md86 plus(rhs: Point): Point {
87 return new Point(this.x + rhs.x, this.y + rhs.y)
89 subtract(rhs: Point): Point {
90 return new Point(this.x - rhs.x, this.y - rhs.y)
95 equals(rhs: Point): boolean {
96 return this.x === rhs.x && this.y === rhs.y
106 plus(rhs: PointVector): PointVector {
108 const len = Math.min(this.length, rhs.length)
114 subtract(rhs: PointVector): PointVector {
129 equals(rhs: PointVector): boolean {
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/common/
H A Drs_color.cpp44 bool RSColor::operator==(const RSColor& rhs) const in operator ==()
46 return red_ == rhs.red_ && green_ == rhs.green_ && blue_ == rhs.blue_ && alpha_ == rhs.alpha_; in operator ==()
55 RSColor RSColor::operator+(const RSColor& rhs) const in operator +()
57 return RSColor(red_ + rhs.red_, green_ + rhs.green_, blue_ + rhs.blue_, alpha_ + rhs.alpha_); in operator +()
60 RSColor RSColor::operator-(const RSColor& rhs) const in operator -()
62 return RSColor(red_ - rhs.red_, green_ - rhs.green_, blue_ - rhs.blue_, alpha_ - rhs.alpha_); in operator -()

1234567891011