Lines Matching refs:__comp

31                          _RandomAccessIterator __m, _Compare __comp)  in __nth_element_find_guard()  argument
38 if (__comp(*__j, *__m)) { in __nth_element_find_guard()
46 …AccessIterator __first, _RandomAccessIterator __nth, _RandomAccessIterator __last, _Compare __comp) in __nth_element() argument
64 if (__comp(*--__last, *__first)) in __nth_element()
70 std::__sort3<_AlgPolicy, _Compare>(__first, ++__m, --__last, __comp); in __nth_element()
76 std::__selection_sort<_AlgPolicy, _Compare>(__first, __last, __comp); in __nth_element()
82 unsigned __n_swaps = std::__sort3<_AlgPolicy, _Compare>(__first, __m, --__lm1, __comp); in __nth_element()
91 if (!__comp(*__i, *__m)) // if *__first == *__m in __nth_element()
94 if (_VSTD::__nth_element_find_guard<_Compare>(__i, __j, __m, __comp)) { in __nth_element()
102 if (!__comp(*__first, *--__j)) { // we need a guard if *__first == *(__last-1) in __nth_element()
106 } else if (__comp(*__first, *__i)) { in __nth_element()
120 while (!__comp(*__first, *__i)) in __nth_element()
122 while (__comp(*__first, *--__j)) in __nth_element()
150 while (__comp(*__i, *__m)) in __nth_element()
153 while (!__comp(*--__j, *__m)) in __nth_element()
167 if (__i != __m && __comp(*__m, *__i)) in __nth_element()
187 if (__comp(*__j, *__m)) { in __nth_element()
203 if (__comp(*__j, *__m)) { in __nth_element()
228 _Compare& __comp) { in __nth_element_impl() argument
235 std::__nth_element<_AlgPolicy, _Comp_ref>(__first, __nth, __last, __comp); in __nth_element_impl()
246 _Compare __comp) { in nth_element() argument
247 …h_element_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__nth), std::move(__last), __comp); in nth_element()