Home
last modified time | relevance | path

Searched refs:compare (Results 1 - 25 of 435) sorted by relevance

12345678910>>...18

/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Ddump_utils.cpp24 if (argString.compare("-a") == 0 || argString.compare("--all") == 0) { in DumpMapOne()
27 } else if (argString.compare("-l") == 0 || argString.compare("--stack-list") == 0) { in DumpMapOne()
30 } else if (argString.compare("-s") == 0 || argString.compare("--stack") == 0) { in DumpMapOne()
33 } else if (argString.compare("-m") == 0 || argString.compare("--mission") == 0) { in DumpMapOne()
36 } else if (argString.compare("-t") == 0 || argString.compare(" in DumpMapOne()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/utils/
H A Ddh_context.h57 return (networkId.compare(other.networkId) < 0) || in operator <()
58 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) < 0)) || in operator <()
59 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) == 0) && in operator <()
60 (deviceId.compare(other.deviceId) < 0)) || in operator <()
61 ((networkId.compare(other.networkId) == 0) && (uuid.compare(other.uuid) == 0) && in operator <()
62 (deviceId.compare(other.deviceId) == 0) && (udid.compare(othe in operator <()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_emoji_test.cpp97 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F()
103 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F()
109 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
115 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
257 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
267 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
277 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
287 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
317 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
327 EXPECT_EQ(pattern_->GetTextValue().compare(resul in HWTEST_F()
[all...]
H A Dtext_field_controller_test.cpp539 EXPECT_EQ(pattern_->GetTextValue().compare(testItem.expected), 0) << errorMessage; in HWTEST_F()
568 EXPECT_EQ(pattern_->GetTextValue().compare(testItem.expected), 0) << errorMessage; in HWTEST_F()
588 EXPECT_EQ(selectedValue.compare("bcd"), 0) << "Text is " + selectedValue; in HWTEST_F()
594 EXPECT_EQ(beforeSelectedValue.compare("abc"), 0) << "Text is " + beforeSelectedValue; in HWTEST_F()
600 EXPECT_EQ(afterSelectedValue.compare("defghijklmnopqrstuvwxyz"), 0) << "Text is " + afterSelectedValue; in HWTEST_F()
810 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F()
816 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " << pattern_->GetTextValue(); in HWTEST_F()
822 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
828 EXPECT_EQ(pattern_->GetTextValue().compare(result), 0) << "Text is: " + pattern_->GetTextValue(); in HWTEST_F()
899 EXPECT_EQ(pattern_->GetTextValue().compare(resul in HWTEST_F()
[all...]
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/
H A Dnetlink_data_test.cpp50 EXPECT_TRUE(netlinkData.GetSyspath().compare("") == 0) << "check the Syspath"; in HWTEST_F()
51 EXPECT_TRUE(netlinkData.GetDevpath().compare("") == 0) << "check the Devpath"; in HWTEST_F()
52 EXPECT_TRUE(netlinkData.GetSubsystem().compare("") == 0) << "check the Subsystem"; in HWTEST_F()
101 EXPECT_TRUE(netlinkData.GetDevpath().compare("/dev/test") == 0) << "check the Devpath"; in HWTEST_F()
102 EXPECT_TRUE(netlinkData.GetSyspath().compare("/sys/dev/test") == 0) << "check the Syspath"; in HWTEST_F()
118 EXPECT_TRUE(netlinkData.GetSubsystem().compare("ABCABC") == 0) << "check the Subsystem"; in HWTEST_F()
135 EXPECT_TRUE(param.compare("") == 0) << "get \"\" when para name is incorrect"; in HWTEST_F()
152 EXPECT_TRUE(param.compare("test") == 0) << "check GetParam when para name is correct"; in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/wlan/hostapd/v1_0/
H A Dhostapd_types.h27 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
28 if ((lv) compare (rv)) { \
35 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
36 if ((lv) compare (rv)) { \
H A Dihostapd_callback.h40 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
41 if ((lv) compare (rv)) { \
48 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
49 if ((lv) compare (rv)) { \
H A Dihostapd_interface.h41 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
42 if ((lv) compare (rv)) { \
49 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
50 if ((lv) compare (rv)) { \
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/v1_0/
H A Dhostapd_types.h27 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
28 if ((lv) compare (rv)) { \
35 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
36 if ((lv) compare (rv)) { \
H A Dihostapd_callback.h40 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
41 if ((lv) compare (rv)) { \
48 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
49 if ((lv) compare (rv)) { \
H A Dihostapd_interface.h41 #define HDI_CHECK_VALUE_RETURN(lv, compare, rv, ret) do { \
42 if ((lv) compare (rv)) { \
49 #define HDI_CHECK_VALUE_RET_GOTO(lv, compare, rv, ret, value, table) do { \
50 if ((lv) compare (rv)) { \
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/
H A Dstring_view.h121 constexpr int compare(basic_string_view v) const noexcept;
122 constexpr int compare(size_type pos1, size_type count1, basic_string_view v) const;
123 constexpr int compare(
125 constexpr int compare(CharT const* const s) const;
126 constexpr int compare(size_type pos1, size_type count1, CharT const* const s) const;
127 constexpr int compare(size_type pos1, size_type count1, CharT const* const s, size_type count2) const;
348 constexpr int basic_string_view<CharT>::compare(basic_string_view v) const noexcept
369 constexpr int basic_string_view<CharT>::compare(size_type pos1, size_type count1, basic_string_view v) const in compare() function in basic_string_view
371 return substr(pos1, count1).compare(v); in compare()
375 constexpr int basic_string_view<CharT>::compare( in compare() function in basic_string_view
382 constexpr int basic_string_view<CharT>::compare(CharT const* const s) const compare() function in basic_string_view
403 constexpr int basic_string_view<CharT>::compare(size_type pos1, size_type count1, CharT const* const s) const compare() function in basic_string_view
409 constexpr int basic_string_view<CharT>::compare( compare() function in basic_string_view
[all...]
/foundation/resourceschedule/memmgr/common/src/
H A Dmemmgr_config_manager.cpp95 if (name.compare("availBufferConfig") == 0) { in ParseXmlRootNode()
100 if (name.compare("reclaimConfig") == 0) { in ParseXmlRootNode()
105 if (name.compare("killConfig") == 0) { in ParseXmlRootNode()
109 if (name.compare("systemMemoryLevelConfig") == 0) { in ParseXmlRootNode()
113 if (name.compare("reclaimPriorityConfig") == 0) { in ParseXmlRootNode()
117 if (name.compare("nandLifeConfig") == 0) { in ParseXmlRootNode()
121 if (name.compare("switchConfig") == 0) { in ParseXmlRootNode()
125 if (name.compare("purgeablememConfig") == 0) { in ParseXmlRootNode()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/
H A Dcj_animator.cpp30 if (direction.compare("alternate") == 0) { in StringToAnimationDirection()
32 } else if (direction.compare("reverse") == 0) { in StringToAnimationDirection()
34 } else if (direction.compare("alternate-reverse") == 0) { in StringToAnimationDirection()
43 if (fillMode.compare("forwards") == 0) { in StringToFillMode()
45 } else if (fillMode.compare("backwards") == 0) { in StringToFillMode()
47 } else if (fillMode.compare("both") == 0) { in StringToFillMode()
65 if (aniTimFuncName.compare(INTERPOLATING_SPRING)) { in ParseOptionToMotion()
/foundation/bundlemanager/bundle_framework/test/resource/common/src/
H A Dstpageabilityevent.cpp142 if (eventName.compare("requ_page_ability_terminate") == 0) { in OnReceiveEvent()
144 if (target.compare((this->ability_.lock())->GetAbilityName()) == 0) { in OnReceiveEvent()
148 if (eventName.compare("requ_get_process_memory_info") == 0) { in OnReceiveEvent()
150 if (eventName.compare("requ_disconnect_service") == 0) { in OnReceiveEvent()
152 if (target.compare((this->ability_.lock())->GetAbilityName()) == 0) { in OnReceiveEvent()
159 if (eventName.compare("requ_page_ability_terminate_caller") == 0) { in OnReceiveEvent()
161 if (target.compare((this->ability_.lock())->GetAbilityName()) == 0) { in OnReceiveEvent()
/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dkernel_interface_test.cpp65 EXPECT_EQ(pathWithDeli.compare(base + "/"), 0); in HWTEST_F()
72 EXPECT_EQ(pathTmp.compare(base), 0); in HWTEST_F()
78 EXPECT_EQ(pathTmp.compare(base), 0); in HWTEST_F()
89 EXPECT_EQ(path.compare(first + "/" + second), 0); in HWTEST_F()
91 EXPECT_EQ(path.compare(second), 0); in HWTEST_F()
93 EXPECT_EQ(path.compare(first + "/"), 0); in HWTEST_F()
95 EXPECT_EQ(path.compare(empty), 0); in HWTEST_F()
99 EXPECT_EQ(path.compare(first + "/" + second + "/" + third), 0); in HWTEST_F()
101 EXPECT_EQ(path.compare(second + "/" + third), 0); in HWTEST_F()
103 EXPECT_EQ(path.compare(firs in HWTEST_F()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp416 if ((element.tag_.compare("int") == 0) || (element.tag_.compare("long") == 0) in CreateElementNode()
417 || (element.tag_.compare("float") == 0) || (element.tag_.compare("bool") == 0) in CreateElementNode()
418 || (element.tag_.compare("double") == 0)) { in CreateElementNode()
422 if (element.tag_.compare("string") == 0 || element.tag_.compare("uint8Array") == 0 in CreateElementNode()
423 || element.tag_.compare("object") == 0) { in CreateElementNode()
427 if ((element.tag_.compare("doubleArray") == 0) || (element.tag_.compare("stringArra in CreateElementNode()
[all...]
/foundation/ability/ability_runtime/test/unittest/free_install_manager_test/
H A Dfree_install_manager_test.cpp95 if (want.GetElement().GetBundleName().compare(bundleName) != 0 || in HWTEST_F()
96 want.GetElement().GetAbilityName().compare(abilityName) != 0) { in HWTEST_F()
150 if (want.GetElement().GetBundleName().compare(bundleName) != 0 || in HWTEST_F()
151 want.GetElement().GetAbilityName().compare(abilityName) != 0) { in HWTEST_F()
187 if (want.GetElement().GetBundleName().compare(bundleName) == 0 && in HWTEST_F()
188 want.GetElement().GetAbilityName().compare(abilityName) == 0 && in HWTEST_F()
189 want.GetStringParam(Want::PARAM_RESV_START_TIME).compare(startTime) == 0) { in HWTEST_F()
221 if (want.GetElement().GetBundleName().compare(bundleName) == 0 && in HWTEST_F()
222 want.GetElement().GetAbilityName().compare(abilityName) == 0 && in HWTEST_F()
223 want.GetStringParam(Want::PARAM_RESV_START_TIME).compare(startTim in HWTEST_F()
[all...]
/foundation/arkui/ui_lite/test/unittest/common/
H A Dinput_method_manager_unit_test.cpp101 int16_t ret = text.compare(editView->GetText()); in HWTEST_F()
125 int16_t ret = text.compare(editView->GetText()); in HWTEST_F()
135 ret = tmp.compare(editView->GetText()); in HWTEST_F()
141 ret = tmp.compare(editView->GetText()); in HWTEST_F()
147 ret = tmp.compare(editView->GetText()); in HWTEST_F()
/foundation/resourceschedule/memmgr/common/src/config/
H A Dreclaim_priority_config.cpp41 if (name.compare("killalbeSystemApps") == 0) { in ParseConfig()
45 if (name.compare("importantBgApps") == 0) { in ParseConfig()
67 if (name.compare("killableSysApp") == 0) { in ParseReclaimPriorityKillableSystemAppsConfig()
101 if (name.compare("importantBgApp") == 0) { in ParseReclaimPriorityImportantBgAppsConfig()
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dcommon.c20 Vector VECTOR_Make(VECTOR_Key key, VECTOR_Compare compare) in VECTOR_Make() argument
22 Vector vector = {0, 0, 0, NULL, key, compare}; in VECTOR_Make()
129 if (vector->compare == NULL || first == NULL) { in VECTOR_FindByKey()
133 if (vector->compare(first, key) == 0) { in VECTOR_FindByKey()
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dquery_app_info_callback_stub.cpp39 if (type.compare(KEY_TAG_APP) == 0) { in OnQueryAppInfo()
45 } else if (type.compare(KEY_HCE_APP) == 0) { in OnQueryAppInfo()
127 if (type.compare(KEY_TAG_APP) == 0) { in RemoteQueryAppInfo()
134 } else if (type.compare(KEY_HCE_APP) == 0) { in RemoteQueryAppInfo()
/foundation/communication/nfc/services/src/external_deps/
H A Dnfc_hisysevent.cpp63 if (discStrTech.compare("NfcA") == 0) { in WriteTagFoundHiSysEvent()
65 } else if (discStrTech.compare("NfcB") == 0) { in WriteTagFoundHiSysEvent()
67 } else if (discStrTech.compare("NfcF") == 0) { in WriteTagFoundHiSysEvent()
69 } else if (discStrTech.compare("NfcV") == 0) { in WriteTagFoundHiSysEvent()
/foundation/multimedia/player_framework/frameworks/native/recorder_profiles/test/unittest/
H A Drecorder_profiles_unit_test.cpp104 if ((pAudioRecorderCaps->containerFormatType.compare(ContainerFormatType::CFT_MPEG_4A) == 0)) { in CheckAudioRecorderCapsArray()
107 if ((pAudioRecorderCaps->mimeType.compare(CodecMimeType::AUDIO_AAC) == 0)) { in CheckAudioRecorderCapsArray()
126 if ((pVideoRecorderCaps->containerFormatType.compare(ContainerFormatType::CFT_MPEG_4) == 0)) { in CheckVideoRecorderCapsArray()
129 if ((pVideoRecorderCaps->audioEncoderMime.compare(CodecMimeType::AUDIO_AAC) == 0)) { in CheckVideoRecorderCapsArray()
132 if ((pVideoRecorderCaps->videoEncoderMime.compare(CodecMimeType::VIDEO_MPEG4) == 0)) { in CheckVideoRecorderCapsArray()
142 if ((pVideoRecorderCaps->videoEncoderMime.compare(CodecMimeType::VIDEO_AVC) == 0)) { in CheckVideoRecorderCapsArray()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/
H A Dgatt_service_base.cpp29 if (state.compare(GattConnectionManager::Device::STATE_CONNECTING) == 0) { in ConvertConnectionState()
31 } else if (state.compare(GattConnectionManager::Device::STATE_CONNECTED) == 0) { in ConvertConnectionState()
33 } else if (state.compare(GattConnectionManager::Device::STATE_DISCONNECTING) == 0) { in ConvertConnectionState()

Completed in 15 milliseconds

12345678910>>...18