Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 25 of 95) sorted by relevance

1234

/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_config.cpp126 if ((key.compare("faultlogLogPersist") == 0) && (value.compare("true") == 0)) { in ParserConfig()
130 if ((key.compare("displayRigister") == 0) && (value.compare("false") == 0)) { in ParserConfig()
134 if ((key.compare("displayBacktrace") == 0) && (value.compare("false") == 0)) { in ParserConfig()
138 if ((key.compare("displayMaps") == 0) && (value.compare("false") == 0)) { in ParserConfig()
142 if ((key.compare("displayFaultStack.switch") == 0) && (value.compare("false") == 0)) { in ParserConfig()
146 if (key.compare("displayFaultStack.lowAddressStep") == 0) { in ParserConfig()
151 if (key.compare("displayFaultStack.highAddressStep") == 0) { in ParserConfig()
156 if ((key.compare("dumpOtherThreads") == 0) && (value.compare("true") == 0)) { in ParserConfig()
/base/hiviewdfx/hisysevent/frameworks/native/
Dhisysevent_json_decorator.cpp191 return (key.compare(ele) == 0); in HiSysEventJsonDecorator()
220 if (dataType.compare("BOOL") == 0) { in HiSysEventJsonDecorator()
222 } else if ((dataType.compare("INT8") == 0) || (dataType.compare("INT16") == 0) || in HiSysEventJsonDecorator()
223 (dataType.compare("INT32") == 0)) { in HiSysEventJsonDecorator()
225 } else if (dataType.compare("INT64") == 0) { in HiSysEventJsonDecorator()
227 } else if ((dataType.compare("UINT8") == 0) || (dataType.compare("UINT16") == 0) || in HiSysEventJsonDecorator()
228 (dataType.compare("UINT32") == 0)) { in HiSysEventJsonDecorator()
230 } else if (dataType.compare("UINT64") == 0) { in HiSysEventJsonDecorator()
232 } else if ((dataType.compare("FLOAT") == 0) || (dataType.compare("DOUBLE") == 0)) { in HiSysEventJsonDecorator()
234 } else if (dataType.compare("STRING") == 0) { in HiSysEventJsonDecorator()
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/
Di18n_test.cpp1236 EXPECT_TRUE(expect.compare(out) == 0);
1238 EXPECT_TRUE(expect.compare(out) == 0);
1240 EXPECT_TRUE(expect.compare(out) == 0);
1244 EXPECT_TRUE(expect.compare(out) == 0);
1246 EXPECT_TRUE(expect.compare(out) == 0);
1250 EXPECT_TRUE(expect.compare(out) == 0);
1252 EXPECT_TRUE(expect.compare(out) == 0);
1254 EXPECT_TRUE(expect.compare(out) == 0);
1258 EXPECT_TRUE(expect.compare(out) == 0);
1260 EXPECT_TRUE(expect.compare(out) == 0);
[all …]
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp32 if ((args.empty()) || (args[0].compare(u"-h") != 0)) { in DumpBatteryHelp()
67 if ((args.empty()) || (args[0].compare(u"-i") != 0)) { in GetBatteryInfo()
105 if ((args.empty()) || (args[0].compare(u"-u") != 0)) { in MockUnplugged()
116 if ((args.empty()) || (args[0].compare(u"-r") != 0)) { in ResetPlugged()
/base/location/services/location_locator/locator/source/
Dfusion_controller.cpp55 if (GNSS_ABILITY.compare(abilityName) != 0) { in Process()
64 if (GNSS_ABILITY.compare(abilityName) == 0) { in FuseResult()
Dwork_record.cpp197 if ((name.compare(names_[i]) == 0) && (uuid.compare(uuid_[i]) == 0)) { in Remove()
222 if (iter->compare(name) == 0) { in Remove()
247 if ((name.compare(names_[i]) == 0) && (uuid.compare(uuid_[i]) == 0)) { in Find()
Dlocator_event_subscriber.cpp36 if (MODE_CHANGED_EVENT.compare(action) == 0) { in OnReceiveEvent()
/base/location/frameworks/location_common/common/source/
Dcommon_utils.cpp108 if (GNSS_ABILITY.compare(ability) == 0) { in AbilityConvertToId()
111 if (NETWORK_ABILITY.compare(ability) == 0) { in AbilityConvertToId()
114 if (PASSIVE_ABILITY.compare(ability) == 0) { in AbilityConvertToId()
117 if (GEO_ABILITY.compare(ability) == 0) { in AbilityConvertToId()
137 if (GNSS_ABILITY.compare(name) == 0) { in GetLabel()
140 if (NETWORK_ABILITY.compare(name) == 0) { in GetLabel()
143 if (PASSIVE_ABILITY.compare(name) == 0) { in GetLabel()
146 if (GEO_ABILITY.compare(name) == 0) { in GetLabel()
/base/update/updater/services/package/pkg_verify/
Dcert_verify.cpp107 if (rootInfo_.subject.compare(certSubject) == 0 && in CompareCertSubjectAndIssuer()
108 rootInfo_.issuer.compare(certIssuer) == 0) { in CompareCertSubjectAndIssuer()
/base/powermgr/battery_statistics/utils/native/src/
Dstats_hisysevent.cpp26 if (eventName.compare(HISYSEVENT_LIST[i]) == COMPARE_SUCCESS) { in CheckHiSysEvent()
/base/sensors/medical_sensor/services/medical_sensor/src/
Dmedical_dump.cpp48 if ((args.empty()) || (args[0].compare(u"-h") != 0)) { in DumpSensorHelp()
69 if ((args.empty()) || (args[0].compare(u"-l") != 0)) { in DumpSensorList()
89 if ((args.empty()) || (args[0].compare(u"-c") != 0)) { in DumpSensorChannel()
116 if ((args.empty()) || (args[0].compare(u"-o") != 0)) { in DumpOpeningSensor()
133 if ((args.empty()) || (args[0].compare(u"-d") != 0)) { in DumpSensorData()
/base/telephony/core_service/services/network_search/src/
Dnetwork_register.cpp417 if (nrStateKv[1].compare("5g") != 0) { in NrConfigParse()
426 if (strState.compare("NOT_SUPPORT") == 0) { in ConvertStringToNrState()
428 } else if (strState.compare("NO_DETECT") == 0) { in ConvertStringToNrState()
430 } else if (strState.compare("CONNECTED_DETECT") == 0) { in ConvertStringToNrState()
432 } else if (strState.compare("IDLE_DETECT") == 0) { in ConvertStringToNrState()
434 } else if (strState.compare("DUAL_CONNECTED") == 0) { in ConvertStringToNrState()
436 } else if (strState.compare("SA_ATTACHED") == 0) { in ConvertStringToNrState()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_utils.h30 : str_map(map), def_key(def_k), def_value(def_v), compare(cmp) in str_map()
43 if (compare(value, it.second)) { in GetKey()
68 const ValueCmp compare; variable
/base/update/updater/services/
Dupdater_preprocess.cpp63 ret = verStr.compare(targetVersions[i]); in CheckVersion()
84 ret = localBoardId.compare(boardIdList[i]); in CheckBoardId()
Dupdater_utils.cpp47 if (currentName[0] != '.' && (currentName.compare("log") != 0) && in DeleteUpdaterPath()
48 (currentName.compare(UPDATER_RESULT_FILE) != 0) && in DeleteUpdaterPath()
49 (currentName.compare(UPDATER_LOCALE_FILE) != 0)) { in DeleteUpdaterPath()
/base/global/i18n/frameworks/intl/src/
Dmeasure_data.cpp504 double compare = 0.0; in ComputePowerValue() local
505 if (fabs(value - compare) < 1e-6) { in ComputePowerValue()
533 double compare = 0.0; in ComputeValue() local
535 if (fabs(factors[0] - compare) < 1e-6) { in ComputeValue()
538 if (fabs(factors[0] - compare) < 1e-6) { in ComputeValue()
541 if (fabs(factors[0] - compare) < 1e-6) { in ComputeValue()
/base/telephony/core_service/services/sim/src/
Doperator_matching_rule.cpp49 return !(valueFromSim.compare(PREFIX_INDEX, valuePrefix.size(), valuePrefix)); in PrefixMatch()
/base/powermgr/power_manager/services/native/test/unittest/include/
Drunning_lock_test.h45 ASSERT_TRUE((runningLockInfo.name).compare(runningLockInner->GetRunningLockName()) == 0); in TestRunningLockInnerExisit()
/base/useriam/user_auth_framework/services/ipc/src/
Dco_auth_service.cpp138 if (arg0.empty() || arg0.compare("-h") == 0) { in Dump()
144 if (arg0.compare("-l") == 0) { in Dump()
/base/request/request/upload/frameworks/libs/src/
Dobtain_file.cpp39 if (fileUri.compare(0, dataAbilityHead.size(), dataAbilityHead) == 0) { in GetFile()
42 } else if (fileUri.compare(0, internalHead.size(), internalHead) == 0) { in GetFile()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dwatch_point.cpp189 return stringId_.compare(node.GetStringId()); in operator <()
196 return timestamp_ == node.GetTimestamp() && stringId_.compare(node.GetStringId()); in operator ==()
/base/powermgr/power_manager/interfaces/innerkits/native/include/
Dwork_trigger.h69 (name_.compare(other.name_) == 0);
/base/telephony/core_service/services/network_search/test/
Dtest_broadcast.cpp28 if (eventName.compare(EventFwk::CommonEventSupport::COMMON_EVENT_SPN_INFO_CHANGED) == 0) { in OnReceiveEvent()
/base/notification/distributed_notification_service/test/resource/notificationfuzztest/include/
Dnotificationfuzzconfigparser.h54 if (!it.key().compare(FUZZ_TEST_MAIN_LOOP_KEY)) { in ParseFromFile4FuzzTest()
/base/notification/common_event_service/test/systemtest/common/resource/fuzzTest/include/
DfuzzConfigParser.h55 if (!it.key().compare(FUZZ_TEST_MAIN_LOOP_KEY)) { in ParseFromFile4FuzzTest()

1234