/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_doc_comment.cc | 107 std::string comments = location.leading_comments.empty() in WriteDocCommentBodyForLocation() 110 if (!comments.empty()) { in WriteDocCommentBodyForLocation() 120 while (!lines.empty() && lines.back().empty()) { in WriteDocCommentBodyForLocation() 129 if (!lines[i].empty() && lines[i][0] == '/') { in WriteDocCommentBodyForLocation() 159 if (!result.empty() && result[result.size() - 1] == '{') { in FirstLineOf()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | printer.cc | 148 if (varname.empty()) { in Print() 158 if (at_start_of_line_ && iter->second.empty()) { in Print() 189 if (indent_.empty()) { in Outdent() 215 // Fix up empty variables (e.g., "{") that should be annotated as in WriteRaw() 302 if (!annotations.empty()) { in FormatInternal() 341 if (annotations->empty()) { in WriteVariable() 382 // By returning here in case of empty we also skip possible spaces inside in WriteVariable() 383 // the $...$, i.e. "void$ dllexpor$ f();" -> "void f();" in the empty case. in WriteVariable() 384 if (sub.empty()) return format; in WriteVariable() 386 // We're going to write something non-empty s in WriteVariable() [all...] |
H A D | io_win32_unittest.cc | 38 // This file is only used on Windows, it's empty on other platforms. 108 EXPECT_FALSE(test_tmpdir.empty()); \ 109 EXPECT_FALSE(wtest_tmpdir.empty()); \ 188 if (!ok || tmp.empty()) { in SetUp() 202 ASSERT_FALSE(wtest_tmpdir.empty()); in SetUp() 208 if (!wtest_tmpdir.empty()) { in TearDown() 447 if (!found_bad.empty()) { in TEST_F() 464 if (!found_bad.empty()) { in TEST_F() 498 if (!found_bad.empty()) { in TEST_F() 517 if (!found_bad.empty()) { in TEST_F() [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | ParagraphBuilderImpl.cpp | 68 if (!fStyledBlocks.empty() && fStyledBlocks.back().fRange.end == fUtf8.size() && in pushStyle() 78 if (!fTextStyles.empty()) { in pop() 89 if (fTextStyles.empty()) { in internalPeekStyle() 140 BlockRange stylesBefore(fPlaceholders.empty() ? 0 : fPlaceholders.back().fBlocksBefore.end + 1, in addPlaceholder() 142 TextRange textBefore(fPlaceholders.empty() ? 0 : fPlaceholders.back().fRange.end, in addPlaceholder() 156 if (fStyledBlocks.empty()) { in endRunIfNeeded()
|
/third_party/skia/modules/skottie/utils/ |
H A D | SkottieUtils.cpp | 19 if (!key.empty()) { 27 if (!key.empty()) { 35 if (!key.empty()) { 43 if (!key.empty()) { 53 fMgr->fCurrentNode.empty() ? node_name : fMgr->fCurrentNode + "." + node_name; 117 SkASSERT(!prop_list.second.empty()); in getProps()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 119 if (candidate_instructions.empty()) { in Apply() 155 if (!candidate_instructions.empty()) { in Apply() 210 if (!integer_instructions.empty()) { in Apply() 263 if (!boolean_instructions.empty()) { in Apply() 279 if (!integer_instructions.empty()) { in Apply() 295 } while (!candidate_opcodes.empty()); in Apply()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | string_utils_unittest.cpp | 26 EXPECT_TRUE(r.empty()); in TEST() 37 ASSERT_TRUE(str.empty()); in TEST() 67 EXPECT_TRUE(r.empty()); in TEST() 69 EXPECT_TRUE(r.empty()); in TEST() 76 EXPECT_TRUE(r.empty()); in TEST() 93 ASSERT_TRUE(r.empty()); in TEST() 128 // Non-empty output std::vector. in TEST() 145 // Tests with empty strings in TEST()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | FramebufferAttachment.cpp | 145 return getSize().empty() ? 0 : getFormat().info->redBits; in getRedSize() 150 return getSize().empty() ? 0 : getFormat().info->greenBits; in getGreenSize() 155 return getSize().empty() ? 0 : getFormat().info->blueBits; in getBlueSize() 160 return getSize().empty() ? 0 : getFormat().info->alphaBits; in getAlphaSize() 165 return getSize().empty() ? 0 : getFormat().info->depthBits; in getDepthSize() 170 return getSize().empty() ? 0 : getFormat().info->stencilBits; in getStencilSize()
|
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | initializer-entry-defined-twice.c | 33 struct empty { }; struct 36 struct empty field1;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
H A D | ThinLTOCodeGenerator.cpp | 90 if (TempDir.empty()) in saveTempBitcode() 321 if (CachePath.empty()) in ModuleCacheEntry() 355 if (EntryPath.empty()) in tryLoadingBuffer() 370 if (EntryPath.empty()) in write() 425 if (!ExportList.empty() || !GUIDPreservedSymbols.empty()) { in ProcessThinLTOModule() 495 if (TMBuilder.MCpu.empty() && TheTriple.isOSDarwin()) { in initTMBuilder() 520 if (Modules.empty()) in addModule() 817 if (ExportList.empty() && GUIDPreservedSymbols.empty()) in internalize() [all...] |
H A D | LTOBackend.cpp | 161 if (!Conf.SampleProfile.empty()) in runNewPMPasses() 167 } else if (!Conf.CSIRProfile.empty()) { in runNewPMPasses() 237 if (!AAPipelineDesc.empty()) in runNewPMCustomPasses() 292 if (!Conf.RunCSIRInstr && !Conf.CSIRProfile.empty()) { in runOldPMPasses() 307 if (!Conf.OptPipeline.empty()) in opt() 344 if (!Conf.DwoDir.empty()) { in codegen() 356 if (!DwoFile.empty()) { in codegen() 424 if (!C.OverrideTriple.empty()) in initAndLookupTarget() 426 else if (Mod.getTargetTriple().empty()) in initAndLookupTarget() 538 if (!DefinedGlobals.empty()) in thinBackend() [all...] |
/third_party/libabigail/tools/ |
H A D | abidw.cc | 253 if (opts.in_file_path.empty()) in parse_command_line() 298 || !opts.out_file_path.empty()) in parse_command_line() 372 || !opts.in_file_path.empty()) in parse_command_line() 613 if (!alt_di_path.empty()) in load_corpus_and_write_abixml() 660 if (opts.di_root_paths.empty()) in load_corpus_and_write_abixml() 729 && !opts.type_id_file_path.empty()) in load_corpus_and_write_abixml() 774 && !opts.type_id_file_path.empty()) in load_corpus_and_write_abixml() 781 if (!opts.out_file_path.empty()) in load_corpus_and_write_abixml() 836 if (!opts.vmlinux.empty()) in load_kernel_corpus_group_and_write_abixml() 883 if (!opts.out_file_path.empty()) in load_kernel_corpus_group_and_write_abixml() [all...] |
/third_party/libabigail/src/ |
H A D | abg-ini.cc | 179 if (str.empty()) in trim_white_space() 415 if (priv_->representation_.empty()) in as_string() 501 if (priv_->string_rep_.empty()) in as_string() 574 /// This one constructs a property with an empty value. 596 /// Test if the property has an empty value. 598 /// An empty value is either no value at all or an empty string value. 600 /// @return true iff the property has an empty value. 606 return priv_->value_->as_string().empty(); in has_empty_value() 906 if (!buf_.empty()) in peek() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopDistribute.cpp | 148 bool empty() const { return Set.empty(); } in empty() function in __anon25132::InstPartition 150 /// Moves this partition into \p Other. This partition becomes empty 162 // blocks (possibly empty at the end) and let simplifycfg mostly clean this in populateUsedSet() 170 while (!Worklist.empty()) { in populateUsedSet() 223 if (!VMap.empty()) in removeUnusedInsts() 268 /// partition is mapped to the original loop, this is empty. 293 if (PartitionContainer.empty() || !PartitionContainer.back().hasDepCycle()) in addToCyclicPartition() 391 if (ToBeMerged.empty()) in mergeToAvoidDuplicatedLoads() 395 // makes the members empty in mergeToAvoidDuplicatedLoads() [all...] |
/third_party/vixl/src/ |
H A D | invalset-vixl.h | 121 // Note that this does not mean the backing storage is empty: it can still 123 bool empty() const; 381 SetSorted(empty() || (sorted_ && (element > CleanBack()))); in insert() 430 if (empty()) { in Search() 453 bool InvalSet<TEMPLATE_INVALSET_P_DEF>::empty() const { in empty() function in vixl::InvalSet 473 VIXL_ASSERT(!empty()); in GetMinElement() 516 if (sorted_ && !empty()) { in EraseInternal() 536 VIXL_ASSERT(!empty()); in BinarySearch() 579 if (empty()) { 596 if (empty() || !IsUsingVecto [all...] |
/third_party/node/deps/v8/src/heap/ |
H A D | slot-set.h | 26 // Possibly empty buckets (buckets that do not contain any slots) are discovered 27 // by the scavenger. Buckets might become non-empty when promoting objects later 29 // Track possibly empty buckets within a SlotSet in this data structure. The 136 FREE_EMPTY_BUCKETS, // An empty bucket will be deallocated immediately. 137 KEEP_EMPTY_BUCKETS // An empty bucket will be kept. 343 // Releases memory for empty buckets with FREE_EMPTY_BUCKETS. 355 // Similar to Iterate but marks potentially empty buckets internally. Stores 356 // true in empty_bucket_found in case a potentially empty bucket was found. 357 // Assumes that the possibly empty-array was already cleared by 370 bool empty in FreeEmptyBuckets() local 384 bool empty = true; CheckPossiblyEmptyBuckets() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
H A D | HotColdSplitting.cpp | 99 if (BB.empty()) in blockEndsInUnreachable() 291 if (!SuccsOutsideRegion.empty()) { in getOutliningPenalty() 304 assert(!Region.empty()); in extractColdRegion() 498 bool empty() const { return !SuggestedEntryPoint; } in empty() function in __anon25026::OutliningRegion 508 assert(!empty() && !isEntireFunctionCold() && "Nothing to extract"); in takeSingleEntrySubRegion() 592 if (Region.empty()) in outlineColdRegions() 616 if (OutliningWorklist.empty()) in outlineColdRegions() 625 assert(!Region.empty() && "Empty outlining region in worklist"); in outlineColdRegions() 640 } while (!Region.empty()); in outlineColdRegions() 641 } while (!OutliningWorklist.empty()); in outlineColdRegions() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Graph.h | 194 if (!FreeNodeIds.empty()) { 209 if (!FreeEdgeIds.empty()) { 291 bool empty() const { return G.Nodes.empty(); } 308 bool empty() const { return G.Edges.empty(); } 330 bool empty() const { return NE.getAdjEdgeIds().empty(); } 340 /// Construct an empty PBQP graph. 343 /// Construct an empty PBQ 447 bool empty() const { return NodeIdSet(*this).empty(); } empty() function in llvm::PBQP::Graph [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsStateChangePerfTestCases.cpp | 488 if (!m_indexBuffers.empty()) in deinit() 494 if (!m_coordBuffers.empty()) in deinit() 500 if (!m_textures.empty()) in deinit() 506 if (!m_framebuffers.empty()) in deinit() 512 if (!m_renderbuffers.empty()) in deinit() 518 if (!m_samplers.empty()) in deinit() 524 if (!m_vertexArrays.empty()) in deinit() 566 if (m_interleavedResults.empty() && m_batchedResults.empty()) in iterate() 712 if (m_results.empty()) in iterate() [all...] |
/kernel/linux/linux-5.10/fs/quota/ |
H A D | quota_v2.c | 222 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local 234 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb() 235 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb() 236 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb() 275 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local 287 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb() 288 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb() 289 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | quota_v2.c | 222 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() local 234 memset(&empty, 0, sizeof(struct v2r0_disk_dqblk)); in v2r0_disk2memdqb() 235 empty.dqb_itime = cpu_to_le64(1); in v2r0_disk2memdqb() 236 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb() 275 struct v2r1_disk_dqblk *d = dp, empty; in v2r1_disk2memdqb() local 287 memset(&empty, 0, sizeof(struct v2r1_disk_dqblk)); in v2r1_disk2memdqb() 288 empty.dqb_itime = cpu_to_le64(1); in v2r1_disk2memdqb() 289 if (!memcmp(&empty, dp, sizeof(struct v2r1_disk_dqblk))) in v2r1_disk2memdqb()
|
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | nnrt_utils.cpp | 25 uint32_t* data = (vector.empty()) ? nullptr : const_cast<uint32_t*>(vector.data()); in TransformUInt32Array() 178 if (!compileParam.cacheDir.empty()) { in CompileGraphMock() 325 if (path.empty()) { in CheckPath() 345 if (path.empty()) { in DeleteFile() 372 if (str2.empty()) { in ConcatPath() 375 if (str1.empty()) { in ConcatPath() 389 if (path.empty()) { in DeleteFolder() 425 if (path.empty()) { in CreateFolder() 426 LOGI("CreateFolder: path is empty"); in CreateFolder()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | nnrt_utils.cpp | 25 uint32_t* data = (vector.empty()) ? nullptr : const_cast<uint32_t*>(vector.data()); in TransformUInt32Array() 178 if (!compileParam.cacheDir.empty()) { in CompileGraphMock() 325 if (path.empty()) { in CheckPath() 345 if (path.empty()) { in DeleteFile() 372 if (str2.empty()) { in ConcatPath() 375 if (str1.empty()) { in ConcatPath() 389 if (path.empty()) { in DeleteFolder() 425 if (path.empty()) { in CreateFolder() 426 LOGI("CreateFolder: path is empty"); in CreateFolder()
|
/third_party/gn/src/gn/ |
H A D | builder_unittest.cc | 37 bool HasLoadedNone() const { return files_.empty(); } in HasLoadedNone() 40 // file(s). This will clear the records so it will be empty for the next call. 137 EXPECT_TRUE(b_record->all_deps().empty()); in TEST_F() 180 EXPECT_TRUE(a_record->GetSortedUnresolvedDeps().empty()); in TEST_F() 181 EXPECT_TRUE(b_record->GetSortedUnresolvedDeps().empty()); in TEST_F() 182 EXPECT_TRUE(c_record->GetSortedUnresolvedDeps().empty()); in TEST_F() 184 EXPECT_TRUE(a_record->waiting_on_resolution().empty()); in TEST_F() 185 EXPECT_TRUE(b_record->waiting_on_resolution().empty()); in TEST_F() 186 EXPECT_TRUE(c_record->waiting_on_resolution().empty()); in TEST_F()
|
/third_party/backends/testsuite/backend/genesys/ |
H A D | session_config_test.cpp | 238 if (iface.recorded_key_values().empty()) { in print_checkpoint() 366 if (!exception_output.empty()) { in perform_single_test() 376 bool has_output = !output_directory.empty(); in perform_single_test() 385 if (expected_output.empty()) { in perform_single_test() 479 } else if (check_directory.empty()) { in main() 481 } else if (output_directory.empty()) { in main() 495 if (check_directory.empty()) { in main() 504 if (!test_name_filter.empty() && config.name() != test_name_filter) { in main()
|