Lines Matching defs:__first2
42 __mismatch_loop(_Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
44 if (!std::__invoke(__pred, std::__invoke(__proj1, *__first1), std::__invoke(__proj2, *__first2)))
47 ++__first2;
49 return std::make_pair(std::move(__first1), std::move(__first2));
54 __mismatch(_Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
55 return std::__mismatch_loop(__first1, __last1, __first2, __pred, __proj1, __proj2);
62 __mismatch_vectorized(_Iter __first1, _Iter __last1, _Iter __first2) {
70 auto __last2 = __first2 + (__last1 - __first1);
77 __rhs[__i] = std::__load_vector<__vec>(__first2 + __i * __vec_size);
83 return {__first1 + __offset, __first2 + __offset};
88 __first2 += __unroll_count * __vec_size;
93 if (auto __cmp_res = std::__load_vector<__vec>(__first1) == std::__load_vector<__vec>(__first2);
96 return {__first1 + __offset, __first2 + __offset};
99 __first2 += __vec_size;
103 return {__first1, __first2};
109 __first2 = __last2 - __vec_size;
111 std::__find_first_not_set(std::__load_vector<__vec>(__first1) == std::__load_vector<__vec>(__first2));
112 return {__first1 + __offset, __first2 + __offset};
118 return std::__mismatch_loop(__first1, __last1, __first2, __pred, __proj, __proj);
129 __mismatch(_Tp* __first1, _Tp* __last1, _Tp* __first2, _Pred&, _Proj1&, _Proj2&) {
130 return std::__mismatch_vectorized(__first1, __last1, __first2);
142 __mismatch(_Tp* __first1, _Tp* __last1, _Tp* __first2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
144 return std::__mismatch_loop(__first1, __last1, __first2, __pred, __proj1, __proj2);
147 auto __ret = std::__mismatch_vectorized(_Iter(__first1), _Iter(__last1), _Iter(__first2));
155 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _BinaryPredicate __pred) {
158 std::__unwrap_iter(__first1), std::__unwrap_iter(__last1), std::__unwrap_iter(__first2), __pred, __proj, __proj);
159 return std::make_pair(std::__rewrap_iter(__first1, __res.first), std::__rewrap_iter(__first2, __res.second));
164 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2) {
165 return std::mismatch(__first1, __last1, __first2, __equal_to());
171 _Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Sent2 __last2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
172 while (__first1 != __last1 && __first2 != __last2) {
173 if (!std::__invoke(__pred, std::__invoke(__proj1, *__first1), std::__invoke(__proj2, *__first2)))
176 ++__first2;
178 return {std::move(__first1), std::move(__first2)};
183 __mismatch(_Tp* __first1, _Tp* __last1, _Tp* __first2, _Tp* __last2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
184 auto __len = std::min(__last1 - __first1, __last2 - __first2);
185 return std::__mismatch(__first1, __first1 + __len, __first2, __pred, __proj1, __proj2);
192 _InputIterator2 __first2,
199 std::__unwrap_iter(__first2),
204 return {std::__rewrap_iter(__first1, __res.first), std::__rewrap_iter(__first2, __res.second)};
209 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _InputIterator2 __last2) {
210 return std::mismatch(__first1, __last1, __first2, __last2, __equal_to());