/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend.cpp | 81 if (GetFormSrc().empty()) { in RunPage() 83 if (!url.empty()) { in RunPage() 86 if (urlPath.empty()) { in RunPage() 92 if (urlPath.empty()) { in RunPage() 93 TAG_LOGW(AceLogTag::ACE_FORM, "fail to run page due to path url is empty"); in RunPage() 110 if (uri.empty()) { in GetFormSrcPath() 130 if (GetFormSrc().empty()) { in GetWindowConfig() 183 if (!params.empty()) { in ParsePage() 214 if (dirtyNodes.empty()) { in OnPageLoaded()
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_recorder.cpp | 42 if (!id.empty()) { in SetId() 56 if (!desc.empty()) { in SetDescription() 64 if (!dstName.empty()) { in SetNavDst() 72 if (!pageUrl.empty()) { in SetPageUrl() 80 if (!value.empty()) { in SetText() 111 if (!key.empty() && !value.empty()) { in SetExtra() 233 if (pageUrl_.empty() || isFocusContainerChanged_) { in GetPageUrl()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_composed_element.h | 43 auto child = children_.empty() ? nullptr : children_.front(); in GetInspectorElement() 53 child = child->GetChildren().empty() ? nullptr : child->GetChildren().front(); in GetInspectorElement() 67 auto child = children_.empty() ? nullptr : children_.front(); in GetContentElement() 76 child = child->GetChildren().empty() ? nullptr : child->GetChildren().front(); in GetContentElement() 84 auto child = children_.empty() ? nullptr : children_.front(); in GetContentRender() 89 child = child->GetChildren().empty() ? nullptr : child->GetChildren().front(); in GetContentRender() 96 auto child = children_.empty() ? nullptr : children_.front(); in GetInspectorComposedElement() 102 child = child->GetChildren().empty() ? nullptr : child->GetChildren().front(); in GetInspectorComposedElement()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_clock/ |
H A D | text_clock_pattern_test_ng.cpp | 186 EXPECT_TRUE(layoutProperty_->GetFontFamily().value().empty()); in HWTEST_F() 262 EXPECT_FALSE(pattern_->Abstract("test123", false).empty()); in HWTEST_F() 263 EXPECT_FALSE(pattern_->Abstract("test123", true).empty()); in HWTEST_F() 277 EXPECT_TRUE(pattern_->GetWeek(false, 7).empty()); in HWTEST_F() 291 EXPECT_FALSE(pattern_->GetMonth(0).empty()); in HWTEST_F() 292 EXPECT_TRUE(pattern_->GetMonth(12).empty()); in HWTEST_F() 309 EXPECT_TRUE(pattern_->SpliceDateTime(curDateTime).empty()); in HWTEST_F() 311 EXPECT_TRUE(pattern_->SpliceDateTime(curDateTime).empty()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_network.cpp | 119 if (!path.empty()) { in SendPath() 227 if (!message.empty()) { in SendMessage() 242 if (!args.empty()) { in PushCommand() 259 if (!incoming_.empty()) { in PopCommand() 265 return !args.empty(); in PopCommand() 271 if (args.empty()) { in ProcessCommand() 286 nothingToSend = outgoing_.empty(); in ProcessOutgoing() 301 if (data.empty()) { in ProcessBinary()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | camera_output_capability.cpp | 112 if (framerates_.empty()) { in IsContains() 115 if (videoProfile.framerates_.empty()) { in IsContains() 138 CHECK_ERROR_RETURN_RET(previewProfiles.empty(), true); in IsMatchPreviewProfiles() 139 CHECK_ERROR_RETURN_RET_LOG(previewProfiles_.empty(), false, "previewProfiles_ is empty, cant match"); in IsMatchPreviewProfiles() 155 CHECK_ERROR_RETURN_RET(photoProfiles.empty(), true); in IsMatchPhotoProfiles() 156 CHECK_ERROR_RETURN_RET_LOG(photoProfiles_.empty(), false, "photoProfiles_ is empty, cant match"); in IsMatchPhotoProfiles() 172 CHECK_ERROR_RETURN_RET(videoProfiles.empty(), true); in IsMatchVideoProfiles() 173 CHECK_ERROR_RETURN_RET_LOG(videoProfiles_.empty(), fals in IsMatchVideoProfiles() [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_rdb_utils.cpp | 154 if (userAlbumIds.empty()) { in GetUserAlbum() 169 if (!analysisAlbumIds.empty()) { in GetAnalysisAlbum() 182 if (!sourceAlbumIds.empty()) { in GetSourceAlbum() 197 if (!subtypes.empty()) { in GetAnalysisAlbumBySubtype() 242 if (filter.empty()) { in AddQueryFilter() 245 if (filters.empty()) { in AddQueryFilter() 251 if (filters.empty()) { in AddQueryFilter() 257 queryCondition = queryCondition.empty() ? filters : filters + " AND " + queryCondition; in AddQueryFilter() 691 if (coverUri.empty()) { in FillOneAlbumCountAndCoverUri() 697 if (coverHiddenUri.empty()) { in FillOneAlbumCountAndCoverUri() [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/ |
H A D | photos_restore.cpp | 118 fileInfo.lPath.empty() ? this->ParseSourcePathToLPath(fileInfo.sourcePath) : fileInfo.lPath;
in FindAlbumInfo() 119 if (fileInfo.lPath.empty() && !lPathForScreenshot.empty()) {
in FindAlbumInfo() 141 if (fileInfo.lPath.empty() || this->ToLower(fileInfo.lPath) == this->ToLower(GALLERT_HIDDEN_ALBUM)) {
in FindAlbumInfo() 156 if (albumInfo.lPath.empty()) {
in FindAlbumId() 170 if (albumInfo.lPath.empty()) {
in FindlPath() 184 if (albumInfo.lPath.empty()) {
in FindPackageName() 198 if (albumInfo.lPath.empty()) {
in FindBundleName()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_cutout_controller_test.cpp | 157 ASSERT_TRUE(boundingRects.empty()); in HWTEST_F() 175 ASSERT_FALSE(boundingRects.empty()); in HWTEST_F() 191 ASSERT_FALSE(boundingRects.empty()); in HWTEST_F() 209 ASSERT_FALSE(boundingRects.empty()); in HWTEST_F() 228 * @tc.desc: TransferBoundingRectsByRotation empty 237 ASSERT_TRUE(boundingRects.empty()); in HWTEST_F() 242 * @tc.desc: TransferBoundingRectsByRotation empty 253 ASSERT_TRUE(boundingRects.empty()); in HWTEST_F() 288 ASSERT_FALSE(controller->boundingRects_[id].empty()); in HWTEST_F() 305 ASSERT_FALSE(boundingRects.empty()); in HWTEST_F() [all...] |
/foundation/window/window_manager/utils/src/ |
H A D | perform_reporter.cpp | 123 if (infoMap.empty()) { in GetMsgString() 129 if (bundleInfos.second.empty()) { in GetMsgString() 146 if (infoMap.empty()) { in GetMsgString() 189 if (bundleName.empty() || packageName.empty()) { in UpdateReportInfo() 211 if (bundleName.empty()) { in UpdateReportInfo() 230 if (bundleName.empty()) { in ReportZeroOpacityInfoImmediately() 279 if (msg.empty()) { in Report()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | wrapper_distributor.cpp | 137 if (!iface.empty() && iface[0] && !address.empty() && !flags.empty() && !scope.empty()) { in HandleAddressChange() 152 if (!route.empty() && (!gateway.empty() || !iface.empty())) { in HandleRouteChange() 161 if (iface.empty()) { in HandleSubSysQlog()
|
/foundation/communication/netstack/frameworks/js/napi/fetch/async_context/src/ |
H A D | fetch_context.cpp | 42 if (request.GetMethod().empty()) { in ParseParams() 96 if (!value.empty()) { in ParseHeader() 123 /* if body is empty, return false, or curl will wait for body */ in GetRequestBody() 128 if (body.empty()) { in GetRequestBody() 129 NETSTACK_LOGE("body napi_string is empty"); in GetRequestBody() 137 if (body.empty()) { in GetRequestBody() 138 NETSTACK_LOGE("body napi_object is empty"); in GetRequestBody() 152 if (url.empty()) { in GetUrlParam() 153 NETSTACK_LOGE("url is empty!"); in GetUrlParam() 179 if (!name.empty() in GetUrlParam() [all...] |
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | types.h | 31 * @brief Key set by client, can be any non-empty bytes array, and less than 1024 size. 74 if (appId.empty() || appId.size() > MAX_APP_ID_LEN) { in IsValid() 96 * and can not be empty and all space. 130 if (storeId.empty() || storeId.size() > MAX_STORE_ID_LEN) { in IsValid() 521 if (baseDir.empty()) { in GetDatabaseDir() 524 return !group.groupDir.empty() ? "" : baseDir; in GetDatabaseDir() 531 if ((baseDir.empty() && group.groupDir.empty()) || (!baseDir.empty() && !group.groupDir.empty())) { in IsPathValid() [all...] |
/foundation/distributedhardware/device_manager/common/src/ |
H A D | dm_anonymous.cpp | 151 if (!paramMap.empty()) { in ConvertMapToJsonString() 163 if (jsonStr.empty()) { in ParseMapFromJsonString() 183 return targetId.deviceId.empty() && targetId.brMac.empty() && targetId.bleMac.empty() && targetId.wifiIp.empty(); in IsInvalidPeerTargetId() 205 if (str.empty()) { in StringToInt() 206 LOGE("Str is empty."); in StringToInt() 220 if (str.empty()) { in StringToInt64() 221 LOGE("Str is empty in StringToInt64() [all...] |
/third_party/gn/src/gn/ |
H A D | pointer_set_unittest.cc | 25 EXPECT_TRUE(set.empty()); in TEST() 32 EXPECT_FALSE(set.empty()); in TEST() 43 EXPECT_TRUE(set1.empty()); in TEST() 44 EXPECT_FALSE(set2.empty()); in TEST() 54 EXPECT_TRUE(set1.empty()); in TEST() 55 EXPECT_FALSE(set2.empty()); in TEST() 153 EXPECT_TRUE(set.empty()); in TEST() 159 EXPECT_FALSE(set.empty()); in TEST()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | graph-reducer.cc | 68 DCHECK(stack_.empty()); in ReduceNode() 69 DCHECK(revisit_.empty()); in ReduceNode() 72 if (!stack_.empty()) { in ReduceNode() 76 } else if (!revisit_.empty()) { in ReduceNode() 77 // If the stack becomes empty, revisit any nodes in the revisit queue. in ReduceNode() 89 if (revisit_.empty()) break; in ReduceNode() 92 DCHECK(revisit_.empty()); in ReduceNode() 93 DCHECK(stack_.empty()); in ReduceNode() 243 if (node->uses().empty()) node->Kill(); in Replace()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | Legalizer.cpp | 157 if (MBB->empty()) in legalizeMachineFunction() 193 assert(RetryList.empty() && "Expected no instructions in RetryList"); in legalizeMachineFunction() 195 while (!InstList.empty()) { in legalizeMachineFunction() 218 "start with an empty artifacts list"); in legalizeMachineFunction() 231 if (!RetryList.empty()) { in legalizeMachineFunction() 232 if (!ArtifactList.empty()) { in legalizeMachineFunction() 233 while (!RetryList.empty()) in legalizeMachineFunction() 241 while (!ArtifactList.empty()) { in legalizeMachineFunction() 272 } while (!InstList.empty()); in legalizeMachineFunction()
|
/third_party/skia/tests/ |
H A D | RefCntTest.cpp | 272 sk_sp<SkRefCnt> empty; in DEF_TEST() local 274 REPORTER_ASSERT(reporter, empty == sk_sp<SkRefCnt>()); in DEF_TEST() 276 REPORTER_ASSERT(reporter, notEmpty != empty); in DEF_TEST() 277 REPORTER_ASSERT(reporter, empty != notEmpty); in DEF_TEST() 279 REPORTER_ASSERT(reporter, nullptr == empty); in DEF_TEST() 280 REPORTER_ASSERT(reporter, empty == nullptr); in DEF_TEST() 281 REPORTER_ASSERT(reporter, empty == empty); in DEF_TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | AMDGPUMetadata.h | 135 /// \returns True if kernel attributes metadata is empty, false otherwise. 136 bool empty() const { in empty() function 140 /// \returns True if kernel attributes metadata is not empty, false otherwise. 142 return !mReqdWorkGroupSize.empty() || !mWorkGroupSizeHint.empty() || in notEmpty() 143 !mVecTypeHint.empty() || !mRuntimeHandle.empty(); in notEmpty() 295 /// \returns True if kernel code properties metadata is empty, false 297 bool empty() const { in empty() function 301 /// \returns True if kernel code properties metadata is not empty, fals 354 bool empty() const { empty() function [all...] |
/foundation/arkui/ace_engine/test/unittest/core/syntax/ |
H A D | lazy_for_each_syntax_test_ng.cpp | 307 EXPECT_TRUE(lazyForEachNode->ids_.empty()); in HWTEST_F() 315 EXPECT_TRUE(lazyForEachNode->ids_.empty()); in HWTEST_F() 725 * is empty. in HWTEST_F() 736 * @tc.steps: step2. Invoke OnExpandChildLayoutWrapper when the childWrappers_ is not empty. in HWTEST_F() 740 EXPECT_FALSE(lazyLayoutWrapperBuilder->childWrappers_.empty()); in HWTEST_F() 751 EXPECT_TRUE(lazyLayoutWrapperBuilder->childWrappers_.empty()); in HWTEST_F() 763 * is empty. in HWTEST_F() 823 * is empty or not. in HWTEST_F() 844 * @tc.steps: step2. Invoke SwapDirtyAndUpdateBuildCache when cacheCount is not empty and frontNodeIds is not empty in HWTEST_F() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/ |
H A D | audio_adapter_manager.cpp | 824 if (!audioModuleInfo.name.empty()) { in UpdateSinkArgs() 829 if (!audioModuleInfo.adapterName.empty()) { in UpdateSinkArgs() 834 if (!audioModuleInfo.className.empty()) { in UpdateSinkArgs() 839 if (!audioModuleInfo.fileName.empty()) { in UpdateSinkArgs() 843 if (!audioModuleInfo.sinkLatency.empty()) { in UpdateSinkArgs() 848 if (!audioModuleInfo.networkId.empty()) { in UpdateSinkArgs() 855 if (!audioModuleInfo.deviceType.empty()) { in UpdateSinkArgs() 860 if (!audioModuleInfo.extra.empty()) { in UpdateSinkArgs() 868 if (!audioModuleInfo.ecType.empty()) { in UpdateEcAndMicRefArgs() 873 if (!audioModuleInfo.ecAdapter.empty()) { in UpdateEcAndMicRefArgs() [all...] |
/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_slice_stack.cpp | 27 return slices_.empty(); in IsEmpty() 47 if (slices_.empty()) { in Top() 56 if (slices_.empty()) { in Pop()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | task_queue.cpp | 46 if (tasks_.empty()) { in GetTaskAutoLock() 73 return tasks_.empty(); in IsEmptyAndUnlocked() 83 return !tasks_.empty(); in CanGetTask()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_changed_data_impl.cpp | 27 if (insertedEntries_.empty() && observerData_ != nullptr) { in GetEntriesInserted() 38 if (updatedEntries_.empty() && observerData_ != nullptr) { in GetEntriesUpdated() 49 if (deletedEntries_.empty() && observerData_ != nullptr) { in GetEntriesDeleted()
|
/third_party/glslang/StandAlone/ |
H A D | Worklist.h | 70 if (worklist.empty()) in remove() 83 bool empty() in empty() function in glslang::TWorklist 85 return worklist.empty(); in empty()
|