/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | auto_launch.cpp | 139 if (identifier.empty()) { in EnableKvStoreAutoLaunchParmCheck() 215 isEmpty = onlineDevices_.empty(); in GetKVConnectionInEnable() 620 if (doOpenMap.empty()) { in GetConnInDoOpenMap() 816 if (extItemMap_[identifier].empty()) { in AutoLaunchExtTask() 910 if (extItemMap_[identifier].empty()) { in ExtConnectionLifeCycleCallbackTask() 1067 if (callbackMap.empty()) { in ExtAutoLaunchRequestCallBack() 1068 LOGI("[AutoLaunch] autoLaunchRequestCallbackMap_ is empty"); in ExtAutoLaunchRequestCallBack() 1212 if (autoLaunchItemMap_[identifier].empty()) { in EraseAutoLaunchItem() 1392 if (originalUserId.empty() && autoLaunchItemMap_[identifier].size() > 1) { in GetAutoLaunchItemUid() 1397 if (originalUserId.empty() in GetAutoLaunchItemUid() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_tools_unit_test.cpp | 106 if (properties.sqls.empty()) { in CreateMockSingleDb() 202 if (properties.sqls.empty()) { in CreateMockMultiDb() 962 return !statuses.empty(); in SyncTest() 998 if (syncProcessMap.empty()) { in CheckSyncCondVarWaitResult() 1129 if (db == nullptr || sql.empty()) { in ExecSql() 1144 if (db == nullptr || sql.empty()) { in ExecSql() 1200 if (db == nullptr || sql.empty()) { in CheckSqlResult() 1224 if (db == nullptr || table.empty()) { in CheckTableRecords() 1487 if (db == nullptr || tableName.empty()) { in DeleteRecord() 1488 LOGE("[RelationalTestUtils] db is null or table is empty"); in DeleteRecord() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_cloud_interfaces_relational_ext_test.cpp | 814 EXPECT_TRUE(triggerTableData_.empty()); in HWTEST_F() 877 EXPECT_TRUE(triggerTableData_.empty()); in HWTEST_F() 961 * @tc.steps:step7. update to the same data again, set name is empty, check observer. in HWTEST_F() 1037 * @tc.steps:step3. tableName is empty in HWTEST_F() 1121 ASSERT_TRUE(ans.empty()); in HWTEST_F() 1563 EXPECT_TRUE(g_changedData.empty()); in HWTEST_F() 1589 EXPECT_TRUE(g_changedData.empty()); in HWTEST_F() 1618 EXPECT_TRUE(g_changedData.empty()); in HWTEST_F() 1638 EXPECT_TRUE(g_changedData.empty()); in HWTEST_F() 1669 EXPECT_TRUE(g_changedData.empty()); in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store.cpp | 61 if (dataItems.empty()) { in ProcessContinueToken() 63 LOGE("Get data unfinished but dataitems is empty."); in ProcessContinueToken() 96 if (dataItems.empty()) { in ProcessContinueTokenForQuerySync() 98 LOGE("Get data unfinished but dataitems is empty."); in ProcessContinueTokenForQuerySync() 441 // If inputSchema is empty, upgrader do nothing of schema, isReadOnly will be true if dbfile contain schema before. in Open() 443 // If inputSchema not empty, isReadOnly will not be true, we should do nothing more. in Open() 579 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in DeleteMetaData() 923 if (deviceName.empty()) { in PutSyncDataWithQuery() 968 if (deviceName.empty() || deviceName.length() > DBConstant::MAX_DEV_LENGTH) { in RemoveDeviceData() 1000 if (!deviceName.empty() in RemoveDeviceData() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | single_store_impl.cpp | 97 if (dbKey.empty() || value.Size() > MAX_VALUE_LENGTH) { in Put() 127 if (dbEntry.key.empty() || entry.value.Size() > MAX_VALUE_LENGTH) { in PutBatch() 156 if (dbKey.empty()) { in Delete() 183 if (dbKey.empty()) { in DeleteBatch() 350 if (dbKey.empty()) { in Get() 387 if (clientUuid.empty()) { in IsRemoteChanged() 405 if (dbPrefix.empty() && !prefix.Empty()) { in GetEntries() 435 if (dbPrefix.empty() && !prefix.Empty()) { in GetResultSet() 457 if (device.empty()) { in GetDeviceEntries()
|
/third_party/gn/src/gn/ |
H A D | target_unittest.cc | 799 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 824 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 851 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 880 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 897 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 1117 ASSERT_TRUE(e.bundle_data().file_rules().empty()); in TEST_F() 1118 ASSERT_TRUE(e.bundle_data().assets_catalog_sources().empty()); in TEST_F() 1356 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F() 1373 EXPECT_TRUE(scheduler().GetUnknownGeneratedInputs().empty()); in TEST_F()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | scheduler.cc | 257 while (!queue_.empty()) { // Breadth-first backwards traversal. in Run() 283 while (!queue_.empty()) { // Breadth-first backwards traversal. in Run() 626 DCHECK(queue_.empty()); in ResetDataStructures() 627 DCHECK(control_.empty()); in ResetDataStructures() 1216 // existing cache entry) or the result. Make a list of any empty bus stops in GetCommonDominator() 1326 while (!stack_.empty()) { in Run() 1412 while (!queue_.empty()) { in Run() 1548 } while (!queue->empty()); in ProcessQueue() 1636 DCHECK(marking_queue_.empty()); in SplitNode() 1668 } while (!marking_queue_.empty()); in SplitNode() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassLoadStoreOpNoneTests.cpp | 247 if (!testParams.attachments[i].verifyAspects.empty()) in createRenderPass() 312 refs.inputAttachmentRefs.empty() ? DE_NULL : refs.inputAttachmentRefs.data(), // const VkAttachmentReference* pInputAttachments in createRenderPass() 314 refs.colorAttachmentRefs.empty() ? DE_NULL : refs.colorAttachmentRefs.data(), // const VkAttachmentReference* pColorAttachments in createRenderPass() 315 refs.resolveAttachmentRefs.empty() ? DE_NULL : refs.resolveAttachmentRefs.data(), // const VkAttachmentReference* pResolveAttachments in createRenderPass() 316 refs.depthStencilAttachmentRefs.empty() ? DE_NULL : refs.depthStencilAttachmentRefs.data(), // const VkAttachmentReference* pDepthStencilAttachment in createRenderPass() 460 if (!att.verifyAspects.empty()) in checkSupport() 792 if (!clearAttachments.empty()) in drawCommands() 849 if (!att.verifyAspects.empty()) usage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in iterate() 1084 layoutBindings.empty() ? DE_NULL : layoutBindings.data() // const VkDescriptorSetLayoutBinding* pBindings in iterate() 1497 // disable color writes using an empty colo [all...] |
H A D | vktRenderPassTests.cpp | 846 const bool useExternalInputAspect = !renderPass.getInputAspects().empty(); in logRenderPassInfo() 900 if (!inputAttachments.empty()) in logRenderPassInfo() 925 if (!colorAttachments.empty()) in logRenderPassInfo() 939 if (!resolveAttachments.empty()) in logRenderPassInfo() 953 if (!preserveAttachments.empty()) in logRenderPassInfo() 969 if (!renderPass.getDependencies().empty()) in logRenderPassInfo() 1199 DE_ASSERT(resolveAttachmentReferences.empty() || colorAttachmentReferences.size() == resolveAttachmentReferences.size()); in createSubpassDescription() 1210 inputAttachmentReferences.empty() ? DE_NULL : &inputAttachmentReferences[0], // const VkAttachmentReference* pInputAttachments; || const VkAttachmentReference2KHR* pInputAttachments; in createSubpassDescription() 1212 colorAttachmentReferences.empty() ? DE_NULL : &colorAttachmentReferences[0], // const VkAttachmentReference* pColorAttachments; || const VkAttachmentReference2KHR* pColorAttachments; in createSubpassDescription() 1213 resolveAttachmentReferences.empty() in createSubpassDescription() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | IfConversion.cpp | 492 while (!Tokens.empty()) { in runOnMachineFunction() 694 if (TrueBBI.TrueBB && TrueBBI.BrCond.empty()) in ValidTriangle() 852 assert(!E2->isBranch() && "Branch mis-match, one block is empty."); in verifySameBranchInstructions() 856 assert(!E1->isBranch() && "Branch mis-match, one block is empty."); in verifySameBranchInstructions() 1067 bool AlreadyPredicated = !BBI.Predicate.empty(); in ScanInstructions() 1224 while (!BBStack.empty()) { in AnalyzeBlock() 1245 if (!BBI.IsBrAnalyzable || BBI.BrCond.empty() || BBI.IsDone) { in AnalyzeBlock() 1291 bool TNeedSub = !TrueBBI.Predicate.empty(); in AnalyzeBlock() 1292 bool FNeedSub = !FalseBBI.Predicate.empty(); in AnalyzeBlock() 1321 // Note TailBB can be empty in AnalyzeBlock() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Attributes.cpp | 108 if (!Val.empty()) ID.AddString(Val); in get() 470 if (AttrVal.empty()) return Result; in getAsString() 738 if (Attrs.empty()) in get() 906 assert(!Sets.empty() && "pointless AttributeListImpl"); in AttributeListImpl() 947 assert(!AttrSets.empty() && "pointless AttributeListImpl"); in getImpl() 975 if (Attrs.empty()) in get() 1011 if (Attrs.empty()) in get() 1044 // AttributeListImpls by dropping empty attribute sets at the end of the list. in get() 1061 // If all attribute sets were empty, we can use the empty attribut in get() [all...] |
H A D | DebugInfoMetadata.cpp | 258 return !S || !S->getString().empty(); in isCanonical() 278 // Use a nullptr for empty headers. in getImpl() 415 assert(!Identifier.getString().empty() && "Expected valid identifier"); in buildODRType() 450 assert(!Identifier.getString().empty() && "Expected valid identifier"); in getODRType() 464 assert(!Identifier.getString().empty() && "Expected valid identifier"); in getODRTypeIfExists() 666 if (Name.empty()) in describes() 1072 if (Ops.empty()) in prependOpcodes() 1093 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in append() 1115 assert(Expr && !Ops.empty() && "Can't append ops to this expression"); in appendToStack() 1123 // Append a DW_OP_deref after Expr's current op list if it's non-empty an in appendToStack() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
H A D | IRMover.cpp | 81 assert(SpeculativeTypes.empty()); in addTypeMapping() 82 assert(SpeculativeDstOpaqueTypes.empty()); in addTypeMapping() 1165 if (!AllImportedModules.empty()) in prepareCompileUnitsForImport() 1424 // Copy the target triple from the source to dest if the dest's is empty. in run() 1425 if (DstM.getTargetTriple().empty() && !SrcM->getTargetTriple().empty()) in run() 1430 if (!SrcM->getTargetTriple().empty()&& in run() 1441 if (!IsPerformingImport && !SrcM->getModuleInlineAsm().empty()) { in run() 1444 if (DstM.getModuleInlineAsm().empty()) in run() 1455 while (!Worklist.empty()) { in run() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ProgramExecutableVk.cpp | 563 if (atomicCounterBuffers.empty()) in addAtomicCounterBufferDescriptorSetDesc() 946 descriptorPoolSizes.empty()) in initDynamicDescriptorPools() 948 // For this workaround, we have to create an empty descriptor set for each descriptor set in initDynamicDescriptorPools() 957 if (!descriptorPoolSizes.empty()) in initDynamicDescriptorPools() 1003 !programStates[linkedTransformFeedbackStage]->getLinkedTransformFeedbackVaryings().empty(); in createPipelineLayout() 1191 // Size is set to the size of the empty buffer for shader stages with no uniform data, in updateDefaultUniformsDescriptorSet() 1195 if (defaultUniformBlock.uniformData.empty()) in updateDefaultUniformsDescriptorSet() 1245 if (blocks.empty() || (cacheHit && !IsDynamicDescriptor(descriptorType))) in updateBuffersDescriptorSet() 1337 if (atomicCounterBuffers.empty() || cacheHit) in updateAtomicCounterBuffersDescriptorSet() 1392 // Bind the empty buffe in updateAtomicCounterBuffersDescriptorSet() [all...] |
/third_party/skia/src/gpu/v1/ |
H A D | ClipStack.cpp | 49 // is empty). This behavior is desired for the following clip effect policies. in get_clip_geometry() 54 // Regions with non-zero coverage are disjoint, so intersection = empty in get_clip_geometry() 73 // B's zero coverage region completely contains A, so intersection = empty in get_clip_geometry() 90 // A's zero coverage region completely contains B, so intersection = empty in get_clip_geometry() 190 // 0-2 are reserved for invalid, empty & wide-open in next_gen_id() 446 // 1 dimension, making the device-space geometry effectively empty. 521 // Then simplify the base shape, if it becomes empty, no need to update the bounds in simplify() 528 // Lines and points should have been turned into empty since we assume everything is filled in simplify() 535 // A non-empty shape is offscreen, so treat it as empty in simplify() [all...] |
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 1269 // Either all are empty or none are empty. in close_figure() 1270 SkASSERT(( segmentTypes.empty() && segmentData.empty() && segmentStrokes.empty()) || in close_figure() 1271 (!segmentTypes.empty() && !segmentData.empty() && !segmentStrokes.empty())); in close_figure() 1273 // SkTDArray::begin() may return nullptr when the segment is empty, in close_figure() 1276 if (!segmentTypes.empty() in close_figure() [all...] |
/third_party/skia/third_party/externals/freetype/src/bdf/ |
H A D | bdflib.c | 364 /* An empty string for empty fields. */ 366 static const char empty[] = ""; /* XXX eliminate this */ variable 395 if ( dp != empty ) in _bdf_list_join() 425 list->field[0] = (char*)empty; in _bdf_list_split() 426 list->field[1] = (char*)empty; in _bdf_list_split() 427 list->field[2] = (char*)empty; in _bdf_list_split() 428 list->field[3] = (char*)empty; in _bdf_list_split() 429 list->field[4] = (char*)empty; in _bdf_list_split() 432 /* If the line is empty, the in _bdf_list_split() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | YAMLParser.cpp | 63 if (Input.empty()) in getUnicodeEncoding() 789 if (TokenQueue.empty() || NeedMore) { in peekNext() 797 assert(!TokenQueue.empty() && in peekNext() 813 // TokenQueue can be empty if there was an error getting the next token. in getNext() 814 if (!TokenQueue.empty()) in getNext() 817 // There cannot be any referenced Token's if the TokenQueue is empty. So do a in getNext() 819 if (TokenQueue.empty()) in getNext() 1005 if (!SimpleKeys.empty() && (SimpleKeys.end() - 1)->FlowLevel == Level) in removeSimpleKeyCandidatesOnFlowLevel() 1225 if (!SimpleKeys.empty()) { in scanValue() 1397 setError("Got empty plai in scanPlainScalar() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIMachineScheduler.cpp | 298 while (!TopReadySUs.empty()) { in fastSchedule() 416 while (!TopReadySUs.empty()) { in schedule() 430 TopReadySUs.empty()); in schedule() 827 if (SUColors.empty()) in colorComputeReservedDependencies() 869 if (SUColors.empty()) in colorComputeReservedDependencies() 1298 while (!WorkList.empty()) { in topologicalSort() 1412 if (Block->getPreds().empty()) in fillStats() 1427 if (Block->getSuccs().empty()) in fillStats() 1611 if (ReadyBlocks.empty()) in pickBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 793 if (Shape.CoroSizes.empty()) in replaceFrameSize() 827 assert(!Args.empty()); in setCoroInfo() 1042 while (!Worklist.empty()) { in hasCallsInBlocksBetween() 1191 assert(Clones.empty()); in splitSwitchCoroutine() 1206 assert(Clones.empty()); in splitRetconCoroutine() 1279 assert(ReturnPHIs.empty()); in splitRetconCoroutine() 1376 if (Shape.CoroSuspends.empty()) { in splitCoroutine() 1565 if (Coroutines.empty() && !PrepareFn) 1570 if (Coroutines.empty())
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.cpp | 389 if (!PGOTestProfileFile.empty()) in PGOInstrumentationUseLegacyPass() 590 if (!ComdatMembers.empty()) in FuncPGOInstrumentation() 1593 (ViewBlockFreqFuncName.empty() || in annotateAllFunctions() 1608 (ViewBlockFreqFuncName.empty() || in annotateAllFunctions() 1611 if (ViewBlockFreqFuncName.empty()) in annotateAllFunctions() 1644 if (!PGOTestProfileFile.empty()) in PGOInstrumentationUse() 1646 if (!PGOTestProfileRemappingFile.empty()) in PGOInstrumentationUse() 1688 if (!Node->getName().empty()) in getSimpleNodeName() 1717 if (BrCondStr.empty()) in setProfMetadata()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_helpers.cc | 376 if (package.empty()) return ""; in Namespace() 759 if (file->package().empty()) { in QualifiedFileLevelSymbol() 1013 "google/protobuf/empty.proto", in IsWellKnownMessage() 1306 // Generate forwarding headers and empty .pb.cc. in MaybeBootstrap() 1449 field->default_value_string().empty() in GenerateArenaString() 1475 // For now only use arena string for strings with empty defaults. in GenerateStrings() 1476 field->default_value_string().empty() && in GenerateStrings() 1777 if (!ordered_fields.empty()) format_(" switch (tag >> 3) {\n"); in GenerateParseLoop() 1827 if (!ordered_fields.empty()) format_("default: {\n"); in GenerateParseLoop() 1828 if (!ordered_fields.empty()) format in GenerateParseLoop() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktRenderPassLoadStoreOpNoneTests.cpp | 247 if (!testParams.attachments[i].verifyAspects.empty()) in createRenderPass() 312 refs.inputAttachmentRefs.empty() ? DE_NULL : refs.inputAttachmentRefs.data(), // const VkAttachmentReference* pInputAttachments in createRenderPass() 314 refs.colorAttachmentRefs.empty() ? DE_NULL : refs.colorAttachmentRefs.data(), // const VkAttachmentReference* pColorAttachments in createRenderPass() 315 refs.resolveAttachmentRefs.empty() ? DE_NULL : refs.resolveAttachmentRefs.data(), // const VkAttachmentReference* pResolveAttachments in createRenderPass() 316 refs.depthStencilAttachmentRefs.empty() ? DE_NULL : refs.depthStencilAttachmentRefs.data(), // const VkAttachmentReference* pDepthStencilAttachment in createRenderPass() 462 if (!att.verifyAspects.empty()) in checkSupport() 794 if (!clearAttachments.empty()) in drawCommands() 850 if (!att.verifyAspects.empty()) usage |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in iterate() 1079 layoutBindings.empty() ? DE_NULL : layoutBindings.data() // const VkDescriptorSetLayoutBinding* pBindings in iterate() 1490 // disable color writes using an empty colo [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tab_bar_pattern.cpp | 558 if (visibleItemPosition_.empty()) { in CanScroll() 578 if (visibleItemPosition_.empty()) { in GetOverScrollInfo() 1420 CHECK_NULL_RETURN(columnNode && !columnNode->GetChildren().empty(), false); in CheckSvg() 1473 CHECK_NULL_VOID(columnNode && !columnNode->GetChildren().empty()); in GetBottomTabBarImageSizeAndOffset() 1502 CHECK_NULL_VOID(!selectedMaskNode->GetChildren().empty()); in GetBottomTabBarImageSizeAndOffset() 1528 CHECK_NULL_VOID(columnNode && !columnNode->GetChildren().empty()); in UpdateBottomTabBarImageColor() 1537 CHECK_NULL_VOID(selectedMaskNode && !selectedMaskNode->GetChildren().empty()); in UpdateBottomTabBarImageColor() 1624 CHECK_NULL_VOID(columnNode && !columnNode->GetChildren().empty()); in MaskAnimationFinish() 1675 CHECK_NULL_VOID(maskNode && !maskNode->GetChildren().empty()); in ChangeMask() 1795 if (visibleItemPosition_.empty()) { in CalculateSelectedIndex() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | ItaniumDemangle.h | 221 bool empty() const { return NumElements == 0; } in empty() function in NodeArray 238 // Elements[Idx] is an empty parameter pack expansion, we should erase the in printWithComma() 1516 if (!TemplateParams.empty()) { in printDeclarator() 1759 if (!ExprList.empty()) { 1765 if (!InitList.empty()) { 2260 assert(Last != First && "Popping empty vector!"); in pop_back() 2272 bool empty() const { return First == Last; } in empty() function in PODSmallVector 2275 assert(Last != First && "Calling back() on empty vector!"); in back() 2469 if (TemplateParams.empty() || !TemplateParams[0] || in resolveForwardTemplateRefs() 2666 // FIXME: If TempParams is empty an in parseUnnamedTypeName() [all...] |