Lines Matching defs:__first2
40 _Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Sent2 __last2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
41 if (__first2 == __last2)
44 // Find first element in sequence 1 that matchs *__first2, with a mininum of loop checks
46 if (__first1 == __last1) { // return __last1 if no element matches *__first2
50 if (std::__invoke(__pred, std::__invoke(__proj1, *__first1), std::__invoke(__proj2, *__first2)))
54 // *__first1 matches *__first2, now match elements after here
56 _Iter2 __m2 = __first2;
86 _Iter2 __first2,
101 if (std::__invoke(__pred, std::__invoke(__proj1, *__first1), std::__invoke(__proj2, *__first2)))
107 _Iter2 __m2 = __first2;
131 _Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Sent2 __last2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
132 auto __size2 = __last2 - __first2;
142 __first1, __last1, __first2, __last2, __pred, __proj1, __proj2, __size1, __size2);
158 _Iter1 __first1, _Sent1 __last1, _Iter2 __first2, _Sent2 __last2, _Pred& __pred, _Proj1& __proj1, _Proj2& __proj2) {
159 return std::__search_forward_impl<_ClassicAlgPolicy>(__first1, __last1, __first2, __last2, __pred, __proj1, __proj2);
166 _ForwardIterator2 __first2,
169 static_assert(__is_callable<_BinaryPredicate&, decltype(*__first1), decltype(*__first2)>::value,
172 return std::__search_impl(__first1, __last1, __first2, __last2, __pred, __proj, __proj).first;
177 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2, _ForwardIterator2 __last2) {
178 return std::search(__first1, __last1, __first2, __last2, __equal_to());