Home
last modified time | relevance | path

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

/haiku/headers/cpp/
H A Dstl_algobase.h363 pair<_InputIter1, _InputIter2> mismatch(_InputIter1 __first1,
366 while (__first1 != __last1 && *__first1 == *__first2) {
367 ++__first1;
370 return pair<_InputIter1, _InputIter2>(__first1, __first2);
374 pair<_InputIter1, _InputIter2> mismatch(_InputIter1 __first1,
378 while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) {
379 ++__first1;
382 return pair<_InputIter1, _InputIter2>(__first1, __first2);
386 inline bool equal(_InputIter1 __first1, _InputIter1 __last1,
388 for ( ; __first1 != __last1; ++__first1, ++__first2)
[all …]
H A Dstl_algo.h281 _ForwardIter1 search(_ForwardIter1 __first1, _ForwardIter1 __last1, in search() argument
285 if (__first1 == __last1 || __first2 == __last2) in search()
286 return __first1; in search()
292 return find(__first1, __last1, *__first2); in search()
300 _ForwardIter1 __current = __first1; in search()
302 while (__first1 != __last1) { in search()
303 __first1 = find(__first1, __last1, *__first2); in search()
304 if (__first1 == __last1) in search()
308 __current = __first1; in search()
314 return __first1; in search()
[all …]
H A Dstl_numeric.h55 _Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument
58 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product()
59 __init = __init + (*__first1 * *__first2); in inner_product()
65 _Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1, 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_list.h618 iterator __first1 = begin(); variable
622 while (__first1 != __last1 && __first2 != __last2)
623 *__first1++ = *__first2++;
625 erase(__first1, __last1);
650 iterator __first1 = begin(); in _M_assign_dispatch() local
652 for ( ; __first1 != __last1 && __first2 != __last2; ++__first1, ++__first2) in _M_assign_dispatch()
653 *__first1 = *__first2; in _M_assign_dispatch()
655 erase(__first1, __last1); in _M_assign_dispatch()
694 iterator __first1 = begin(); in merge() local
698 while (__first1 != __last1 && __first2 != __last2) in merge()
[all …]
H A Dstl_uninitialized.h230 __uninitialized_copy_copy(_InputIter1 __first1, _InputIter1 __last1, in __uninitialized_copy_copy() argument
234 _ForwardIter __mid = uninitialized_copy(__first1, __last1, __result); in __uninitialized_copy_copy()
262 __uninitialized_copy_fill(_InputIter __first1, _InputIter __last1, in __uninitialized_copy_fill() argument
266 _ForwardIter __mid2 = uninitialized_copy(__first1, __last1, __first2); in __uninitialized_copy_fill()