/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | templates_parser.cpp | 154 if (repeat.length() == 0 && vec.empty()) { in CheckRepeatAndSplitString() 186 if (args.empty()) { in CheckAutoFillParameter() 202 if (!invalidRepeatAutoFill && out.empty()) { in CheckAutoFillParameter() 251 if (childrenCount >= countNonRepeat && !retTemplates.empty()) { in ParseArgsWithAutoFill() 340 if (args.empty()) { in ParseArgsWithoutAutoFill() 350 if (!strs.empty() && strs[0] == UNIT_AUTO_FILL) { in ParseArgsWithoutAutoFill() 435 if (childrenCount >= static_cast<int32_t>(countNonRepeat) && !retTemplates.empty()) {
|
/foundation/bundlemanager/distributed_bundle_framework/services/dbms/src/ |
H A D | distributed_bms.cpp | 76 if (elements.empty()) { in GetEventInfo() 83 if (eventInfo.bundleName.empty()) { in GetEventInfo() 89 if (eventInfo.abilityName.empty()) { in GetEventInfo() 226 if (deviceId.empty()) { in GetDistributedBundleMgr() 227 APP_LOGW("GetDistributedBundleMgr deviceId is empty"); in GetDistributedBundleMgr() 292 if (elementNames.empty()) { in GetRemoteAbilityInfos() 293 APP_LOGE("GetDistributedBundle failed due to elementNames empty"); in GetRemoteAbilityInfos() 351 if (abilityInfos.empty()) { in GetAbilityInfo() 352 APP_LOGE("DistributedBms QueryAbilityInfo abilityInfos empty"); in GetAbilityInfo() 357 if (label.empty()) { in GetAbilityInfo() [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ |
H A D | plugin_registry.cpp | 296 if (!pluginUids.empty()) { in LoadPlugins() 366 if (!newTypeInfos_.empty()) { in LoadPlugins() 377 if (pluginUids.empty()) { in UnloadPlugins() 378 while (!pluginDatas_.empty() && !plugins_.empty()) { in UnloadPlugins() 487 if (!interfaceTypeInfos_.empty()) { in UnregisterInterfaceType() 505 if (!interfaceTypeInfos_.empty()) { in GetInterfaceMetadata()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler/ |
H A D | event_handler.h | 48 if (file_.empty()) { in ToString() 415 return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), delayTime, priority); 474 return SendEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), 0, Priority::IMMEDIATE); 488 return PostTask(callback, name.empty() ? caller.ToString() : name, delayTime, Priority::HIGH); 514 return PostTask(callback, name.empty() ? caller.ToString() : name, delayTime, Priority::IDLE); 644 return SendSyncEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), priority); 799 return SendTimingEvent(InnerEvent::Get(callback, name.empty() ? caller.ToString() : name), taskTime, priority);
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_frame_rate_manager_test.cpp | 131 STEP("1. Test empty uiFwkDirtyNodes") { in HWTEST_F() 139 ASSERT_EQ(frameRateMgr.GetUiFrameworkDirtyNodes(uiFwkDirtyNodes).empty(), true); in HWTEST_F() 147 ASSERT_EQ(frameRateMgr.GetUiFrameworkDirtyNodes(uiFwkDirtyNodes).empty(), true); in HWTEST_F() 160 ASSERT_EQ(frameRateMgr.GetUiFrameworkDirtyNodes(uiFwkDirtyNodes).empty(), false); in HWTEST_F() 182 ASSERT_EQ(hccMgr->animDynamicCfgCallbacks_.empty(), true); in HWTEST_F() 189 ASSERT_EQ(hccMgr->animDynamicCfgCallbacks_.empty(), false); in HWTEST_F() 221 return; // xml is empty, return in HWTEST_F() 361 ASSERT_EQ(mgr->sceneStack_.empty(), true); in HWTEST_F() 363 ASSERT_EQ(mgr->sceneStack_.empty(), false); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_uri.cpp | 119 if (!fileId.empty()) { in MediaFileUriConstruct() 123 if (!networkId.empty()) { in MediaFileUriConstruct() 355 if (queryMap_.empty()) { in GetQueryKeys() 463 if (firstDentry.empty()) { in GetPathSecondDentry() 488 if (uri.empty()) { in GetTimeIdFromUri() 509 if (uri.empty()) { in GetTimeIdFromUri() 593 if (ext.empty()) { in GetPathFromUri()
|
/foundation/multimedia/media_library/frameworks/native/c_api/ |
H A D | media_asset_change_request_impl.cpp | 414 CHECK_AND_RETURN_RET_LOG(!assetUri.empty(), E_ERR, "Failed to check empty asset uri"); in CopyToMediaLibrary() 454 CHECK_AND_RETURN_RET_LOG(!srcRealPath.empty(), E_FAIL, "Failed to check real path of source"); in CopyFileToMediaLibrary() 507 CHECK_AND_RETURN_RET_LOG(!cacheFileName_.empty() || !cacheMovingPhotoVideoName_.empty(), E_FAIL, in SubmitCache() 554 CHECK_AND_RETURN_RET_LOG(!compatibleFormat.empty(), E_FAIL, "Failed to check compatibleFormat"); in PutMediaAssetEditData() 557 CHECK_AND_RETURN_RET_LOG(!formatVersion.empty(), E_FAIL, "Failed to check formatVersion"); in PutMediaAssetEditData() 560 CHECK_AND_RETURN_RET_LOG(!data.empty(), E_FAIL, "Failed to check data"); in PutMediaAssetEditData()
|
/foundation/resourceschedule/memmgr/common/src/ |
H A D | kernel_interface.cpp | 74 if (path.empty()) { in IsFileExists() 86 if (path.empty()) { in CreateFile() 180 if (path.empty()) { in IsDirExists() 224 if (path.empty()) { in RmDelimiter() 232 if (path.empty()) { in AddDelimiter() 637 if (!temp.empty()) { in SplitOneLineByDelim() 648 if (!temp.empty()) { in SplitOneLineByBlank()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_global_func.cpp | 112 if (str.empty() || split.empty()) { in SplitStringToIntVector() 128 if (!tmpStr.empty() && IsValidateNum(tmpStr)) { in SplitStringToIntVector() 224 if (split.empty()) { in SplitString() 239 if (!tmpStr.empty()) { in SplitString() 261 if (str.empty()) { in IsValidateNum() 426 if (wifiCountryCode.empty()) { in IsValidCountryCode()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/wifi_asset/ |
H A D | wifi_asset_manager.cpp | 40 if (config.wifiEapConfig.identity.empty() ||
in CheckEap() 42 (config.wifiEapConfig.clientCert.empty() || config.wifiEapConfig.privateKey.empty()))) {
in CheckEap() 49 if (config.wifiEapConfig.identity.empty() || config.wifiEapConfig.password.empty()) {
in CheckEap() 66 if (config.wifiWapiConfig.wapiAsCertData.empty() || config.wifiWapiConfig.wapiUserCertData.empty()) {
in CheckWapi() 120 LOGE("WifiAsset ArrayToWifiDeviceConfig, ssid : %{public}s psk empty!", SsidAnonymize(config.ssid).c_str());
in ArrayToWifiDeviceConfig() 146 LOGE("WifiAssetAttrAdd, ssid : %{public}s psk empty!", SsidAnonymize(config.ssid).c_str());
in WifiAssetAttrAdd() 304 LOGE("WifiAssetQuery empty!");
in WifiAssetQuery() [all...] |
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | single_store_impl.cpp | 44 if (dbKey.empty() || value.Size() > MAX_VALUE_LENGTH) { in Put() 71 if (dbEntry.key.empty() || entry.value.Size() > MAX_VALUE_LENGTH) { in PutBatch() 96 if (dbKey.empty()) { in Delete() 120 if (dbKey.empty()) { in DeleteBatch() 202 if (dbKey.empty()) { in Get() 236 if (dbPrefix.empty() && !prefix.Empty()) { in GetEntries() 264 if (dbPrefix.empty() && !prefix.Empty()) { in GetResultSet()
|
/foundation/distributedhardware/device_manager/services/implementation/src/devicestate/ |
H A D | dm_device_state_manager.cpp | 186 if (pkgName.empty() || uuid.empty()) { in OnDbReady() 187 LOGE("On db ready pkgName is empty or uuid is empty"); in OnDbReady() 271 if (timer_ == nullptr || udidHash.empty()) { in DeleteOffLineTimer() 359 while (eventTask_.queue_.empty() && eventTask_.threadRunning_) { in ThreadLoop() 362 if (!eventTask_.queue_.empty()) { in ThreadLoop() 392 if (networkId.empty()) { in GetAuthForm() 393 LOGE("networkId is empty"); in GetAuthForm() 473 if (item.GetAuthenticationType() == ALLOW_AUTH_ONCE && !item.GetAccesser().GetAccesserBundleName().empty()) { in DeleteGroupByDP() [all...] |
/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | untar_file.cpp | 171 if (!info.longName.empty()) { in HandleTarBuffer() 212 if (!errInfos.empty()) { in DealParseTarFileResult() 220 // two empty continuous block indicate end of file in CheckIfTarBlockValid() 228 HILOGE("Parsing tar file completed, tailBuff is empty."); in CheckIfTarBlockValid() 290 if (!subErrInfo.empty()) { in DealIncreParseTarFileResult() 382 if (!includes_.empty() && includes_.find(tmpFullPath) == includes_.end()) { // not in includes in DealFileTag() 525 if (rootPath.empty() || realName.empty()) { in GenRealPath() 543 if (path.empty()) { in CreateDir()
|
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/ |
H A D | distributed_input_node_manager.cpp | 64 if (devId.size() > DEV_ID_LENGTH_MAX || devId.empty() || dhId.size() > DH_ID_LENGTH_MAX || dhId.empty() || in OpenDevicesNode() 65 parameters.size() > STRING_MAX_SIZE || parameters.empty()) { in OpenDevicesNode() 272 if (devId.empty() || dhId.empty()) { in GetDevDhUniqueIdByFd() 502 [this]() { return !isInjectThreadRunning_.load() || !injectQueue_.empty(); }); in InjectEvent() 503 if (injectQueue_.empty()) { in InjectEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.cpp | 125 if (!url.empty()) { in RunPage() 609 if (!jsonArgs.empty()) { in FireAsyncEvent() 636 if (!jsonArgs.empty()) { in FireSyncEvent() 680 if (target.url.empty()) { in Push() 681 LOGE("router.Push uri is empty"); in Push() 691 if (!pagePath.empty()) { in Push() 700 if (target.url.empty()) { in Replace() 701 LOGE("router.Replace uri is empty"); in Replace() 706 if (!pagePath.empty()) { in Replace() 739 if (target.url.empty()) { in BackWithTarget() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/ |
H A D | bms_bundle_app_provision_info_test.cpp | 260 EXPECT_TRUE(appProvisionInfo.type.empty()); in HWTEST_F() 287 EXPECT_TRUE(appProvisionInfo.type.empty()); in HWTEST_F() 396 EXPECT_FALSE(bundleNames.empty()); in HWTEST_F() 404 * 2. AddAppProvisionInfo, bundleName empty 419 * 2. GetAppProvisionInfo, bundleName empty 1208 EXPECT_FALSE(allBundleNames.empty()); in HWTEST_F() 1241 EXPECT_FALSE(allBundleNames.empty()); in HWTEST_F() 1248 EXPECT_FALSE(appProvisionInfo.apl.empty()); in HWTEST_F() 1274 EXPECT_FALSE(allBundleNames.empty()); in HWTEST_F() 1281 EXPECT_FALSE(appProvisionInfo.apl.empty()); in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_store.cpp | 126 } else if (errCode == -E_NOT_FOUND || schemaVal.empty()) { in GetSchemaFromMeta() 154 if (!modeVal.empty()) { in CheckTableModeFromMeta() 231 if (errCode == E_OK && !logVersion.empty() && logVersionVal == logVersion) { in SaveLogTableVersionToMeta() 448 if (errCode != E_OK || localIdentity.empty()) { in CreateDistributedTable() 496 if (cloudTableNameList.empty()) { in CleanCloudData() 522 if (tableNameList.empty()) { in RemoveDeviceData() 574 if (tables.empty() || (!tableName.empty() && iter == tables.end())) { in RemoveDeviceData() 886 if (tableName.empty() || it.second.GetTableName() == tableName) { in RemoveDeviceDataInner() 1029 } else if (sharedTableNamesMap[oldOriginTableName].empty()) { in PrepareSharedTable() [all...] |
/foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/ |
H A D | js_continuation_manager.cpp | 207 if (!errInfo.empty()) { in OnRegisterContinuation() 305 if (!errInfo.empty()) { in OnUnregisterContinuation() 369 if (errInfo.empty()) { in OnRegisterDeviceSelectionCallback() 401 if (!errInfo.empty()) { in OnRegisterDeviceSelectionCallback() 443 if (jsCbMap_[token].empty()) { in OnUnregisterDeviceSelectionCallback() 454 if (!errInfo.empty()) { in OnUnregisterDeviceSelectionCallback() 538 if (!ConvertFromJsValue(env, argv[ARG_COUNT_ONE], deviceId) || deviceId.empty()) { in GetErrorInfo() 539 return "Parameter error. The type of \"deviceId\" must be string and not empty"; in GetErrorInfo() 560 if (!errInfo.empty()) { in OnUpdateContinuationState() 698 if (!errInfo.empty()) { in OnStartContinuationDeviceManager() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | implicit_start_processor.cpp | 83 if (!element.GetAbilityName().empty()) { in IsImplicitStartAction() 294 if (type.empty()) { in MatchTypeAndUri() 398 !request.want.GetStringArrayParam(PARAM_ABILITY_APPINFOS).empty()) { in GenerateAbilityRequestByAction() 550 if (abilityInfo.name.empty() || abilityInfo.bundleName.empty()) { in GenerateAbilityRequestByAppIndexes() 585 if (extensionInfo.bundleName.empty() || extensionInfo.name.empty()) { in FindExtensionInfo() 586 TAG_LOGE(AAFwkTag::ABILITYMGR, "extensionInfo empty."); in FindExtensionInfo() 608 if (appInfos.empty() || appInfos.size() != NFC_QUERY_LENGTH) { in QueryBmsAppInfos() 619 if (!abilityInfo.name.empty() in QueryBmsAppInfos() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | render_stepper.cpp | 403 buttonDataNext.text = rightLabel.empty() ? in LoadDefaultButtonStatus() 410 buttonDataNext.text = rightLabel.empty() ? in LoadDefaultButtonStatus() 415 buttonDataPrev.text = leftLabel.empty() ? in LoadDefaultButtonStatus() 418 buttonDataNext.text = rightLabel.empty() ? in LoadDefaultButtonStatus() 424 buttonDataPrev.text = leftLabel.empty() ? in LoadDefaultButtonStatus() 428 buttonDataNext.text = rightLabel.empty() ? in LoadDefaultButtonStatus() 605 if (!result.empty() && isdigit(result[0])) { in FireNextEvent() 624 if (!result.empty() && isdigit(result[0])) { in FireBackEvent() 761 if (!childrenArray_.empty()) { in InitChildrenArr() 909 if (info.GetTouches().empty()) { in HandleTouchDown() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/dialog/ |
H A D | dialog_component.cpp | 202 } else if (actions_.empty()) { in BuildFocusChild() 234 titlePadding_ = (!content_ && actions_.empty()) ? dialogTheme_->GetTitleDefaultPadding() in BuildTitle() 275 contentPadding_ = actions_.empty() ? dialogTheme_->GetDefaultPadding() : dialogTheme_->GetAdjustPadding(); in BuildContent() 278 actions_.empty() ? dialogTheme_->GetContentDefaultPadding() : dialogTheme_->GetContentAdjustPadding(); in BuildContent() 296 if (actions_.empty()) { in BuildMenu() 297 LOGW("the action is empty"); in BuildMenu() 322 if (actions_.empty()) { in BuildActions() 323 LOGW("the action is empty"); in BuildActions() 374 if (actions_.empty() || actions_.size() != DIALOG_BUTTONS_COUNT_WATCH) { in BuildActionsForWatch() 611 if (!dialogProperties.callbacks.empty()) { in Build() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_for_each_builder.cpp | 77 if (!cachedItems_.empty() && index <= static_cast<size_t>(cachedItems_.rbegin()->first)) { in OnDataAdded() 96 if (!cachedItems_.empty() && index <= static_cast<size_t>(cachedItems_.rbegin()->first)) { in OnDataBulkAdded() 116 if (cachedItems_.empty()) { in OnDataDeleted() 149 if (cachedItems_.empty()) { in OnDataBulkDeleted() 196 if (cachedItems_.empty()) { in OnDataBulkChanged() 414 if (!indexChangedMap.empty()) { in RepairDatasetItems() 427 if (!indexChangedMap.empty()) { in RepairDatasetItems() 435 } else if (!info.extraKey.empty()) { in RepairDatasetItems() 546 if (!operation.key.empty()) { 603 if (!operation.key.empty()) { in OperateChange() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_analysis_album_operations.cpp | 194 if (clearAlbums.empty()) { in ClearEmptyGroupPhotoAlbumInfo() 217 MEDIA_ERR_LOG("Clear empty group photo album info failed! Error: %{public}d", ret); in ClearEmptyGroupPhotoAlbumInfo() 231 if (!oldCoverId.empty() && MediaLibraryDataManagerUtils::IsNumber(oldCoverId)) { in BuildUpdateGroupPhotoAlbumSql() 252 if (!albumInfo.albumName.empty()) { in BuildUpdateGroupPhotoAlbumSql() 284 if (insertAlbums.empty()) { in InsertGroupPhotoAlbumInfo() 545 if (currentFileId.empty() || targetFileId.empty()) { in GetMergeAlbumCoverUri() 615 if (target.empty()) { in ReorderTagId() 629 if (splitResult.empty()) { in ReorderTagId() 683 if (reorderedTagId.empty()) { in UpdateMergeGroupAlbumsInfo() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.cpp | 230 if (bindInfos.empty()) { in Bind() 384 devices.empty() ? "null" : Anonymous::Change(*devices.begin()).c_str(), syncParam.mode); in Sync() 395 if (devices.empty()) { in Sync() 396 ZLOGE("Devices is empty! mode:%{public}d", syncParam.mode); in Sync() 439 if (!sameAccountDevs.empty()) { in SetEqualIdentifier() 448 if (!defaultAccountDevs.empty()) { in SetEqualIdentifier() 485 devices.empty() ? "null" : Anonymous::Change(*devices.begin()).c_str(), mode); in Clean() 498 if (devices.empty()) { in Clean() 604 if (status != DBStatus::OK || versions.empty()) { in GetWaterVersion() 704 if (targetID.empty()) { [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | db_common.cpp | 145 if (devName.empty()) { in TransferHashString() 160 if (origStr.empty()) { in TransferStringToHex() 211 if (directory.empty()) { in CreateStoreDirectory() 308 if (!subUser.empty()) { in GenerateIdentifierId() 409 if (!res.empty() && isPreSpace) { in TrimSpace() 422 if (oriString.empty()) { in RTrim() 495 if (!syncObject.GetRelationTableNames().empty()) { in CheckQueryWithoutMultiTable() 499 if (!QuerySyncObject::GetQuerySyncObject(query).empty()) { in CheckQueryWithoutMultiTable() 510 * 3. repeat step 1 and 2, until the graph is empty or there is no point with a zero degree 528 while (!que.empty()) { in IsCircularDependency() [all...] |