Home
last modified time | relevance | path

Searched refs:__first2 (Results 1 – 5 of 5) sorted by relevance

/haiku/headers/cpp/
H A Dstl_algobase.h365 _InputIter2 __first2) {
366 while (__first1 != __last1 && *__first1 == *__first2) {
368 ++__first2;
370 return pair<_InputIter1, _InputIter2>(__first1, __first2);
376 _InputIter2 __first2,
378 while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) {
380 ++__first2;
382 return pair<_InputIter1, _InputIter2>(__first1, __first2);
387 _InputIter2 __first2) {
388 for ( ; __first1 != __last1; ++__first1, ++__first2)
[all …]
H A Dstl_algo.h282 _ForwardIter2 __first2, _ForwardIter2 __last2) in search() argument
285 if (__first1 == __last1 || __first2 == __last2) in search()
289 _ForwardIter2 __tmp(__first2); in search()
292 return find(__first1, __last1, *__first2); in search()
298 __p1 = __first2; ++__p1; in search()
303 __first1 = find(__first1, __last1, *__first2); in search()
326 _ForwardIter2 __first2, _ForwardIter2 __last2, in search() argument
330 if (__first1 == __last1 || __first2 == __last2) in search()
334 _ForwardIter2 __tmp(__first2); in search()
337 return find(__first1, __last1, *__first2); in search()
[all …]
H A Dstl_list.h620 const_iterator __first2 = __x.begin();
622 while (__first1 != __last1 && __first2 != __last2)
623 *__first1++ = *__first2++;
624 if (__first2 == __last2)
627 insert(__last1, __first2, __last2);
647 list<_Tp, _Alloc>::_M_assign_dispatch(_InputIter __first2, _InputIter __last2, in _M_assign_dispatch() argument
652 for ( ; __first1 != __last1 && __first2 != __last2; ++__first1, ++__first2) in _M_assign_dispatch()
653 *__first1 = *__first2; in _M_assign_dispatch()
654 if (__first2 == __last2) in _M_assign_dispatch()
657 insert(__last1, __first2, __last2); in _M_assign_dispatch()
[all …]
H A Dstl_numeric.h56 _InputIterator2 __first2, _Tp __init) in inner_product() argument
58 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product()
59 __init = __init + (*__first1 * *__first2); in inner_product()
66 _InputIterator2 __first2, _Tp __init, in inner_product() argument
70 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product()
71 __init = __binary_op1(__init, __binary_op2(*__first1, *__first2)); in inner_product()
H A Dstl_uninitialized.h231 _InputIter2 __first2, _InputIter2 __last2, in __uninitialized_copy_copy() argument
236 return uninitialized_copy(__first2, __last2, __mid); in __uninitialized_copy_copy()
263 _ForwardIter __first2, _ForwardIter __last2, in __uninitialized_copy_fill() argument
266 _ForwardIter __mid2 = uninitialized_copy(__first1, __last1, __first2); in __uninitialized_copy_fill()
270 __STL_UNWIND(destroy(__first2, __mid2)); in __uninitialized_copy_fill()