Home
last modified time | relevance | path

Searched refs:iter_swap (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Diter_swap.h41 void iter_swap(_I1, _I2) = delete;
47 iter_swap(std::forward<_T1>(__x), std::forward<_T2>(__y)); in requires()
60 noexcept(noexcept(iter_swap(std::forward<_T1>(__x), std::forward<_T2>(__y)))) { in operator()
61 (void)iter_swap(std::forward<_T1>(__x), std::forward<_T2>(__y)); in operator()
89 inline constexpr auto iter_swap = __iter_swap::__fn{};
96 ranges::iter_swap(__i1, __i1); in requires()
97 ranges::iter_swap(__i2, __i2); in requires()
98 ranges::iter_swap(__i1, __i2); in requires()
99 ranges::iter_swap(__i2, __i1); in requires()
H A Diterator_with_data.h18 #include <__iterator/iter_swap.h>
91 iter_swap(const __iterator_with_data& __lhs, in iter_swap()
92 const __iterator_with_data& __rhs) noexcept(noexcept(ranges::iter_swap(__lhs.__iter_, __rhs.__iter_))) in iter_swap()
95 return ranges::iter_swap(__lhs.__data_, __rhs.__iter_);
88 iter_swap(const __iterator_with_data& __lhs, iter_swap() function
H A Dcounted_iterator.h262 iter_swap(const counted_iterator& __x,
263 …const counted_iterator<_I2>& __y) noexcept(noexcept(ranges::iter_swap(__x.__current_, __y.__curren…
266 return ranges::iter_swap(__x.__current_, __y.__current_);
H A Dmove_iterator.h239 iter_swap(const move_iterator& __x,
240 …const move_iterator<_It2>& __y) noexcept(noexcept(ranges::iter_swap(__x.__current_, __y.__current_…
241 return ranges::iter_swap(__x.__current_, __y.__current_);
H A Dcommon_iterator.h249 iter_swap(const common_iterator& __x, const common_iterator<_I2, _S2>& __y) noexcept( in iter_swap() function
250 noexcept(ranges::iter_swap(std::declval<const _Iter&>(), std::declval<const _I2&>()))) { in iter_swap()
255 …return ranges::iter_swap(std::__unchecked_get<_Iter>(__x.__hold_), std::__unchecked_get<_I2>(__y._… in iter_swap()
H A Dreverse_iterator.h194 iter_swap(const reverse_iterator& __x, const reverse_iterator<_Iter2>& __y) noexcept( in iter_swap() function
196 noexcept(ranges::iter_swap(--std::declval<_Iter&>(), --std::declval<_Iter2&>()))) { in iter_swap()
199 ranges::iter_swap(--__xtmp, --__ytmp); in iter_swap()
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dnth_element.h65 _Ops::iter_swap(__first, __last); in __nth_element()
93 _Ops::iter_swap(__i, __j); in __nth_element()
105 _Ops::iter_swap(__i, __j); in __nth_element()
132 _Ops::iter_swap(__i, __j); in __nth_element()
169 _Ops::iter_swap(__i, __j); in __nth_element()
180 _Ops::iter_swap(__i, __m); in __nth_element()
H A Dsort.h60 _Ops::iter_swap(__y, __z); // x <= z && y < z in __sort3()
64 _Ops::iter_swap(__x, __y); // x < y && y <= z in __sort3()
71 _Ops::iter_swap(__x, __z); // x < y && y < z in __sort3()
75 _Ops::iter_swap(__x, __y); // x > y && y <= z in __sort3()
79 _Ops::iter_swap(__y, __z); // x <= y && y < z in __sort3()
93 _Ops::iter_swap(__x3, __x4); in __sort4()
95 _Ops::iter_swap(__x2, __x3); in __sort4()
97 _Ops::iter_swap(__x1, __x2); in __sort4()
117 _Ops::iter_swap(__x4, __x5); in __sort5()
119 _Ops::iter_swap(__x3, __x4); in __sort5()
[all …]
H A Dstable_partition.h51 _Ops::iter_swap(__first, __m); in __stable_partition_impl()
162 _Ops::iter_swap(__first, __last); in __stable_partition_impl()
168 _Ops::iter_swap(__first, __m); in __stable_partition_impl()
169 _Ops::iter_swap(__m, __last); in __stable_partition_impl()
172 _Ops::iter_swap(__m, __last); in __stable_partition_impl()
173 _Ops::iter_swap(__first, __m); in __stable_partition_impl()
H A Diterator_operations.h62 static constexpr auto iter_swap = ranges::iter_swap;
137 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 static void iter_swap(_Iter1&& __a, _Iter2&& _…
138 std::iter_swap(std::forward<_Iter1>(__a), std::forward<_Iter2>(__b));
H A Dranges_reverse.h43 ranges::iter_swap(__first, __end); in operator()
55 ranges::iter_swap(__first, __end); in operator()
H A Dreverse.h12 #include <__algorithm/iter_swap.h>
33 _IterOps<_AlgPolicy>::iter_swap(__first, __last); in __reverse_impl()
43 _IterOps<_AlgPolicy>::iter_swap(__first, __last); in __reverse_impl()
H A Dswap_ranges.h31 _IterOps<_AlgPolicy>::iter_swap(__first1, __first2); in __swap_ranges()
44 _IterOps<_AlgPolicy>::iter_swap(__first1, __first2); in __swap_ranges()
H A Dpartition.h41 _IterOps<_AlgPolicy>::iter_swap(__first, __p); in __partition_impl()
66 _IterOps<_AlgPolicy>::iter_swap(__first, __last); in __partition_impl()
H A Diter_swap.h23 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b) in iter_swap() function
H A Drotate.h61 _IterOps<_AlgPolicy>::iter_swap(__first, __i); in __rotate_forward()
72 _IterOps<_AlgPolicy>::iter_swap(__first, __i); in __rotate_forward()
H A Dprev_permutation.h46 _IterOps<_AlgPolicy>::iter_swap(__i, __j); in __prev_permutation()
H A Dnext_permutation.h46 _IterOps<_AlgPolicy>::iter_swap(__i, __j); in __next_permutation()
H A Dpartial_sort.h47 _IterOps<_AlgPolicy>::iter_swap(__i, __first); in __partial_sort_impl()
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dfilter_view.h25 #include <__iterator/iter_swap.h>
203 iter_swap(__iterator const& __x,
204 __iterator const& __y) noexcept(noexcept(ranges::iter_swap(__x.__current_, __y.__current_)))
207 return ranges::iter_swap(__x.__current_, __y.__current_);
H A Djoin_view.h21 #include <__iterator/iter_swap.h>
347 iter_swap(const __iterator& __x,
348 const __iterator& __y) noexcept(noexcept(ranges::iter_swap(*__x.__inner_, *__y.__inner_)))
351 return ranges::iter_swap(*__x.__inner_, *__y.__inner_);
H A Dlazy_split_view.h392 _LIBCPP_HIDE_FROM_ABI friend constexpr void iter_swap(
394 …const __inner_iterator& __y) noexcept(noexcept(ranges::iter_swap(__x.__outer_current(), __y.__oute…
397 ranges::iter_swap(__x.__outer_current(), __y.__outer_current());
H A Dzip_view.h416 …_LIBCPP_HIDE_FROM_ABI friend constexpr void iter_swap(const __iterator& __l, const __iterator& __r…
417 (noexcept(ranges::iter_swap(std::declval<const iterator_t<__maybe_const<_Const, _Views>>&>(),
422 ranges::__tuple_zip_for_each(ranges::iter_swap, __l.__current_, __r.__current_);
/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DScheduler.cpp148 std::iter_swap(I, E - PromotedElements); in promoteToReadySet()
185 std::iter_swap(I, E - RemovedElements); in promoteToPendingSet()
237 std::iter_swap(I, E - RemovedElements); in updateIssuedSet()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Diterator.cppm

12