| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/ |
| H A D | push_heap.pass.cpp | 30 std::push_heap(Iter(work), Iter(work+i)); in test() 37 std::push_heap(Iter(input), Iter(input + 1)); assert(input[0] == 1); in test() 38 std::push_heap(Iter(input), Iter(input + 2)); assert(input[0] == 3); in test() 39 std::push_heap(Iter(input), Iter(input + 3)); assert(input[0] == 3); in test() 40 std::push_heap(Iter(input), Iter(input + 4)); assert(input[0] == 5); in test() 41 std::push_heap(Iter(input), Iter(input + 5)); assert(input[0] == 5); in test()
|
| H A D | push_heap_comp.pass.cpp | 30 std::push_heap(Iter(work), Iter(work+i), std::greater<T>()); in test() 37 std::push_heap(Iter(input), Iter(input + 1), std::greater<T>()); assert(input[0] == 5); in test() 38 std::push_heap(Iter(input), Iter(input + 2), std::greater<T>()); assert(input[0] == 3); in test() 39 std::push_heap(Iter(input), Iter(input + 3), std::greater<T>()); assert(input[0] == 3); in test() 40 std::push_heap(Iter(input), Iter(input + 4), std::greater<T>()); assert(input[0] == 1); in test() 41 std::push_heap(Iter(input), Iter(input + 5), std::greater<T>()); assert(input[0] == 1); in test()
|
| H A D | ranges_push_heap.pass.cpp | 80 std::same_as<Iter> decltype(auto) last = std::ranges::push_heap(b, e); in test_one() 90 std::same_as<Iter> decltype(auto) last = std::ranges::push_heap(range); in test_one() 137 auto last = std::ranges::push_heap(in.begin(), in.end(), std::ranges::greater{}); in test() 144 auto last = std::ranges::push_heap(in, std::ranges::greater{}); in test() 160 auto last = std::ranges::push_heap(in.begin(), in.end(), {}, &A::a); in test() 166 auto last = std::ranges::push_heap(in, {}, &A::a); in test() 186 auto last = std::ranges::push_heap(in.begin(), in.end(), &A::comparator, &A::projection); in test() 192 auto last = std::ranges::push_heap(in, &A::comparator, &A::projection); in test() 202 …auto last = std::ranges::push_heap(in.begin(), in.end(), [](int i, int j) { return BooleanTestable… in test() 208 auto last = std::ranges::push_heap(in, [](int i, int j) { return BooleanTestable{i < j}; }); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | push_heap.h | 62 void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, _Compare __comp) { in push_heap() function 71 void push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last) { in push_heap() function 72 std::push_heap(std::move(__first), std::move(__last), in push_heap()
|
| H A D | ranges_push_heap.h | 72 inline constexpr auto push_heap = __push_heap::__fn{};
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Quality.h | 203 std::push_heap(Heap.begin(), Heap.end(), Greater); in push() 207 std::push_heap(Heap.begin(), Heap.end(), Greater); in push()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/ |
| H A D | push_heap.pass.cpp | 32 std::push_heap(working.begin(), iter); in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/libcxx/benchmarks/algorithms/ |
| H A D | push_heap.bench.cpp | 22 std::push_heap(Copy.begin(), I + 1); in run()
|
| H A D | ranges_push_heap.bench.cpp | 22 std::ranges::push_heap(Copy.begin(), I + 1); in run()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineOrder.h | 129 std::push_heap(Heap.begin(), Heap.end(), isLess); in adjust() 149 std::push_heap(Heap.begin(), Heap.end(), isLess); in push()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/algorithms/ |
| H A D | robust_against_cpp20_hostile_iterators.compile.pass.cpp | 173 (void) std::push_heap(it, it); in test() 174 (void) std::push_heap(it, it, pred); in test()
|
| H A D | ranges_robust_against_copying_comparators.pass.cpp | 188 (void)std::ranges::push_heap(first, last, Less(&copies)); assert(copies == 0); in all_the_algorithms() 189 (void)std::ranges::push_heap(a, Less(&copies)); assert(copies == 0); in all_the_algorithms()
|
| H A D | ranges_robust_against_copying_projections.pass.cpp | 171 (void)std::ranges::push_heap(first, last, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 172 (void)std::ranges::push_heap(a, Less(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
|
| H A D | robust_against_copying_comparators.pass.cpp | 181 (void)std::push_heap(first, last, Less<T>(&copies)); assert(copies == 0); in all_the_algorithms()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | BackgroundQueue.cpp | 94 std::push_heap(Queue.begin(), Queue.end()); in push()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/ |
| H A D | robust_against_adl.compile.pass.cpp | 168 (void)std::push_heap(first, last); in all_the_algorithms() 169 (void)std::push_heap(first, last, std::less<void*>()); in all_the_algorithms()
|
| H A D | robust_re_difference_type.compile.pass.cpp | 203 (void)std::push_heap(first, last); in all_the_algorithms() 204 (void)std::push_heap(first, last, std::less<void*>()); in all_the_algorithms()
|
| H A D | ranges_robust_against_nonbool_predicates.pass.cpp | 139 test(std::ranges::push_heap, in, binary_pred); in test_all()
|
| H A D | ranges_robust_against_proxy_iterators.pass.cpp | 168 test(std::ranges::push_heap, in); in run_tests()
|
| H A D | ranges_robust_against_dangling.pass.cpp | 201 dangling_1st(std::ranges::push_heap, in); in test_all()
|
| H A D | ranges_robust_against_omitting_invoke.pass.cpp | 168 test(std::ranges::push_heap, in, &Foo::binary_pred, &Bar::val); in test_all()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | queue | 222 #include <__algorithm/push_heap.h> 895 _VSTD::push_heap(c.begin(), c.end(), comp); 906 _VSTD::push_heap(c.begin(), c.end(), comp); 916 _VSTD::push_heap(c.begin(), c.end(), comp);
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | CMakeLists.txt | 166 algorithms/push_heap.bench.cpp
|
| /llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/ |
| H A D | niebloid.compile.pass.cpp | 119 static_assert(test(std::ranges::push_heap, a));
|
| /llvm-project-15.0.7/libcxx/docs/Status/ |
| H A D | RangesAlgorithms.csv | 82 Permutation,push_heap,Konstantin Varlamov,`D128115 <https://llvm.org/D128115>`_,✅
|