Home
last modified time | relevance | path

Searched refs:none_of (Results 1 – 25 of 147) sorted by relevance

123456

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/
H A Dranges.none_of.pass.cpp44 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 Dnone_of.pass.cpp33 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 Dnone_of.pass.cpp37 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 Dnone_of.h23 none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in none_of() function
H A Dranges_none_of.h60 inline constexpr auto none_of = __none_of::__fn{};
/llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/
H A Dpartition.pass.cpp25 if (!std::none_of(iter, working.end(), is_even)) in LLVMFuzzerTestOneInput()
H A Dstable_partition.pass.cpp29 if (!std::none_of(iter, working.end(), is_even)) in LLVMFuzzerTestOneInput()
H A Dpartition_copy.pass.cpp37 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 DIntegralLiteralExpressionMatcher.cpp29 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 DTestDiagnostics.cpp44 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 Dpartition_copy.pass.cpp40 && 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 Dremove.pass.cpp31 && std::none_of(std::begin(ia), it, [](int a) {return a == 5; }) in test_constexpr()
H A Dremove_copy.pass.cpp30 && std::none_of(std::begin(ib), it, [](int a) {return a == 5;}) in test_constexpr()
H A Dremove_copy_if.pass.cpp34 && std::none_of(std::begin(ib), it, equalToTwo) in test_constexpr()
H A Dremove_if.pass.cpp35 && std::none_of(std::begin(ia), it, equal2) in test_constexpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DUseAnyOfAllOfCheck.cpp82 return llvm::none_of(Matches, [&Mutations](auto &DeclRef) { in isViableLoop()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/fuchsia/
H A DMultipleInheritanceCheck.cpp57 return llvm::none_of(Node->methods(), [](const CXXMethodDecl *M) { in isCurrentClassInterface()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/Utils/
H A DUtils.h47 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 Dranges_generate_n.pass.cpp130 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 DFrozenRewritePatternSet.cpp88 llvm::none_of(pat->getDebugLabels(), isEnabledFn)) in FrozenRewritePatternSet()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeUtilities.cpp124 if (llvm::none_of(shapedTypes, [](auto t) { return t; })) in verifyCompatibleShapes()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCallGraphUpdater.cpp154 if (llvm::none_of(*CallerNode, [&OldCS](const CallGraphNode::CallRecord &CR) { in replaceCallSite()
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DLLVMIRIntrinsicGen.cpp156 return llvm::none_of( in hasSideEffects()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
H A Dranges_uninitialized_move.pass.cpp250 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 DInferTypeOpInterface.cpp103 return llvm::none_of(stc->getDims(), ShapedType::isDynamic); in hasStaticShape()

123456