Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/
H A Dranges_sort_heap.pass.cpp78 std::same_as<Iter> decltype(auto) last = std::ranges::sort_heap(b, e); in test_one()
88 std::same_as<Iter> decltype(auto) last = std::ranges::sort_heap(range); in test_one()
132 auto last = std::ranges::sort_heap(in.begin(), in.end(), comp); in test()
139 auto last = std::ranges::sort_heap(in, comp); in test()
155 auto last = std::ranges::sort_heap(in.begin(), in.end(), {}, &A::a); in test()
161 auto last = std::ranges::sort_heap(in, {}, &A::a); in test()
181 auto last = std::ranges::sort_heap(in.begin(), in.end(), &A::comparator, &A::projection); in test()
187 auto last = std::ranges::sort_heap(in, &A::comparator, &A::projection); in test()
197 …auto last = std::ranges::sort_heap(in.begin(), in.end(), [](int i, int j) { return BooleanTestable… in test()
203 auto last = std::ranges::sort_heap(in, [](int i, int j) { return BooleanTestable{i < j}; }); in test()
[all …]
H A Dsort_heap.pass.cpp33 std::sort_heap(Iter(work), Iter(work+n)); in test()
42 std::sort_heap(Iter(input), Iter(input + 5)); in test()
H A Dsort_heap_comp.pass.cpp33 std::sort_heap(Iter(work), Iter(work+n), std::greater<T>()); in test()
42 std::sort_heap(Iter(input), Iter(input + 5), std::greater<T>()); in test()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dsort_heap.h40 void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { in sort_heap() function
49 void sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { in sort_heap() function
50 std::sort_heap(std::move(__first), std::move(__last), in sort_heap()
H A Dranges_sort_heap.h72 inline constexpr auto sort_heap = __sort_heap::__fn{};
/llvm-project-15.0.7/libcxx/benchmarks/algorithms/
H A Dranges_sort_heap.bench.cpp21 [](auto& Copy) { std::ranges::sort_heap(Copy); }); in run()
H A Dsort_heap.bench.cpp21 [](auto& Copy) { std::sort_heap(Copy.begin(), Copy.end()); }); in run()
H A Dranges_make_heap_then_sort_heap.bench.cpp22 std::ranges::sort_heap(Copy); in run()
H A Dmake_heap_then_sort_heap.bench.cpp22 std::sort_heap(Copy.begin(), Copy.end()); in run()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/alg.sorting/alg.heap.operations/sort.heap/
H A Dcomplexity.pass.cpp65 std::sort_heap(v.begin(), v.end()); in main()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp208 (void) std::sort_heap(it, it); in test()
209 (void) std::sort_heap(it, it, pred); in test()
H A Dranges_robust_against_copying_comparators.pass.cpp212 (void)std::ranges::sort_heap(first, last, Less(&copies)); assert(copies == 0); in all_the_algorithms()
213 (void)std::ranges::sort_heap(a, Less(&copies)); assert(copies == 0); in all_the_algorithms()
H A Dranges_robust_against_copying_projections.pass.cpp203 (void)std::ranges::sort_heap(first, last, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
204 (void)std::ranges::sort_heap(a, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
H A Drobust_against_copying_comparators.pass.cpp196 (void)std::sort_heap(first, last, Less<T>(&copies)); assert(copies == 0); in all_the_algorithms()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DQuality.h216 std::sort_heap(Heap.begin(), Heap.end(), Greater); in items()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_adl.compile.pass.cpp200 (void)std::sort_heap(first, last); in all_the_algorithms()
201 (void)std::sort_heap(first, last, std::less<void*>()); in all_the_algorithms()
H A Drobust_re_difference_type.compile.pass.cpp235 (void)std::sort_heap(first, last); in all_the_algorithms()
236 (void)std::sort_heap(first, last, std::less<void*>()); in all_the_algorithms()
H A Dranges_robust_against_nonbool_predicates.pass.cpp141 test(std::ranges::sort_heap, in, binary_pred); in test_all()
H A Dranges_robust_against_proxy_iterators.pass.cpp170 test(std::ranges::sort_heap, in); in run_tests()
H A Dranges_robust_against_dangling.pass.cpp203 dangling_1st(std::ranges::sort_heap, in); in test_all()
H A Dranges_robust_against_omitting_invoke.pass.cpp170 test(std::ranges::sort_heap, in, &Foo::binary_pred, &Bar::val); in test_all()
/llvm-project-15.0.7/libcxx/benchmarks/
H A DCMakeLists.txt175 algorithms/sort_heap.bench.cpp
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp141 static_assert(test(std::ranges::sort_heap, a));
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesAlgorithms.csv84 Permutation,sort_heap,Konstantin Varlamov,`D128115 <https://llvm.org/D128115>`_,✅
/llvm-project-15.0.7/libcxx/include/
H A Dalgorithm327 …ranges::sort_heap(I first, S last, Comp comp = {}, Proj proj = {}); // since C++…
332 …ranges::sort_heap(R&& r, Comp comp = {}, Proj proj = {}); // since C++…
1578 sort_heap(RandomAccessIterator first, RandomAccessIterator last);
1582 sort_heap(RandomAccessIterator first, RandomAccessIterator last, Compare comp);
1892 #include <__algorithm/sort_heap.h>

12