Home
last modified time | relevance | path

Searched refs:__mid (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dshift_right.h81 _ForwardIterator __mid = __first; in shift_right()
84 __trail = std::move(__mid, __ret, __trail); in shift_right()
85 std::move(__first, __mid, __trail); in shift_right()
88 swap(*__mid, *__trail); in shift_right()
89 ++__mid; in shift_right()
92 if (__mid == __ret) { in shift_right()
93 __mid = __first; in shift_right()
79 _ForwardIterator __mid = __first; shift_right() local
H A Dequal_range.h42 _Iter __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __equal_range() local
43 if (std::__invoke(__comp, std::__invoke(__proj, *__mid), __value)) { in __equal_range()
44 __first = ++__mid; in __equal_range()
46 } else if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) { in __equal_range()
47 __end = __mid; in __equal_range()
50 _Iter __mp1 = __mid; in __equal_range()
51 … return pair<_Iter, _Iter>(std::__lower_bound<_AlgPolicy>(__first, __mid, __value, __comp, __proj), in __equal_range()
H A Dranges_partition_point.h47 auto __mid = ranges::next(__first, __half_len); in __partition_point_fn_impl() local
49 if (std::invoke(__pred, std::invoke(__proj, *__mid))) { in __partition_point_fn_impl()
50 __first = ++__mid; in __partition_point_fn_impl()
H A Dupper_bound.h41 auto __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __upper_bound() local
42 if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) in __upper_bound()
45 __first = ++__mid; in __upper_bound()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/
H A Dequal_range.h46 _Iter __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __equal_range() local
47 if (std::__invoke(__comp, std::__invoke(__proj, *__mid), __value)) { in __equal_range()
48 __first = ++__mid; in __equal_range()
50 } else if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) { in __equal_range()
51 __end = __mid; in __equal_range()
54 _Iter __mp1 = __mid; in __equal_range()
55 … return pair<_Iter, _Iter>(std::__lower_bound<_AlgPolicy>(__first, __mid, __value, __comp, __proj), in __equal_range()
H A Dupper_bound.h39 auto __mid = _IterOps<_AlgPolicy>::next(__first, __half_len); in __upper_bound() local
40 if (std::__invoke(__comp, __value, std::__invoke(__proj, *__mid))) in __upper_bound()
43 __first = ++__mid; in __upper_bound()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/omp/
H A Dparallel_stable_sort.h
/freebsd/contrib/llvm-project/libcxx/src/ryu/
H A Dd2s.cpp125 const uint64_t __mid = __tmp + __ryu_umul128(__m, __mul[1], &__hi);
126 __hi += __mid < __tmp; // overflow into __hi
129 const uint64_t __mid2 = __mid + __mul[1] + (__lo2 < __lo);
130 const uint64_t __hi2 = __hi + (__mid2 < __mid);
135 const uint64_t __mid3 = __mid - __mul[1] - (__lo3 > __lo);
136 const uint64_t __hi3 = __hi - (__mid3 > __mid);
140 const uint64_t __mid3 = __mid + __mid + (__lo3 < __lo);
141 const uint64_t __hi3 = __hi + __hi + (__mid3 < __mid);
148 return __ryu_shiftright128(__mid, __hi, static_cast<uint32_t>(__j - 64 - 1));
/freebsd/contrib/llvm-project/libcxx/include/__vector/
H A Dvector.h1061 auto __mid = ranges::copy_n(std::move(__first), size(), this->__begin_).in; in __assign_with_size() local
1062 __construct_at_end(std::move(__mid), std::move(__last), __new_size - size()); in __assign_with_size()
1064 _Iterator __mid = std::next(__first, size()); in __assign_with_size()
1065 std::copy(__first, __mid, this->__begin_); in __assign_with_size()
1066 __construct_at_end(__mid, __last, __new_size - size()); in __assign_with_size()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dvector1130 _ForwardIterator __mid = std::next(__first, size());
1131 std::copy(__first, __mid, this->__begin_);
1132 __construct_at_end(__mid, __last, __new_size - size());