Home
last modified time | relevance | path

Searched refs:__last_iter (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dprev_permutation.h35 _BidirectionalIterator __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); in __prev_permutation()
36 _BidirectionalIterator __i = __last_iter; in __prev_permutation()
38 return _Result(std::move(__last_iter), false); in __prev_permutation()
43 _BidirectionalIterator __j = __last_iter; in __prev_permutation()
47 std::__reverse<_AlgPolicy>(__ip1, __last_iter); in __prev_permutation()
48 return _Result(std::move(__last_iter), true); in __prev_permutation()
51 std::__reverse<_AlgPolicy>(__first, __last_iter); in __prev_permutation()
52 return _Result(std::move(__last_iter), false); in __prev_permutation()
34 _BidirectionalIterator __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); __prev_permutation() local
H A Dnext_permutation.h35 _BidirectionalIterator __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); in __next_permutation()
36 _BidirectionalIterator __i = __last_iter; in __next_permutation()
38 return _Result(std::move(__last_iter), false); in __next_permutation()
43 _BidirectionalIterator __j = __last_iter; in __next_permutation()
47 std::__reverse<_AlgPolicy>(__ip1, __last_iter); in __next_permutation()
48 return _Result(std::move(__last_iter), true); in __next_permutation()
51 std::__reverse<_AlgPolicy>(__first, __last_iter); in __next_permutation()
52 return _Result(std::move(__last_iter), false); in __next_permutation()
33 _BidirectionalIterator __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); __next_permutation() local
H A Dranges_pop_heap.h49 auto __last_iter = ranges::next(__first, __last); in __pop_heap_fn_impl()
50 auto __len = __last_iter - __first; in __pop_heap_fn_impl()
53 std::__pop_heap<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp, __len); in __pop_heap_fn_impl()
55 return __last_iter;
46 auto __last_iter = ranges::next(__first, __last); __pop_heap_fn_impl() local
H A Drotate.h175 _Iterator __last_iter = _IterOps<_AlgPolicy>::next(__middle, __last); in __rotate() local
178 return _Ret(__last_iter, __last_iter); in __rotate()
180 return _Ret(std::move(__first), std::move(__last_iter)); in __rotate()
183 …td::__rotate_impl<_AlgPolicy>(std::move(__first), std::move(__middle), __last_iter, _IterCategory(… in __rotate()
185 return _Ret(std::move(__result), std::move(__last_iter)); in __rotate()
H A Dranges_make_heap.h49 auto __last_iter = ranges::next(__first, __last); in __make_heap_fn_impl()
52 std::__make_heap<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp); in __make_heap_fn_impl()
54 return __last_iter;
46 auto __last_iter = ranges::next(__first, __last); __make_heap_fn_impl() local
H A Dranges_push_heap.h49 auto __last_iter = ranges::next(__first, __last); in __push_heap_fn_impl()
52 std::__push_heap<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp); in __push_heap_fn_impl()
54 return __last_iter;
46 auto __last_iter = ranges::next(__first, __last); __push_heap_fn_impl() local
H A Dranges_sort.h48 auto __last_iter = ranges::next(__first, __last); in __sort_fn_impl()
51 std::__sort_impl<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp); in __sort_fn_impl()
53 return __last_iter;
45 auto __last_iter = ranges::next(__first, __last); __sort_fn_impl() local
H A Dranges_sort_heap.h49 auto __last_iter = ranges::next(__first, __last); in __sort_heap_fn_impl()
52 std::__sort_heap<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp); in __sort_heap_fn_impl()
54 return __last_iter;
46 auto __last_iter = ranges::next(__first, __last); __sort_heap_fn_impl() local
H A Dranges_stable_sort.h47 auto __last_iter = ranges::next(__first, __last); in __stable_sort_fn_impl()
50 std::__stable_sort_impl<_RangeAlgPolicy>(std::move(__first), __last_iter, __projected_comp); in __stable_sort_fn_impl()
52 return __last_iter;
44 auto __last_iter = ranges::next(__first, __last); __stable_sort_fn_impl() local
H A Dranges_stable_partition.h51 auto __last_iter = ranges::next(__first, __last); in __stable_partition_fn_impl()
55 std::move(__first), __last_iter, __projected_pred, __iterator_concept<_Iter>()); in __stable_partition_fn_impl()
57 return {std::move(__result), std::move(__last_iter)};
48 auto __last_iter = ranges::next(__first, __last); __stable_partition_fn_impl() local
H A Dranges_nth_element.h48 auto __last_iter = ranges::next(__first, __last); in __nth_element_fn_impl()
51 std::__nth_element_impl<_RangeAlgPolicy>(std::move(__first), std::move(__nth), __last_iter, __projected_comp); in __nth_element_fn_impl()
53 return __last_iter;
45 auto __last_iter = ranges::next(__first, __last); __nth_element_fn_impl() local
H A Dranges_inplace_merge.h48 auto __last_iter = ranges::next(__middle, __last); in __inplace_merge_impl()
50 std::move(__first), std::move(__middle), __last_iter, std::__make_projected(__comp, __proj));
51 return __last_iter;
45 auto __last_iter = ranges::next(__middle, __last); __inplace_merge_impl() local
H A Dcopy_backward.h40 auto __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); in operator() local
41 auto __original_last_iter = __last_iter; in operator()
43 while (__first != __last_iter) { in operator()
44 *--__result = *--__last_iter; in operator()
H A Dmove_backward.h40 auto __last_iter = _IterOps<_AlgPolicy>::next(__first, __last); in operator() local
41 auto __original_last_iter = __last_iter; in operator()
43 while (__first != __last_iter) { in operator()
44 *--__result = _IterOps<_AlgPolicy>::__iter_move(--__last_iter); in operator()
H A Dranges_is_heap.h43 auto __last_iter = ranges::next(__first, __last); in __is_heap_fn_impl() local
46 …auto __result = std::__is_heap_until(std::move(__first), std::move(__last_iter), __projected_comp); in __is_heap_fn_impl()
H A Dranges_is_heap_until.h44 auto __last_iter = ranges::next(__first, __last); in __is_heap_until_fn_impl() local
47 return std::__is_heap_until(std::move(__first), std::move(__last_iter), __projected_comp); in __is_heap_until_fn_impl()
H A Dpartial_sort.h64 auto __last_iter = in __partial_sort() local
69 return __last_iter; in __partial_sort()