/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | unique_fd.h | 61 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs); 63 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs); 65 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs); 67 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs); 71 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs); 308 return lhs == rhs.fd_; 326 return !(lhs == rhs.fd_); 344 return lhs >= rhs.fd_; 362 return lhs > rhs.fd_; 380 return lhs <= rhs.fd_; [all …]
|
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/strategy/ |
H A D | ui_strategy_unittest.cpp | 24 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 D | ui_layout_unittest.cpp | 28 bool operator == (const UxViewCommonInfo &lhs, const UxViewCommonInfo &rhs) in operator ==() argument 30 return std::tie(lhs.x, lhs.y, lhs.w, lhs.h, lhs.id, lhs.type, lhs.visible) == in operator ==() 36 return std::tie(lhs.defaultValue, lhs.fgColor, lhs.bgColor, lhs.hasEp, lhs.endPoint) == in operator ==() 40 bool operator == (const UxLabelInfo &lhs, const UxLabelInfo &rhs) in operator ==() argument 42 return std::tie(lhs.text, lhs.bgColor, lhs.align, lhs.fontColor, lhs.fontSize) == in operator ==() 46 bool operator == (const UxImageInfo &lhs, const UxImageInfo &rhs) in operator ==() argument 48 return std::tie(lhs.imgCnt, lhs.updInterval, lhs.resPath, lhs.filePrefix) == in operator ==() 52 bool operator == (const UxLabelBtnInfo &lhs, const UxLabelBtnInfo &rhs) in operator ==() argument 54 …return std::tie(lhs.fontSize, lhs.text, lhs.txtColor, lhs.bgColor, lhs.focusedBgColor, lhs.focused… in operator ==() 58 bool operator == (const UxViewInfo &lhs, const UxViewInfo &rhs) in operator ==() argument [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | vector_util.h | 30 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_2d/rosen/modules/texgine/export/texgine/ |
H A D | typography_types.h | 89 TextAlign operator |(TextAlign lhs, TextAlign rhs); 90 TextAlign operator &(TextAlign lhs, TextAlign rhs); 91 TextAlign operator ^(TextAlign lhs, TextAlign rhs); 92 TextAlign operator ~(TextAlign lhs); 93 void operator &=(TextAlign &lhs, const TextAlign &rhs); 94 void operator |=(TextAlign &lhs, const TextAlign &rhs); 95 void operator ^=(TextAlign &lhs, const TextAlign &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/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_filter_test.cpp | 109 std::shared_ptr<RSFilter> lhs; variable 111 EXPECT_EQ(lhs + rhs, rhs); 112 lhs = std::make_shared<RSFilter>(); 113 EXPECT_EQ(lhs + rhs, lhs); 115 EXPECT_EQ(lhs + rhs, nullptr); 126 std::shared_ptr<RSFilter> lhs; variable 130 EXPECT_EQ(lhs - rhs, lhs); 133 EXPECT_EQ(lhs - rhs, nullptr); 144 std::shared_ptr<RSFilter> lhs; variable 145 EXPECT_EQ(lhs * 1.0f, nullptr); [all …]
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | uid_range.h | 32 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/render_service_base/src/render/ |
H A D | rs_filter.cpp | 69 std::shared_ptr<RSFilter> operator+(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSF… in operator +() argument 71 if (lhs == nullptr) { in operator +() 75 return lhs; in operator +() 77 return lhs->Add(rhs); in operator +() 80 std::shared_ptr<RSFilter> operator-(const std::shared_ptr<RSFilter>& lhs, const std::shared_ptr<RSF… in operator -() argument 83 return lhs; in operator -() 85 if (lhs == nullptr) { in operator -() 88 return lhs->Sub(rhs); in operator -() 91 std::shared_ptr<RSFilter> operator*(const std::shared_ptr<RSFilter>& lhs, float rhs) in operator *() argument 93 if (lhs == nullptr) { in operator *() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | types.h | 75 inline bool operator==(const InterfaceInfo& lhs, const InterfaceInfo& rhs) noexcept 77 return lhs.id == rhs.id; 82 return lhs.id != rhs.id; 85 inline bool operator<(const InterfaceInfo& lhs, const InterfaceInfo& rhs) noexcept 87 return lhs.id < rhs.id; 168 inline bool operator==(const ClassInfo& lhs, const ClassInfo& rhs) noexcept 170 return lhs.id == rhs.id; 173 inline bool operator!=(const ClassInfo& lhs, const ClassInfo& rhs) noexcept 175 return lhs.id != rhs.id; 178 inline bool operator<(const ClassInfo& lhs, const ClassInfo& rhs) noexcept [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string_view.h | 421 return lhs.compare(rhs) == 0; 431 return lhs.compare(rhs) == 0; 441 return lhs.compare(rhs) == 0; 450 return lhs.compare(rhs) != 0; 460 return lhs.compare(rhs) != 0; 476 return lhs.compare(rhs) < 0; 483 return lhs.compare(rhs) < 0; 490 return lhs.compare(rhs) < 0; 516 return lhs.compare(rhs) > 0; 523 return lhs.compare(rhs) > 0; [all …]
|
H A D | fixed_string.h | 338 basic_fixed_string<CharT, M + N> res { lhs }; 347 basic_fixed_string<CharT, M + N> res { lhs }; 372 return string_view(lhs) == string_view(rhs); 379 return string_view(lhs) == rhs; 386 return lhs == string_view(rhs); 392 return string_view(lhs) != string_view(rhs); 399 return string_view(lhs) != rhs; 406 return lhs != string_view(rhs); 412 return string_view(lhs) < string_view(rhs); 419 return string_view(lhs) < rhs; [all …]
|
H A D | string.h | 1073 return string_view(lhs) == rhs; 1079 return lhs == string_view(rhs); 1091 return string_view(lhs) != rhs; 1097 return lhs != string_view(rhs); 1109 return string_view(lhs) < rhs; 1115 return lhs < string_view(rhs); 1127 return string_view(lhs) <= rhs; 1133 return lhs <= string_view(rhs); 1145 return string_view(lhs) > rhs; 1151 return lhs > string_view(rhs); [all …]
|
H A D | iterator.h | 467 return lhs.base() == rhs.base(); 473 return lhs.base() != rhs.base(); 477 constexpr bool operator<(const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs) 479 return lhs.base() < rhs.base(); 485 return lhs.base() <= rhs.base(); 489 constexpr bool operator>(const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs) 491 return lhs.base() > rhs.base(); 497 return lhs.base() >= rhs.base(); 507 constexpr auto operator-(const move_iterator<Iterator1>& lhs, const move_iterator<Iterator2>& rhs) 508 -> decltype(lhs.base() - rhs.base()) [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | uid.h | 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]) { 155 inline constexpr bool operator==(const Uid& lhs, const Uid& rhs) 157 return (lhs.data[0U] == rhs.data[0U]) && (lhs.data[1U] == rhs.data[1U]); 160 inline constexpr bool operator!=(const Uid& lhs, const Uid& rhs) 162 return !(lhs == rhs);
|
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/framework/ |
H A D | impl_class_mgr.cpp | 300 if (lhs.GetType() != rhs.GetType()) { in ComparePriority() 306 switch (lhs.GetType()) { in ComparePriority() 311 return CompareBoolPriority(lhs, rhs, type); in ComparePriority() 316 return CompareUint32Priority(lhs, rhs, type); in ComparePriority() 320 return CompareStringPriority(lhs, rhs, type); in ComparePriority() 323 IMAGE_LOGE("invalid data type: %{public}d.", lhs.GetType()); in ComparePriority() 335 if ((lhs.GetValue(lhsValue) != SUCCESS) || (rhs.GetValue(rhsValue) != SUCCESS)) { in CompareBoolPriority() 375 if ((lhs.GetMinValue(lhsValue) != SUCCESS) || (rhs.GetMinValue(rhsValue) != SUCCESS)) { in CompareUint32Priority() 391 if ((lhs.GetMaxValue(lhsValue) != SUCCESS) || (rhs.GetMaxValue(rhsValue) != SUCCESS)) { in CompareUint32Priority() 413 if ((lhs.GetMinValue(lhsValue) != SUCCESS) || (rhs.GetMinValue(rhsValue) != SUCCESS)) { in CompareStringPriority() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
H A D | blur_draw_looper.cpp | 43 bool operator==(const BlurDrawLooper& lhs, const BlurDrawLooper& rhs) in operator ==() argument 45 return lhs.blurDrawLooperPriv_.color == rhs.blurDrawLooperPriv_.color && in operator ==() 46 IsScalarAlmostEqual(lhs.blurDrawLooperPriv_.dx, rhs.blurDrawLooperPriv_.dx) && in operator ==() 47 IsScalarAlmostEqual(lhs.blurDrawLooperPriv_.dy, rhs.blurDrawLooperPriv_.dy) && in operator ==() 48 IsScalarAlmostEqual(lhs.blurDrawLooperPriv_.blurRadius, rhs.blurDrawLooperPriv_.blurRadius); in operator ==() 51 bool operator!=(const BlurDrawLooper& lhs, const BlurDrawLooper& rhs) in operator !=() argument 53 return !(lhs == rhs); in operator !=()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | entity.h | 40 inline bool operator==(Entity const& lhs, Entity const& rhs) 42 return lhs.id == rhs.id; 45 inline bool operator!=(Entity const& lhs, Entity const& rhs) 47 return lhs.id != rhs.id;
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-uniquefd.md | 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>全局大于运算符重载函数,比较… 54 | bool | **operator>=**(const int& lhs, const UniqueFdAddDeletor< Deleter >& rhs) <br>全局大于等于运算符重载函数…
|
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/webgl/ |
H A D | webgl_texture.h | 162 bool operator() (const TextureFormatTypeMap& lhs, const TextureFormatTypeMap& rhs) const in operator() 164 return (lhs.internalFormat < rhs.internalFormat || in operator() 165 ((lhs.internalFormat == rhs.internalFormat) && (lhs.format < rhs.format)) || in operator() 166 …((lhs.internalFormat == rhs.internalFormat) && (lhs.format == rhs.format) && (lhs.type < rhs.type)… in operator()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | application_configuration_manager.cpp | 24 bool operator<(SetLevel lhs, SetLevel rhs) in operator <() argument 26 return static_cast<uint8_t>(lhs) < static_cast<uint8_t>(rhs); in operator <() 29 bool operator>(SetLevel lhs, SetLevel rhs) in operator >() argument 31 return static_cast<uint8_t>(lhs) > static_cast<uint8_t>(rhs); in operator >()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | linear_map.h | 41 …vec, vec + length, key, [](LinearMapNode<T> lhs, const char* key) { return strcmp(lhs.key, key) < … in BinarySearchFindIndex() 53 …:lower_bound(vec, vec + length, key, [](LinearEnumMapNode<K, V> lhs, K key) { return lhs.key < key… in BinarySearchFindIndex()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | render_preprocessor_system.cpp | 118 [](const RenderPreprocessorSystem::MaterialProperties& lhs, in GatherMaterialProperties() 497 … [](const SortData& lhs, const SortData& rhs) { return lhs.renderMeshId < rhs.renderMeshId; }); in Update() argument 502 std::sort(noBatchComponent, noInstancing, [](const SortData& lhs, const SortData& rhs) { in Update() argument 503 if (lhs.mesh.id < rhs.mesh.id) { in Update() 506 if (lhs.mesh.id > rhs.mesh.id) { in Update() 509 if (lhs.skin.id < rhs.skin.id) { in Update() 512 if (lhs.skin.id > rhs.skin.id) { in Update() 515 return lhs.renderMeshId < rhs.renderMeshId; in Update() 523 auto pos = std::adjacent_find(it, end, [](const SortData& lhs, const SortData& rhs) { in Update() argument 524 return (lhs.mesh.id != rhs.mesh.id) || (lhs.skin.id != rhs.skin.id); in Update() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | object_type_info.h | 38 static bool operator==(const ObjectTypeInfo& lhs, const ObjectTypeInfo& rhs) 40 if (lhs.GetFactory && rhs.GetFactory) { 41 auto lhsF = lhs.GetFactory();
|
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/utils/ |
H A D | pointer_key_map.h | 25 bool operator()(K *lhs, K *rhs) const in operator() 27 if (lhs == nullptr || rhs == nullptr) { in operator() 31 return *lhs < *rhs; in operator()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
H A D | font_descriptor_cache.h | 55 bool operator()(const FontDescSharedPtr& lhs, const FontDescSharedPtr& rhs) const in operator() 57 if (lhs->fontFamily == rhs->fontFamily) { in operator() 58 return lhs->fullName < rhs->fullName; in operator() 60 return lhs->fontFamily < rhs->fontFamily; in operator()
|