Home
last modified time | relevance | path

Searched refs:partial_sort_copy (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/
H A Dranges_partial_sort_copy.pass.cpp51 std::ranges::partial_sort_copy(std::forward<Iter1>(first1), std::forward<Sent1>(last1),
97 std::ranges::partial_sort_copy(std::forward<Range1>(range1), std::forward<Range2>(range2),
143 std::same_as<ResultT> decltype(auto) result = std::ranges::partial_sort_copy( in test_one()
160 … std::same_as<ResultT> decltype(auto) result = std::ranges::partial_sort_copy(in_range, out_range); in test_one()
248 … auto result = std::ranges::partial_sort_copy(in.begin(), in.end(), out.begin(), out.end(), comp); in test()
255 auto result = std::ranges::partial_sort_copy(in, out, comp); in test()
279 … auto result = std::ranges::partial_sort_copy(in.begin(), in.end(), out.begin(), out.end(), {}); in test()
282 …result = std::ranges::partial_sort_copy(in.begin(), in.end(), out.begin(), out.end(), {}, proj1, p… in test()
289 auto result = std::ranges::partial_sort_copy(in, out, {}); in test()
291 result = std::ranges::partial_sort_copy(in, out, {}, proj1, proj2); in test()
H A Dpartial_sort_copy.pass.cpp33 … OutIter it = std::partial_sort_copy(Iter(orig), Iter(orig+n), OutIter(work), OutIter(work+m)); in test()
55 std::partial_sort_copy(Iter(input), Iter(input + 5), OutIter(output), OutIter(output + 3)); in test()
67 std::partial_sort_copy(&i, &i, &j, &j); // no-op in main()
H A Dpartial_sort_copy_comp.pass.cpp36 …OutIter it = std::partial_sort_copy(Iter(orig), Iter(orig+n), OutIter(work), OutIter(work+m), std:… in test()
58 …std::partial_sort_copy(Iter(input), Iter(input + 5), OutIter(output), OutIter(output + 3), std::gr… in test()
70 std::partial_sort_copy(&i, &i, &j, &j, std::greater<int>()); // no-op in main()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dpartial_sort_copy.h65 partial_sort_copy(_InputIterator __first, _InputIterator __last, in partial_sort_copy() function
80 partial_sort_copy(_InputIterator __first, _InputIterator __last, in partial_sort_copy() function
83 return _VSTD::partial_sort_copy(__first, __last, __result_first, __result_last, in partial_sort_copy()
H A Dranges_partial_sort_copy.h83 inline constexpr auto partial_sort_copy = __partial_sort_copy::__fn{};
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.sorting/
H A Dpartial_sort_copy.pass.cpp95 … RandomAccessIterator exp = std::partial_sort_copy(first, last, exp_first, exp_last, compare); in operator ()()
96 … RandomAccessIterator res = std::partial_sort_copy(exec, first, last, d_first, d_last, compare); in operator ()()
107 RandomAccessIterator exp = std::partial_sort_copy(first, last, exp_first, exp_last); in operator ()()
108 RandomAccessIterator res = std::partial_sort_copy(exec, first, last, d_first, d_last); in operator ()()
176partial_sort_copy(exec, input_iter, input_iter, out_iter, out_iter, non_const(std::less<T>())); in operator ()()
/llvm-project-15.0.7/pstl/
H A DREADME.md24 …`partial_sort`, `partial_sort_copy`, `set_difference`, `set_intersection`, `set_symmetric_differen…
29 * For `max_element`, `min_element`, `minmax_element`, `partial_sort`, `partial_sort_copy`, `sort`, …
33 …`partial_sort`, `partial_sort_copy`, `partition_copy`, `remove`, `remove_if`, `rotate`, `sort`, `s…
/llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/
H A Dpartial_sort_copy.pass.cpp24 (void)std::partial_sort_copy(data + 1, data + size, results.begin(), results.end()); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Dranges_robust_against_dangling.pass.cpp164 dangling_1st<partial_sort_copy_result<dangling, int*>>(std::ranges::partial_sort_copy, in, in2); in test_all()
165 dangling_2nd<partial_sort_copy_result<int*, dangling>>(std::ranges::partial_sort_copy, in, in2); in test_all()
166 …dangling_both<partial_sort_copy_result<dangling, dangling>>(std::ranges::partial_sort_copy, in, in… in test_all()
H A Drobust_against_adl.compile.pass.cpp159 (void)std::partial_sort_copy(first, last, first2, mid2); in all_the_algorithms()
160 (void)std::partial_sort_copy(first, last, first2, mid2, std::less<void*>()); in all_the_algorithms()
H A Dranges_robust_against_differing_projections.pass.cpp67 test(std::ranges::partial_sort_copy, in, in2, less, proj1, proj2); in test_all()
H A Drobust_re_difference_type.compile.pass.cpp194 (void)std::partial_sort_copy(first, last, first2, mid2); in all_the_algorithms()
195 (void)std::partial_sort_copy(first, last, first2, mid2, std::less<void*>()); in all_the_algorithms()
H A Dranges_robust_against_nonbool_predicates.pass.cpp120 test(std::ranges::partial_sort_copy, in, in2, binary_pred); in test_all()
H A Dranges_robust_against_proxy_iterators.pass.cpp139 test(std::ranges::partial_sort_copy, in, in2); in run_tests()
H A Dranges_robust_against_omitting_invoke.pass.cpp145 test(std::ranges::partial_sort_copy, in, in2, &Foo::binary_pred, &Bar::val, &Bar::val); in test_all()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp162 (void) std::partial_sort_copy(it, it, it, it); in test()
163 (void) std::partial_sort_copy(it, it, it, it, pred); in test()
H A Dranges_robust_against_copying_comparators.pass.cpp176 …(void)std::ranges::partial_sort_copy(first, last, first2, mid2, Less(&copies)); assert(copies == 0… in all_the_algorithms()
177 (void)std::ranges::partial_sort_copy(a, b, Less(&copies)); assert(copies == 0); in all_the_algorithms()
H A Dranges_robust_against_copying_projections.pass.cpp159 …(void)std::ranges::partial_sort_copy(first, last, first2, mid2, Less(), Proj(&copies), Proj(&copie… in all_the_algorithms()
160 …(void)std::ranges::partial_sort_copy(a, b, Less(), Proj(&copies), Proj(&copies)); assert(copies ==… in all_the_algorithms()
H A Drobust_against_copying_comparators.pass.cpp175 (void)std::partial_sort_copy(first, last, first2, mid2, Less<T>(&copies)); assert(copies == 0); in all_the_algorithms()
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp113 static_assert(test(std::ranges::partial_sort_copy, a, a));
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dglue_algorithm_defs.h375 partial_sort_copy(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last,
380 partial_sort_copy(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last,
H A Dglue_algorithm_impl.h760 partial_sort_copy(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, in partial_sort_copy() function
771 partial_sort_copy(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, in partial_sort_copy() function
774 …return std::partial_sort_copy(std::forward<_ExecutionPolicy>(__exec), __first, __last, __d_first, … in partial_sort_copy()
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesAlgorithms.csv62 Write,partial_sort_copy,Konstantin Varlamov,`D130532 <https://llvm.org/D130532>`_,✅
/llvm-project-15.0.7/libcxx/include/
H A Dalgorithm455 partial_sort_copy(I1 first, S1 last, I2 result_first, S2 result_last,
465 partial_sort_copy(R1&& r, R2&& result_r, Comp comp = {},
1438 partial_sort_copy(InputIterator first, InputIterator last,
1443 partial_sort_copy(InputIterator first, InputIterator last,
1776 #include <__algorithm/partial_sort_copy.h>
H A DCMakeLists.txt64 __algorithm/partial_sort_copy.h

12