Home
last modified time | relevance | path

Searched refs:stable_partition (Results 1 – 25 of 49) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dstable_partition.pass.cpp55 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
84 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
97 r = std::stable_partition(Iter(array), Iter(array), odd_first()); in test()
100 r = std::stable_partition(Iter(array), Iter(array+1), odd_first()); in test()
104 r = std::stable_partition(Iter(array+4), Iter(array+5), odd_first()); in test()
124 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
153 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
182 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
211 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
240 Iter r = std::stable_partition(Iter(array), Iter(array+size), odd_first()); in test()
[all …]
H A Dranges_stable_partition.pass.cpp41 …std::ranges::stable_partition(std::forward<Iter>(iter), std::forward<Sent>(sent), std::forward<Pre…
68 std::ranges::stable_partition(std::forward<Range>(range), std::forward<Pred>(pred));
97 …std::same_as<std::ranges::subrange<Iter>> decltype(auto) result = std::ranges::stable_partition(b,… in test_one()
113 …std::same_as<std::ranges::subrange<Iter>> decltype(auto) result = std::ranges::stable_partition(ra… in test_one()
198 std::ranges::stable_partition(in.begin(), in.end(), is_odd); in test()
204 std::ranges::stable_partition(in, is_odd); in test()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dptr-sort.cpp20 std::stable_partition(V1.begin(), V1.end(), g); // no-warning in PointerSorting()
34 …std::stable_partition(V2.begin(), V2.end(), g); // expected-warning {{Sorting pointer-like element… in PointerSorting()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dpartition.pass.cpp113 BiDirIt exp_ret = std::stable_partition(exp_first, exp_last, unary_op); in operator ()()
115 BiDirIt actual_ret = std::stable_partition(exec, first, last, unary_op); in operator ()()
158 stable_partition(exec, iter, iter, non_const(is_even)); in operator ()()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_adl_on_new.pass.cpp32 std::stable_partition(a, a+4, A::isEven); in main()
H A Dranges_robust_against_nonbool_predicates.pass.cpp130 test(std::ranges::stable_partition, in, unary_pred); in test_all()
H A Dranges_robust_against_proxy_iterators.pass.cpp159 test(std::ranges::stable_partition, in, unary_pred); in run_tests()
H A Dranges_robust_against_dangling.pass.cpp192 dangling_1st(std::ranges::stable_partition, in, unary_pred); in test_all()
H A Dranges_robust_against_omitting_invoke.pass.cpp159 test(std::ranges::stable_partition, in, &Foo::unary_pred, &Bar::val); in test_all()
H A Drobust_re_difference_type.compile.pass.cpp237 if (!TEST_IS_CONSTANT_EVALUATED) (void)std::stable_partition(first, last, UnaryTrue()); in all_the_algorithms()
/llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/
H A Dstable_partition.pass.cpp25 auto iter = std::stable_partition(working.begin(), working.end(), is_even); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObject.cpp81 auto It = std::stable_partition( in removeLoadCommands()
95 auto It = std::stable_partition( in removeSections()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dranges_stable_partition.h80 inline constexpr auto stable_partition = __stable_partition::__fn{};
H A Dstable_partition.h315 stable_partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) in stable_partition() function
/llvm-project-15.0.7/pstl/
H A DREADME.md25 `sort`, `stable_partition`, `stable_sort`, `unique`.
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Dranges_robust_against_copying_comparators.pass.cpp214 …if (!std::is_constant_evaluated()) { (void)std::ranges::stable_partition(first, last, UnaryTrue(&c… in all_the_algorithms()
215 …if (!std::is_constant_evaluated()) { (void)std::ranges::stable_partition(a, UnaryTrue(&copies)); a… in all_the_algorithms()
H A Dranges_robust_against_copying_projections.pass.cpp205 …if (!std::is_constant_evaluated()) { (void)std::ranges::stable_partition(first, last, UnaryTrue(),… in all_the_algorithms()
206 …if (!std::is_constant_evaluated()) { (void)std::ranges::stable_partition(a, UnaryTrue(), Proj(&cop… in all_the_algorithms()
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp212 (void) std::stable_partition(it, it, pred); in test()
H A Drobust_against_copying_comparators.pass.cpp197 …if (!TEST_IS_CONSTANT_EVALUATED) { (void)std::stable_partition(first, last, UnaryTrue<T>(&copies))… in all_the_algorithms()
/llvm-project-15.0.7/lld/COFF/
H A DICF.cpp110 auto bound = std::stable_partition( in segregate()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DFoldUtils.cpp237 auto *newConstantIt = std::stable_partition( in tryToFold()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DClustering.cpp303 const auto it = std::stable_partition( in stabilize()
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp142 static_assert(test(std::ranges::stable_partition, a, odd));
/llvm-project-15.0.7/lld/MachO/
H A DICF.cpp349 auto bound = std::stable_partition( in segregate()
/llvm-project-15.0.7/lld/ELF/
H A DICF.cpp212 std::stable_partition(sections.begin() + begin + 1, in segregate()

12