/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_config.cpp | 52 if ((key.compare("faultlogLogPersist") == 0)) { in ParserConfig() 53 if (value.compare("false") == 0) { in ParserConfig() 60 if (key.compare("displayRigister") == 0) { in ParserConfig() 61 if (value.compare("false") == 0) { in ParserConfig() 68 if (key.compare("displayBacktrace") == 0) { in ParserConfig() 69 if (value.compare("false") == 0) { in ParserConfig() 76 if (key.compare("displayMaps") == 0) { in ParserConfig() 77 if (value.compare("false") == 0) { in ParserConfig() 84 if (key.compare("displayFaultStack.switch") == 0) { in ParserConfig() 85 if (value.compare("false") == 0) { in ParserConfig() [all …]
|
/base/global/i18n/frameworks/intl/src/ |
D | locale_compare.cpp | 166 …if (script1.compare(script2) == 0 || (language1.compare("en") == 0 && IsSameEnglishScript(script1,… in Compare() 174 if (region1.length() != 0 && region1.compare(region2) == 0) { in Compare() 182 if (langTag1.compare(langTag2) == 0) { in IsSameLanguage() 185 if (langTag1.compare("tl") == 0 && langTag2.compare("fil") == 0) { in IsSameLanguage() 188 if (langTag1.compare("fil") == 0 && langTag2.compare("tl") == 0) { in IsSameLanguage() 196 if (scriptTag1.compare("Qaag") == 0 && scriptTag2.compare("Latn") == 0) { in IsSameEnglishScript() 199 if (scriptTag1.compare("Latn") == 0 && scriptTag2.compare("Qaag") == 0) { in IsSameEnglishScript() 212 if (localeTag2.compare(hantParent[localeTag1]) == 0) { in HasMapRelation() 217 if (localeTag2.compare(latnParent[localeTag1]) == 0) { in HasMapRelation() 231 if (localeTag2.compare(extendedHantParent[localeTag1]) == 0) { in HasMapRelation() [all …]
|
D | measure_data.cpp | 504 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/hiviewdfx/hisysevent/frameworks/native/ |
D | hisysevent_json_decorator.cpp | 191 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/ |
D | i18n_test.cpp | 1236 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/startup/appspawn/interfaces/innerkits/src/ |
D | appspawn_mount_permission.cpp | 43 if (mountPermission.compare(inputPermission) == 0) { in GenPermissionCode() 55 if (mountPermission.compare(permission) == 0) { in IsMountPermission()
|
/base/hiviewdfx/faultloggerd/test/unittest/callstack/ |
D | register_test.cpp | 50 EXPECT_EQ(GetArchName(ArchType::X86_32).compare("X86_32"), 0); 51 EXPECT_EQ(GetArchName(ArchType::X86_64).compare("X86_64"), 0); 52 EXPECT_EQ(GetArchName(ArchType::ARM).compare("ARM"), 0); 53 EXPECT_EQ(GetArchName(ArchType::ARM64).compare("ARM64"), 0); 54 EXPECT_EQ(GetArchName(static_cast<ArchType>(100)).compare("Unsupport"), 0); 55 EXPECT_EQ(GetArchName(static_cast<ArchType>(-1)).compare("Unsupport"), 0);
|
/base/location/services/location_locator/locator/source/ |
D | fusion_controller.cpp | 57 if (GNSS_ABILITY.compare(abilityName) != 0) { in Process() 68 if (GNSS_ABILITY.compare(abilityName) == 0) { in FuseResult()
|
D | work_record.cpp | 197 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()
|
D | locator_event_subscriber.cpp | 36 if (MODE_CHANGED_EVENT.compare(action) == 0) { in OnReceiveEvent()
|
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
D | dlp_parcel_test.cpp | 55 EXPECT_EQ(0, result->authUserInfo_.authAccount.compare("abc")); 131 EXPECT_EQ(0, result->bundleName_.compare("abc")); 150 EXPECT_EQ(0, result->docUri.compare("abc"));
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_dump.cpp | 60 if ((args.empty()) || (args[0].compare(u"-i") != 0)) { in GetBatteryInfo() 100 if ((args.empty()) || (args[0].compare(u"-u") != 0)) { in MockUnplugged() 111 if ((args.empty()) || (args[0].compare(u"-r") != 0)) { in Reset() 122 …if ((args.empty()) || args.size() != CAPACITY_DUMP_PARAM_SIZE || (args[0].compare(u"--capacity") !… in MockCapacity()
|
/base/location/frameworks/location_common/common/source/ |
D | common_utils.cpp | 108 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/sys_installer/tools/module_update_tool/ |
D | main.cpp | 105 if (INSTALL_PARAM.compare(argv[1]) == 0 && argc == MAX_PARAM_NUM) { in main() 111 if (UNINSTALL_PARAM.compare(argv[1]) == 0 && argc == MAX_PARAM_NUM) { in main() 117 if (SHOW_INFO.compare(argv[1]) == 0) { in main()
|
/base/update/updateservice/services/core/ability/utils/include/ |
D | encrypt_utils.h | 50 if (encryptUrl.compare(0, httpsPrefix.size(), httpsPrefix) == 0) { in EncryptUrl() 54 if (encryptUrl.compare(0, httpPrefix.size(), httpPrefix) == 0) { in EncryptUrl()
|
/base/powermgr/battery_statistics/utils/native/src/ |
D | stats_hisysevent.cpp | 26 if (eventName.compare(HISYSEVENT_LIST[i]) == COMPARE_SUCCESS) { in CheckHiSysEvent()
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
D | medical_dump.cpp | 48 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/hiviewdfx/hilog/frameworks/libhilog/utils/include/ |
D | log_utils.h | 30 : 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/package/pkg_verify/ |
D | cert_verify.cpp | 124 if (rootInfo_.subject.compare(certSubject) == 0 && in CompareCertSubjectAndIssuer() 125 rootInfo_.issuer.compare(certIssuer) == 0) { in CompareCertSubjectAndIssuer()
|
/base/security/code_signature/utils/src/ |
D | file_helper.cpp | 36 (baseRealPath.compare(realPath.substr(0, baseRealPath.size())) == 0); in CheckFilePathValid()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_buffer.cpp | 112 if ((absDir.compare(filePath.substr(0, absDir.size())) != 0) && in WriteBufferFromFile() 113 (relDir.compare(filePath.substr(0, relDir.size())) != 0)) { in WriteBufferFromFile()
|
/base/update/updater/services/ |
D | updater_preprocess.cpp | 81 ret = verStr.compare(targetVersions[i]); in CheckVersion() 105 ret = localBoardId.compare(boardIdList[i]); in CheckBoardId()
|
D | updater_utils.cpp | 51 if (currentName[0] == '.' || (currentName.compare("log") == 0) || in DeleteUpdaterPath() 52 (currentName.compare(UPDATER_RESULT_FILE) == 0) || in DeleteUpdaterPath() 53 (currentName.compare(UPDATER_LOCALE_FILE) == 0)) { in DeleteUpdaterPath()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_matching_rule.cpp | 49 return !(valueFromSim.compare(PREFIX_INDEX, valuePrefix.size(), valuePrefix)); in PrefixMatch()
|
/base/powermgr/power_manager/test/unittest/include/ |
D | running_lock_test.h | 42 ASSERT_TRUE((runningLockInfo.name).compare(runningLockInner->GetName()) == 0); in TestRunningLockInnerExisit()
|