Home
last modified time | relevance | path

Searched refs:move_backward (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/
H A Dranges.move_backward.pass.cpp74 std::ranges::move_backward(range, Out(out.data() + out.size())); in test()
138 std::ranges::move_backward(a, std::end(b)); in test()
146 std::ranges::move_backward(std::begin(a), std::end(a), std::end(b)); in test()
159 std::ranges::move_backward(proxyA, std::ranges::next(proxyB.begin(), std::end(proxyB))); in test()
179 std::ranges::move_backward(std::array {1, 2, 3, 4}, out.data() + out.size()); in test()
188 std::ranges::move_backward(std::views::all(in), out.data() + out.size()); in test()
208 auto ret = std::ranges::move_backward(in.begin(), in.end(), out.end()); in test()
216 auto ret = std::ranges::move_backward(in, out.end()); in test()
241 auto ret = std::ranges::move_backward(in, out.end()); in test()
254 auto ret = std::ranges::move_backward(in.begin(), in.end(), out.end()); in test()
[all …]
H A Dcontiguous_trivial_optimization.pass.cpp53 std::move_backward(ia, ia+4, ib+4); in test_trivial_moveassign_but_no_trivial_copyassign()
76 std::move_backward(ia, ia+4, ib+4); in test_trivial_copyassign_but_no_trivial_moveassign()
H A Dmove_backward.pass.cpp33 OutIter r = std::move_backward(InIter(ia), InIter(ia+N), OutIter(ib+N)); in test()
52 OutIter r = std::move_backward(InIter(ia), InIter(ia+N), OutIter(ib+N)); in test1()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.special/
H A Dmove_backward.pass.cpp55 assert(std::move_backward(c1.cbegin(), c1.cend(), c2.end()) == c2.begin()); in testN()
57 assert(std::move_backward(c2.cbegin(), c2.cend(), c1.end()) == c1.begin()); in testN()
59 assert(std::move_backward(c1.cbegin(), c1.cend(), RAI(c2.end())) == RAI(c2.begin())); in testN()
61 assert(std::move_backward(c2.cbegin(), c2.cend(), RAI(c1.end())) == RAI(c1.begin())); in testN()
63 assert(std::move_backward(RACI(c1.cbegin()), RACI(c1.cend()), c2.end()) == c2.begin()); in testN()
65 assert(std::move_backward(RACI(c2.cbegin()), RACI(c2.cend()), c1.end()) == c1.begin()); in testN()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dshift_right.h44 return _VSTD::move_backward(__first, __m, __last); in shift_right()
53 return _VSTD::move_backward(__first, __m, __last); in shift_right()
H A Dranges_move_backward.h68 inline constexpr auto move_backward = __move_backward::__fn{};
H A Dmove_backward.h81 move_backward(_BidirectionalIterator1 __first, _BidirectionalIterator1 __last, in move_backward() function
/llvm-project-15.0.7/libc/src/string/
H A Dmemmove.cpp41 return move_backward<AlignedMoveLoop>(dst, src, count); in inline_memmove()
/llvm-project-15.0.7/libcxx/test/support/
H A Dtest_constexpr_container.h43 std::move_backward(data_ + i, data_ + size_, data_ + size_ + 1); in insert()
/llvm-project-15.0.7/libc/src/string/memory_utils/
H A Delements.h48 void move_backward(char *dst, const char *src, size_t size) { in move_backward() function
49 Element::move_backward(dst, src, size); in move_backward()
386 static void move_backward(char *dst, const char *src, size_t size) {
536 static void move_backward(char *dst, const char *src, size_t size) {
543 NextT::move_backward(dst, src, size - headtail_size);
H A Dalgorithm.h260 static inline void move_backward(DstAddrT dst, SrcAddrT src, in move_backward() function
376 static inline void move_backward(DstAddrT dst, SrcAddrT src, in move_backward() function
384 NextT::move_backward(dst, src, runtime_size - aligned.size); in move_backward()
/llvm-project-15.0.7/libcxx/include/
H A Ddeque293 move_backward(_RAIter __f,
301 move_backward(__deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1> __f,
308 move_backward(__deque_iterator<_V1, _P1, _R1, _M1, _D1, _B1> __f,
562 move_backward(_RAIter __f,
854 // move_backward
859 move_backward(_RAIter __f,
879 _VSTD::move_backward(__m, __l, __re);
907 __r = _VSTD::move_backward(__lb, __le, __r);
935 __r = _VSTD::move_backward(__lb, __le, __r);
2793 __r = _VSTD::move_backward(__lb, __le, __r);
[all …]
H A D__split_buffer15 #include <__algorithm/move_backward.h>
491 __begin_ = _VSTD::move_backward(__begin_, __end_, __end_ + __d);
521 __begin_ = _VSTD::move_backward(__begin_, __end_, __end_ + __d);
H A D__bit_reference718 // move_backward
723 move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_it…
H A DCMakeLists.txt59 __algorithm/move_backward.h
H A Dalgorithm620 …ranges::move_backward(I1 first, S1 last, I2 result); // s…
625 …ranges::move_backward(R&& r, I result); // s…
1228 move_backward(BidirectionalIterator1 first, BidirectionalIterator1 last,
1771 #include <__algorithm/move_backward.h>
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DSmallVector.h777 std::move_backward(I, this->end()-1, this->end()); in insert_one_impl()
828 std::move_backward(I, OldEnd-NumToInsert, OldEnd); in insert()
897 std::move_backward(I, OldEnd-NumToInsert, OldEnd); in insert()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Dranges_robust_against_proxy_iterators.pass.cpp116 test(std::ranges::move_backward, in, out_end); in run_tests()
H A Drobust_against_adl.compile.pass.cpp149 (void)std::move_backward(first, last, last2); in all_the_algorithms()
H A Dranges_robust_against_dangling.pass.cpp138 dangling_1st<move_backward_result<dangling, int*>>(std::ranges::move_backward, in, output.end()); in test_all()
H A Drobust_re_difference_type.compile.pass.cpp186 (void)std::move_backward(first, last, last2); in all_the_algorithms()
H A Drobust_against_proxy_iterators_lifetime_bugs.pass.cpp708 test(simple_in, [&](I b, I e) { std::move_backward(b, e, out + N); }); in test()
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp155 (void) std::move_backward(it, it, it); in test()
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp108 static_assert(test(std::ranges::move_backward, a, a));
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesAlgorithms.csv44 Write,move_backward,Nikolas Klauser,`D126616 <https://llvm.org/D126616>`_,✅

12