Lines Matching refs:__first

27 __partition_impl(_ForwardIterator __first, _Sentinel __last, _Predicate __pred, forward_iterator_ta…  in __partition_impl()  argument
31 if (__first == __last) in __partition_impl()
32 return std::make_pair(std::move(__first), std::move(__first)); in __partition_impl()
33 if (!__pred(*__first)) in __partition_impl()
35 ++__first; in __partition_impl()
38 _ForwardIterator __p = __first; in __partition_impl()
43 _IterOps<_AlgPolicy>::iter_swap(__first, __p); in __partition_impl()
44 ++__first; in __partition_impl()
47 return std::make_pair(std::move(__first), std::move(__p)); in __partition_impl()
52 __partition_impl(_BidirectionalIterator __first, _Sentinel __sentinel, _Predicate __pred, in __partition_impl() argument
55 _BidirectionalIterator __original_last = _IterOps<_AlgPolicy>::next(__first, __sentinel); in __partition_impl()
62 if (__first == __last) in __partition_impl()
63 return std::make_pair(std::move(__first), std::move(__original_last)); in __partition_impl()
64 if (!__pred(*__first)) in __partition_impl()
66 ++__first; in __partition_impl()
70 if (__first == --__last) in __partition_impl()
71 return std::make_pair(std::move(__first), std::move(__original_last)); in __partition_impl()
73 _IterOps<_AlgPolicy>::iter_swap(__first, __last); in __partition_impl()
74 ++__first; in __partition_impl()
81 … _ForwardIterator __first, _Sentinel __last, _Predicate&& __pred, _IterCategory __iter_category) { in __partition() argument
83 std::move(__first), std::move(__last), __pred, __iter_category); in __partition()
89 partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) in partition() argument
92 …auto __result = std::__partition<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __pred,… in partition()