Lines Matching refs:__last
159 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init)
161 for (; __first != __last; ++__first)
169 accumulate(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)
171 for (; __first != __last; ++__first)
180 reduce(_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOp __b)
182 for (; __first != __last; ++__first)
190 reduce(_InputIterator __first, _InputIterator __last, _Tp __init)
192 return _VSTD::reduce(__first, __last, __init, _VSTD::plus<>());
198 reduce(_InputIterator __first, _InputIterator __last)
200 return _VSTD::reduce(__first, __last,
230 transform_reduce(_InputIterator __first, _InputIterator __last,
233 for (; __first != __last; ++__first)
264 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
266 if (__first != __last)
270 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
282 partial_sum(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
285 if (__first != __last)
289 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
302 exclusive_scan(_InputIterator __first, _InputIterator __last,
305 if (__first != __last)
314 } while (++__first != __last);
322 exclusive_scan(_InputIterator __first, _InputIterator __last,
325 return _VSTD::exclusive_scan(__first, __last, __result, __init, _VSTD::plus<>());
329 _OutputIterator inclusive_scan(_InputIterator __first, _InputIterator __last,
332 for (; __first != __last; ++__first, (void) ++__result) {
340 _OutputIterator inclusive_scan(_InputIterator __first, _InputIterator __last,
343 if (__first != __last) {
346 if (++__first != __last)
347 return _VSTD::inclusive_scan(__first, __last, __result, __b, __init);
354 _OutputIterator inclusive_scan(_InputIterator __first, _InputIterator __last,
357 return _VSTD::inclusive_scan(__first, __last, __result, std::plus<>());
364 transform_exclusive_scan(_InputIterator __first, _InputIterator __last,
368 if (__first != __last)
377 } while (++__first != __last);
383 _OutputIterator transform_inclusive_scan(_InputIterator __first, _InputIterator __last,
386 for (; __first != __last; ++__first, (void) ++__result) {
395 _OutputIterator transform_inclusive_scan(_InputIterator __first, _InputIterator __last,
398 if (__first != __last) {
401 if (++__first != __last)
402 return _VSTD::transform_inclusive_scan(__first, __last, __result, __b, __u, __init);
412 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
414 if (__first != __last)
418 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
431 adjacent_difference(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
434 if (__first != __last)
438 for (++__first, (void) ++__result; __first != __last; ++__first, (void) ++__result)
451 iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value_)
453 for (; __first != __last; ++__first, (void) ++__value_)