Lines Matching refs:__first

46 __find_impl(_Iter __first, _Sent __last, const _Tp& __value, _Proj& __proj) {  in __find_impl()  argument
47 for (; __first != __last; ++__first) in __find_impl()
48 if (std::__invoke(__proj, *__first) == __value) in __find_impl()
50 return __first; in __find_impl()
61 __find_impl(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find_impl() argument
62 if (auto __ret = std::__constexpr_memchr(__first, __value, __last - __first)) in __find_impl()
75 __find_impl(_Tp* __first, _Tp* __last, const _Up& __value, _Proj&) { in __find_impl() argument
76 if (auto __ret = std::__constexpr_wmemchr(__first, __value, __last - __first)) in __find_impl()
92 __find_impl(_Tp* __first, _Tp* __last, const _Up& __value, _Proj& __proj) { in __find_impl() argument
95 return std::__find_impl(__first, __last, _Tp(__value), __proj); in __find_impl()
101 __find_bool(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) { in __find_bool() argument
107 if (__first.__ctz_ != 0) { in __find_bool()
108 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_); in __find_bool()
110 …__storage_type __m = (~__storage_type(0) << __first.__ctz_) & (~__storage_type(0) >> (__clz_f … in __find_bool()
111 __storage_type __b = std::__invert_if<!_ToFind>(*__first.__seg_) & __m; in __find_bool()
113 return _It(__first.__seg_, static_cast<unsigned>(std::__libcpp_ctz(__b))); in __find_bool()
115 return __first + __n; in __find_bool()
117 ++__first.__seg_; in __find_bool()
120 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) { in __find_bool()
121 __storage_type __b = std::__invert_if<!_ToFind>(*__first.__seg_); in __find_bool()
123 return _It(__first.__seg_, static_cast<unsigned>(std::__libcpp_ctz(__b))); in __find_bool()
128 __storage_type __b = std::__invert_if<!_ToFind>(*__first.__seg_) & __m; in __find_bool()
130 return _It(__first.__seg_, static_cast<unsigned>(std::__libcpp_ctz(__b))); in __find_bool()
132 return _It(__first.__seg_, static_cast<unsigned>(__n)); in __find_bool()
137 __find_impl(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp&… in __find_impl() argument
139 return std::__find_bool<true>(__first, static_cast<typename _Cp::size_type>(__last - __first)); in __find_impl()
140 return std::__find_bool<false>(__first, static_cast<typename _Cp::size_type>(__last - __first)); in __find_impl()
153 __find_impl(_SegmentedIterator __first, _SegmentedIterator __last, const _Tp& __value, _Proj& __pro… in __find_impl() argument
154 …return std::__find_segment_if(std::move(__first), std::move(__last), __find_segment<_Tp>(__value),… in __find_impl()
165 operator()(_InputIterator __first, _InputIterator __last, _Proj& __proj) const { in operator()
166 return std::__find_impl(__first, __last, __value_, __proj); in operator()
173 find(_InputIterator __first, _InputIterator __last, const _Tp& __value) { in find() argument
176__first, std::__find_impl(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __value, __proj… in find()