Home
last modified time | relevance | path

Searched refs:Compare (Results 1 – 25 of 91) sorted by relevance

1234

/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/
H A Dany.h165 template<typename T, bool Compare = HasEqualOperator_v<T>>
169 if constexpr (Compare) { in Equal()
180 template<typename Type, typename Compare = DefaultCompare<Type>>
188 if (!Compare::Equal(value, value_)) { in InternalSetValue()
206 return (Compare::Equal(other.InternalGetValue(), value_));
421 if (!Compare::Equal(value, value_)) { in InternalSetValue()
437 template<class Type, class Compare>
438 IAny::Ptr Any<Type, Compare>::Clone(const AnyCloneOptions& options) const in Clone()
446 template<class Type, class Compare>
455 template<class Type, class Compare = DefaultCompare<Type>>
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_navigation_test/
H A Dbms_bundle_navigation_test.cpp478 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
496 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
532 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
550 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
586 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
604 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
622 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
640 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
712 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 1);
730 EXPECT_EQ(RouterMapHelper::Compare(semVer1, semVer2), 0);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/navigation/
H A Drouter_map_helper.h31 static int32_t Compare(const std::string &version1, const std::string &version2);
32 static int32_t Compare(const SemVer &semVer1, const SemVer &semVer2);
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-sorting-local.md22 3. Compare two strings.
40 | sensitivity | base | Compare different letters.| Example: a ≠ b, a = á, a = A|
41 | | accent | Compare different letters or accents.| Example: a ≠ b, a ≠ á, a = A|
42 | | case | Compare the capitalization of different letters or the same letter.| Example: a ≠ b, a …
43 | | variant | Compare different letters or accents, and other distinctive signs or capitalization.…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/
H A Drouter_map_helper.cpp157 int32_t RouterMapHelper::Compare(const std::string &version1, const std::string &version2) in Compare() function in OHOS::AppExecFwk::RouterMapHelper
161 return Compare(semver1, semver2); in Compare()
164 int32_t RouterMapHelper::Compare(const SemVer &semVer1, const SemVer &semVer2) in Compare() function in OHOS::AppExecFwk::RouterMapHelper
H A Drouter_item_compare.cpp32 int versionCompare = RouterMapHelper::Compare(version1, version2); in operator ()()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/resource/common/src/
H A Devent.cpp49 bool Event::Compare() in Compare() function in STtools::Event
67 if (Compare()) { in WaitingMessage()
/ohos5.0/foundation/distributeddatamgr/kv_store/test/fuzztest/blob_fuzzer/
H A Dblob_fuzzer.cpp38 blob1.Compare(blob2); in BlobEachOtherOption()
40 blob1.Compare(blobOut); in BlobEachOtherOption()
/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/include/
H A Dmock_single_kv_store.h361 struct Compare { struct
364 return a.Compare(b) == -1; in operator() argument
395 std::map<Key, Value, MockSingleKvStore::Compare> kvstore_;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dgeneric_iterator.h34 virtual bool Compare(const Ptr&) const = 0; in BASE_BEGIN_NAMESPACE()
93 return it_->Compare(other.it_);
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_utils_test.cpp80 EXPECT_EQ(false, StringOperation::Compare(str, sep));
82 EXPECT_EQ(true, StringOperation::Compare(str, sep));
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_db_info_test/
H A Dfms_form_db_info_test.cpp110 EXPECT_TRUE(info1.Compare(info2));
112 EXPECT_FALSE(info1.Compare(info2));
385 EXPECT_TRUE(innerInfo.formDBInfo_.Compare(info));
400 EXPECT_TRUE(info.Compare(innerDbInfo));
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-basic-atomic.md67 | Compare and swap| LOS_AtomicCmpXchgByte | Compares and swaps 8-bit memory data. |
68 | Compare and swap| LOS_AtomicCmpXchg16bits | Compares and swaps 16-bit memory data.|
69 | Compare and swap| LOS_AtomicCmpXchg32bits | Compares and swaps 32-bit memory data.|
70 | Compare and swap| LOS_AtomicCmpXchg64bits | Compares and swaps 64-bit memory data.|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/codegen/
H A Dcode_emitter.h40 struct Compare { struct
73 using HeaderFileSet = std::set<HeaderFile, HeaderFile::Compare>;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dblob_test.cpp156 EXPECT_EQ(blob1.Compare(blob2), 1);
157 EXPECT_EQ(blob2.Compare(blob1), -1);
159 EXPECT_EQ(blob2.Compare(blob3), 0);
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/codegen/
H A Dcode_emitter.h32 struct Compare { struct
65 using HeaderFileSet = std::set<HeaderFile, HeaderFile::Compare>;
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dsystem_locale_manager.cpp142 result = collator->Compare(item1.localName, item2.localName); in SortLocaleItemList()
151 result = collator->Compare(item1.displayName, item2.displayName); in SortLocaleItemList()
235 result = collator->Compare(item1.cityDisplayName, item2.cityDisplayName); in SortTimezoneCityItemList()
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/
H A Dintf_comparable.h37 virtual int Compare(const IComparable::Ptr&) const = 0;
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/localecompare_fuzzer/
H A Dlocalecompare_fuzzer.cpp30 LocaleCompare::Compare(input, localeTag2); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/collator_fuzzer/
H A Dcollator_fuzzer.cpp34 collator.Compare(input, "for test"); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/powermgr/thermal_manager/utils/native/include/
H A Dstring_operation.h28 static bool Compare(const std::string& origin, const std::string& target);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/resource/common/include/
H A Devent.h27 bool Compare();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_item_component.cpp33 uint32_t ListItemComponent::Compare(const RefPtr<Component> &component) const in Compare() function in OHOS::Ace::V2::ListItemComponent
/ohos5.0/docs/en/application-dev/reference/apis-device-certificate-kit/
H A Derrorcode-cert.md79 3. Compare the certificate effective time with the current system time to determine whether the cer…
95 3. Compare the certificate expiration time with the current system time to determine whether the ce…
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Decs_listener.h91 if (object.Compare(oldEntity->entity) && &manager == oldEntity->cm) { in SCENE_BEGIN_NAMESPACE()
121 if (obj->entity.Compare(object) && obj->cm == &manager) { in SCENE_BEGIN_NAMESPACE()

1234