Home
last modified time | relevance | path

Searched refs:__half_len (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dupper_bound.h38 auto __half_len = std::__half_positive(__len); in __upper_bound() local
39 auto __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __upper_bound()
41 __len = __half_len; in __upper_bound()
44 __len -= __half_len + 1; in __upper_bound()
H A Dranges_partition_point.h48 auto __half_len = std::__half_positive(__len); in __partition_point_fn_impl()
49 auto __mid = ranges::next(__first, __half_len); in __partition_point_fn_impl()
53 __len -= __half_len + 1; in __partition_point_fn_impl()
56 __len = __half_len; in __partition_point_fn_impl()
45 auto __half_len = std::__half_positive(__len); __partition_point_fn_impl() local
H A Dequal_range.h45 auto __half_len = std::__half_positive(__len); in __equal_range() local
46 _Iter __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __equal_range()
49 __len -= __half_len + 1; in __equal_range()
52 __len = __half_len; in __equal_range()
H A Dsort.h812 difference_type __half_len = __len / 2;
816 …std::__sort3<_AlgPolicy, _Compare>(__first, __first + __half_len, __last - difference_type(1), __c…
818 … __first + difference_type(1), __first + (__half_len - 1), __last - difference_type(2), __comp);
820 … __first + difference_type(2), __first + (__half_len + 1), __last - difference_type(3), __comp);
822 __first + (__half_len - 1), __first + __half_len, __first + (__half_len + 1), __comp);
823 _Ops::iter_swap(__first, __first + __half_len);
825 …std::__sort3<_AlgPolicy, _Compare>(__first + __half_len, __first, __last - difference_type(1), __c…