/test/testfwk/arkxtest/uitest/core/ |
H A D | widget_selector.cpp | 41 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddFrontLocator() 50 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddRearLocator() 59 if (!selector.rearLocators_.empty() || !selector.frontLocators_.empty() || !selector.parentLocators_.empty()) { in AddParentLocator() 80 if (!frontLocators_.empty()) { in Describe() [all...] |
/base/startup/init/services/begetctl/ |
H A D | sandbox.cpp | 172 bool isNamespaceOnly = !namespaceName.empty() && processName.empty() && serviceName.empty() && pid.empty(); in RunCmd() 173 bool isNamespaceAndProcess = !namespaceName.empty() && !processName.empty() && serviceName.empty() && pid.empty(); in RunCmd() 174 bool isProcessOnly = namespaceName.empty() && !processName.empty() in RunCmd() [all...] |
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
H A D | AppLaunchSceneDataProcessor.cpp | 78 if (bundleName.empty()) { in ProcessSceneData() 89 if (record.bundleName.empty()) { in ProcessSceneData() 119 if (data.domain.empty() || data.eventName.empty()) { in CheckValidCheckPoint() 126 checkBundle = !data.bundleName.empty(); in CheckValidCheckPoint() 129 if (!data.sceneId.empty()) { in CheckValidCheckPoint() 150 if (record.bundleName.empty()) { in SaveCheckPoint() 165 if (!record.appStartupType.bundleName.empty()) { in SaveCheckPoint() 213 return (!record.interactionResponse.bundleName.empty() || !record.startAbility.bundleName.empty()); in HaveStartPoint() [all...] |
/base/global/i18n/frameworks/intl/src/ |
H A D | date_time_format.cpp | 128 if (hourCycle.empty()) { in InitWithLocale() 131 if (hour12.empty() && hourCycle.empty() && !LocaleConfig::IsEmpty24HourClock()) { in InitWithLocale() 282 if (!dateStyle.empty() || !timeStyle.empty()) { in InitDateFormat() 285 if (!dateStyle.empty()) { in InitDateFormat() 292 if (!timeStyle.empty()) { in InitDateFormat() 410 if (year.empty() && month.empty() && day.empty() in ComputeSkeleton() [all...] |
H A D | number_format.cpp | 154 if (!currency.empty()) { in InitProperties() 162 if (!styleString.empty() && styleString == "percent") { in InitProperties() 167 if (!styleString.empty() && styleString == "unit") { in InitProperties() 182 if (!useGrouping.empty()) { in InitProperties() 186 if (!currencySign.empty() || !signDisplayString.empty()) { in InitProperties() 189 if (!notationString.empty()) { in InitProperties() 198 if (!maximumSignificantDigits.empty() || !minimumSignificantDigits.empty()) { in InitDigitsProperties() 323 if (preferredUnit.empty()) { in SetUnit() [all...] |
H A D | locale_info.cpp | 106 if (!script.empty()) {
in ComputeFinalLocaleTag() 109 if (!region.empty()) {
in ComputeFinalLocaleTag() 112 if (!hourCycle.empty() || !numberingSystem.empty() || !calendar.empty() || !collation.empty() ||
in ComputeFinalLocaleTag() 113 !caseFirst.empty() || !numeric.empty()) {
in ComputeFinalLocaleTag() 116 if (!hourCycle.empty()) {
in ComputeFinalLocaleTag() 119 if (!numberingSystem.empty()) {
in ComputeFinalLocaleTag() [all...] |
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
H A D | app_event_observer.cpp | 62 if (strSet.empty()) {
in GetStr() 76 if (eventConfigs.empty()) {
in GetStr() 103 if (domain.empty()) {
in IsValidEvent() 106 if (!domain.empty() && domain != eventDomain) {
in IsValidEvent() 109 if (!names.empty() && (names.find(eventName) == names.end())) {
in IsValidEvent() 131 if (domain.empty() && name.empty()) {
in IsValidEvent() 134 if (!domain.empty() && (domain != event->GetDomain())) {
in IsValidEvent() 137 if (!name.empty() && (name != event->GetName())) {
in IsValidEvent() 172 if (filters_.empty()) {
in VerifyEvent() [all...] |
/base/hiviewdfx/hiview/base/utility/ |
H A D | freeze_json_util.cpp | 86 if (!collectMap["timestamp"].empty()) {
in FormatCollect() 90 if (!collectMap["pid"].empty()) {
in FormatCollect() 94 if (!collectMap["uid"].empty()) {
in FormatCollect() 98 if (!collectMap["domain"].empty()) {
in FormatCollect() 102 if (!collectMap["stringId"].empty()) {
in FormatCollect() 106 if (!collectMap["package_name"].empty()) {
in FormatCollect() 110 if (!collectMap["process_name"].empty()) {
in FormatCollect() 114 if (!collectMap["message"].empty()) {
in FormatCollect() 119 if (!collectMap["peer_binder"].empty()) {
in FormatCollect() 124 if (!collectMap["event_handler"].empty()) {
in FormatCollect() [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | firewall_chain_rule.cpp | 52 if (spt.empty()) { in FirewallChainRule() 54 if (spt.empty()) { in FirewallChainRule() 61 if (dpt.empty()) { in FirewallChainRule() 63 if (dpt.empty()) { in FirewallChainRule() 74 if (!prot_.empty()) { in Parameter() 90 if (!appUid_.empty()) { in Parameter() 93 if (!state_.empty()) { in Parameter() 101 if (ip.empty()) { in IpToParameter() 122 if (port.empty()) { in PortToParameter()
|
/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
H A D | log_analyzer.cpp | 33 info.reason.compare("SERVICE_TIMEOUT") == 0) && !eventInfos["TIME_OUT"].empty()) {
in GetFingerRawString() 37 if (info.reason.compare("SERVICE_BLOCK") == 0 && !eventInfos["QUEUE_NAME"].empty()) {
in GetFingerRawString() 52 if ((eventType == "JS_ERROR" || eventType == "CPP_CRASH") && !info.summary.empty()) {
in AnalysisFaultlog() 62 if (eventInfos.empty()) {
in AnalysisFaultlog() 72 if (eventType == "APP_FREEZE" && eventInfos["LAST_FRAME"].empty()) {
in AnalysisFaultlog() 73 if (!eventInfos["TRACER_PID"].empty()) {
in AnalysisFaultlog() 79 if (!eventInfos["DUMPCATCH_RESULT"].empty()) {
in AnalysisFaultlog()
|
/base/telephony/core_service/utils/vcard/src/ |
H A D | vcard_constructor.cpp | 33 if (charset.empty()) { in VCardConstructor() 80 TELEPHONY_LOGW("empty content"); in ContactEnd() 106 if (!middleName.empty()) { in FormatFullName() 116 if (nameDatas.empty()) { in ConstructNameV40() 130 if (familyName.empty() && givenName.empty() && middleName.empty() && prefix.empty() && suffix.empty()) { in ConstructNameV40() 131 if (formattedName.empty()) { in ConstructNameV40() [all...] |
/base/telephony/core_service/services/network_search/src/ |
H A D | operator_name.cpp | 211 !plmn.empty() && ((static_cast<uint32_t>(spnRule) & SpnShowType::SPN_CONDITION_DISPLAY_PLMN) == in UpdatePlmn() 238 if (enableCust_ && !spnCust_.empty()) { in UpdateSpn() 241 if (spn.empty()) { in UpdateSpn() 248 if (!csSpnFormat_.empty()) { in UpdateSpn() 251 showSpn = !spn.empty() && ((static_cast<uint32_t>(spnRule) & SpnShowType::SPN_CONDITION_DISPLAY_SPN) == in UpdateSpn() 280 if (spn.empty() && !plmn.empty()) { in NotifyGsmSpnChanged() 328 if (plmn.empty()) { in NotifyCdmaSpnChanged() 331 if (!csSpnFormat_.empty()) { in NotifyCdmaSpnChanged() 337 showPlmn = !plmn.empty(); in NotifyCdmaSpnChanged() [all...] |
/base/startup/init/ueventd/standard/ |
H A D | ueventd_parameter.c | 31 int empty; member 42 .empty = 1, 66 INIT_LOGV("[uevent] ThreadRun %d %d", parameterCtrl->empty, parameterCtrl->shutdown); in ThreadRun() 70 if (parameterCtrl->empty) { in ThreadRun() 86 parameterCtrl->empty = 1; in ThreadRun() 89 parameterCtrl->empty = 0; in ThreadRun() 98 parameterCtrl->empty = 1; in ThreadRun() 115 parameterCtrl->empty = 0; in AddParameter()
|
/base/telephony/core_service/test/unittest/esim_parcel_gtest/mock/src/ |
H A D | parcel.cpp | 131 if (g_mockWriteUint32List.empty()) { in WriteUint32() 141 if (g_mockWriteInt32List.empty()) { in WriteInt32() 151 if (g_mockWriteString16List.empty()) { in WriteString16() 161 if (g_mockWriteBoolList.empty()) { in WriteBool() 172 if (g_mockReadUint32List.empty()) { in ReadUint32() 182 if (g_mockReadInt32List.empty()) { in ReadInt32() 192 if (g_mockReadString16List.empty()) { in ReadString16() 202 if (g_mockReadBoolList.empty()) { in ReadBool()
|
/base/web/webview/test/unittest/ohos_adapter/keystore_adapter_impl_test/ |
H A D | keystore_adapter_impl_test.cpp | 108 EXPECT_TRUE(encryptString.empty()); in HWTEST_F() 110 EXPECT_TRUE(DecryptString.empty()); in HWTEST_F() 112 EXPECT_TRUE(encryptString.empty()); in HWTEST_F() 114 EXPECT_TRUE(DecryptString.empty()); in HWTEST_F() 119 EXPECT_TRUE(nullEncrypt.empty()); in HWTEST_F() 121 EXPECT_TRUE(DecryptString.empty()); in HWTEST_F() 125 EXPECT_TRUE(nullEncrypt.empty()); in HWTEST_F() 127 EXPECT_TRUE(DecryptString.empty()); in HWTEST_F()
|
/base/telephony/core_service/services/sim/src/ |
H A D | operator_matching_rule.cpp | 22 if (iccidFromSim.empty()) { in IccidRegexMatch() 30 if (imsiFromSim.empty()) { in ImsiRegexMatch() 39 if (spnFromSim.empty()) { in SpnRegexMatch() 43 if (spnFromSim.empty()) { in SpnRegexMatch() 51 if (valueFromSim.empty()) { in PrefixMatch()
|
/base/update/updater/services/fs_manager/ |
H A D | cmp_partition.cpp | 64 if (nlist.empty() || olist.empty()) { in TraversePartitionList() 82 if (nlist.empty() || olist.empty()) { in RegisterUpdaterPartitionList() 94 if (g_updaterPlist.empty()) { in GetRegisterUpdaterPartitionList() 100 if (ulist.empty()) { in GetRegisterUpdaterPartitionList()
|
/kernel/linux/linux-5.10/sound/sh/ |
H A D | sh_dac_audio.c | 46 int empty; member 70 chip->empty = 1; in dac_audio_reset() 109 chip->empty = 1; in snd_sh_dac_pcm_open() 150 chip->empty = 1; in snd_sh_dac_pcm_trigger() 171 if (chip->empty) { in snd_sh_dac_pcm_copy() 172 chip->empty = 0; in snd_sh_dac_pcm_copy() 189 if (chip->empty) { in snd_sh_dac_pcm_copy_kernel() 190 chip->empty = 0; in snd_sh_dac_pcm_copy_kernel() 207 if (chip->empty) { in snd_sh_dac_pcm_silence() 208 chip->empty in snd_sh_dac_pcm_silence() [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/network/ |
H A D | iptables_manager.cpp | 57 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in AddFirewallRule() 62 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() && !std::get<FIREWALL_DESTPORT_IND>(rule).empty()) { in AddFirewallRule() 98 if (direction == Direction::INPUT && !std::get<FIREWALL_APPUID_IND>(rule).empty()) { in RemoveFirewallRule() 103 (!std::get<FIREWALL_SRCPORT_IND>(rule).empty() || !std::get<FIREWALL_DESTPORT_IND>(rule).empty())) { in RemoveFirewallRule() 117 !std::get<FIREWALL_SRCADDR_IND>(rule).empty() || !std::get<FIREWALL_DESTADDR_IND>(rule).empty() || in RemoveFirewallRule() 118 !std::get<FIREWALL_SRCPORT_IND>(rule).empty() || !std::get<FIREWALL_DESTPORT_IND>(rule).empty() || in RemoveFirewallRule() [all...] |
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | task_manager.cpp | 149 if (innerTasks_.empty()) { in ProcessNextInnerTask() 150 IMSA_HILOGI("InnerTasks_ empty, return"); in ProcessNextInnerTask() 177 if (amsTasks_.empty()) { in ProcessNextAmsTask() 190 if (amsTasks_.empty()) { in ProcessNextAmsTask() 201 if (imaTasks_.empty()) { in ProcessNextImaTask() 207 while (!imaTasks_.empty()) { in ProcessNextImaTask() 219 if (imaTasks_.empty()) { in ProcessNextImaTask() 234 if (curTask_ || imsaTasks_.empty()) { in ProcessNextImsaTask() 239 if (imsaTasks_.empty()) { in ProcessNextImsaTask()
|
/base/telephony/core_service/utils/vcard/src/contact_data/ |
H A D | vcard_name_data.cpp | 25 if (!given_.empty()) { in BuildValuesBucket() 28 if (!family_.empty()) { in BuildValuesBucket() 31 if (!middle_.empty()) { in BuildValuesBucket() 34 if (!prefix_.empty()) { in BuildValuesBucket() 37 if (!suffix_.empty()) { in BuildValuesBucket() 41 if (!phoneticGiven_.empty()) { in BuildValuesBucket() 45 if (!phoneticFamily_.empty()) { in BuildValuesBucket() 49 if (!phoneticMiddle_.empty()) { in BuildValuesBucket()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | set_browser_policies_plugin.cpp | 65 if (appid.empty()) { in OnHandlePolicy() 70 if (beforeHandle.empty()) { in OnHandlePolicy() 75 if (policyName.empty()) { in OnHandlePolicy() 103 if (!policyValue.empty()) { in SetRootPolicy() 156 if (!policyValue.empty()) { in SetPolicyValue() 184 if (appId.empty() && FAILED(BundleManagerUtils::GetAppIdByCallingUid(appId))) { in OnGetPolicy() 188 if (policyData.empty()) { in OnGetPolicy() 227 if (adminValues.empty()) { in MergePolicyData() 234 if (adminValues.empty() && policyData.empty()) { in MergePolicyData() [all...] |
/base/telephony/core_service/utils/codec/src/ |
H A D | asn1_node.cpp | 70 if (bytesLen == 0 || uintByte.empty()) { in Asn1Write() 86 if (bytesLen == 0 || uintByteStr.empty()) { in Asn1Write() 96 if (constructed_ && dataBytes_.empty()) { in Asn1Write() 105 } else if (!dataBytes_.empty()) { in Asn1Write() 196 if (children_.empty()) { in Asn1BuildChildren() 197 TELEPHONY_LOGD("children is empty"); in Asn1BuildChildren() 200 if (!dataBytes_.empty()) { in Asn1BuildChildren() 223 if (byteLen == 0 || byteStream.empty()) { in Asn1GetHeadAsHexStr() 241 if (byteLen == 0 || dataLenStream.empty()) { in Asn1GetHeadAsHexStr() 262 if (dataBytes_.empty()) { in Asn1AsBytes() [all...] |
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | apm_power.c | 121 union power_supply_propval empty; in do_calculate_time() local 176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time() 178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time() 179 empty.intval = 0; in do_calculate_time() 191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time() 218 union power_supply_propval empty, full, cur; in calculate_capacity() local 263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity() 265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity() 266 empty.intval = 0; in calculate_capacity() 269 if (full.intval - empty in calculate_capacity() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | apm_power.c | 121 union power_supply_propval empty; in do_calculate_time() local 176 if (_MPSY_PROP(empty_prop, &empty)) { in do_calculate_time() 178 if (_MPSY_PROP(empty_design_prop, &empty)) in do_calculate_time() 179 empty.intval = 0; in do_calculate_time() 191 return -((cur.intval - empty.intval) * 60L) / I.intval; in do_calculate_time() 218 union power_supply_propval empty, full, cur; in calculate_capacity() local 263 if (_MPSY_PROP(empty_prop, &empty)) { in calculate_capacity() 265 if (_MPSY_PROP(empty_design_prop, &empty)) in calculate_capacity() 266 empty.intval = 0; in calculate_capacity() 269 if (full.intval - empty in calculate_capacity() [all...] |