| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/ |
| H A D | ranges.none_of.pass.cpp | 44 concept HasNoneOfItFunc = requires(int* ptr) { std::ranges::none_of(ptr, ptr, Func{}); }; 51 concept HasNoneOfR = requires(Range range) { std::ranges::none_of(range, UnaryFunctor{}); }; 85 assert(std::ranges::none_of(It(a.data()), Sent(It(a.data())), [](int) { return false; })); in test_iterators() 87 assert(std::ranges::none_of(range, [](int) { return false; })); in test_iterators() 97 assert(std::ranges::none_of(It(a.begin()), Sent(It(a.end())), pred, proj)); in test_iterators() 108 assert(std::ranges::none_of(range, pred, proj)); in test_iterators() 118 assert(std::ranges::none_of(range, [](int i) { return i > 5; })); in test_iterators() 125 assert(!std::ranges::none_of(range, [](int i) { return i < 5; })); in test_iterators() 132 assert(!std::ranges::none_of(range, [](int i) { return i > 5; })); in test_iterators() 147 assert(std::ranges::none_of(a, a + 3, [](int i) { return i != 1; }, &S::check)); in test() [all …]
|
| H A D | none_of.pass.cpp | 33 return !std::none_of(std::begin(ia), std::end(ia), test1()) in test_constexpr() 34 && std::none_of(std::begin(ib), std::end(ib), test1()) in test_constexpr() 44 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main() 46 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main() 52 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main() 54 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main() 60 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main() 62 assert(std::none_of(cpp17_input_iterator<const int*>(ia), in main()
|
| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.nonmodifying/ |
| H A D | none_of.pass.cpp | 37 auto actualr = std::none_of(exec, begin, end, pred); in operator ()() 83 none_of(exec, iter, iter, non_const(is_even)); in operator ()()
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | none_of.h | 23 none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in none_of() function
|
| H A D | ranges_none_of.h | 60 inline constexpr auto none_of = __none_of::__fn{};
|
| /llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/ |
| H A D | partition.pass.cpp | 25 if (!std::none_of(iter, working.end(), is_even)) in LLVMFuzzerTestOneInput()
|
| H A D | stable_partition.pass.cpp | 29 if (!std::none_of(iter, working.end(), is_even)) in LLVMFuzzerTestOneInput()
|
| H A D | partition_copy.pass.cpp | 37 if (!std::none_of(v2.begin(), v2.end(), is_even)) in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | IntegralLiteralExpressionMatcher.cpp | 29 return std::none_of(Begin + 2, End, [](char C) { in isIntegralConstant() 34 return std::none_of(Begin, End, [](char C) { in isIntegralConstant()
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestDiagnostics.cpp | 44 return llvm::none_of(filters, [&](StringRef filter) { in runOnOperation()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | partition_copy.pass.cpp | 40 && std::none_of(std::begin(r2), p.second, is_odd()) in test_constexpr()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ |
| H A D | remove.pass.cpp | 31 && std::none_of(std::begin(ia), it, [](int a) {return a == 5; }) in test_constexpr()
|
| H A D | remove_copy.pass.cpp | 30 && std::none_of(std::begin(ib), it, [](int a) {return a == 5;}) in test_constexpr()
|
| H A D | remove_copy_if.pass.cpp | 34 && std::none_of(std::begin(ib), it, equalToTwo) in test_constexpr()
|
| H A D | remove_if.pass.cpp | 35 && std::none_of(std::begin(ia), it, equal2) in test_constexpr()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | UseAnyOfAllOfCheck.cpp | 82 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/ |
| H A D | MultipleInheritanceCheck.cpp | 57 return llvm::none_of(Node->methods(), [](const CXXMethodDecl *M) { in isCurrentClassInterface()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/Utils/ |
| H A D | Utils.h | 47 if (llvm::none_of(op.getOperands(), [](Value operand) { in matchAndRewrite()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/ |
| H A D | ranges_generate_n.pass.cpp | 130 assert(std::ranges::none_of(std::ranges::subrange(result, in.end()), &AssignedOnce::assigned)); in test()
|
| /llvm-project-15.0.7/mlir/lib/Rewrite/ |
| H A D | FrozenRewritePatternSet.cpp | 88 llvm::none_of(pat->getDebugLabels(), isEnabledFn)) in FrozenRewritePatternSet()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | TypeUtilities.cpp | 124 if (llvm::none_of(shapedTypes, [](auto t) { return t; })) in verifyCompatibleShapes()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CallGraphUpdater.cpp | 154 if (llvm::none_of(*CallerNode, [&OldCS](const CallGraphNode::CallRecord &CR) { in replaceCallSite()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | LLVMIRIntrinsicGen.cpp | 156 return llvm::none_of( in hasSideEffects()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/ |
| H A D | ranges_uninitialized_move.pass.cpp | 250 assert(std::none_of(in + N, in + 5, [](const auto& e) { return e.moved_from; })); in main() 276 assert(std::none_of(in + N, in + 5, [](const auto& e) { return e.moved_from; })); in main()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | InferTypeOpInterface.cpp | 103 return llvm::none_of(stc->getDims(), ShapedType::isDynamic); in hasStaticShape()
|