Lines Matching refs:__result
1698 __copy_constexpr(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1700 for (; __first != __last; ++__first, (void) ++__result)
1701 *__result = *__first;
1702 return __result;
1708 __copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1710 return _VSTD::__copy_constexpr(__first, __last, __result);
1721 __copy(_Tp* __first, _Tp* __last, _Up* __result)
1725 _VSTD::memmove(__result, __first, __n * sizeof(_Up));
1726 return __result + __n;
1732 copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1736 … _VSTD::__unwrap_iter(__first), _VSTD::__unwrap_iter(__last), _VSTD::__unwrap_iter(__result));
1739 … _VSTD::__unwrap_iter(__first), _VSTD::__unwrap_iter(__last), _VSTD::__unwrap_iter(__result));
1748 …_constexpr(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result)
1751 *--__result = *--__last;
1752 return __result;
1758 …y_backward(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result)
1760 return _VSTD::__copy_backward_constexpr(__first, __last, __result);
1771 __copy_backward(_Tp* __first, _Tp* __last, _Up* __result)
1776 __result -= __n;
1777 _VSTD::memmove(__result, __first, __n * sizeof(_Up));
1779 return __result;
1786 _BidirectionalIterator2 __result)
1791 _VSTD::__unwrap_iter(__result));
1795 _VSTD::__unwrap_iter(__result));
1805 _OutputIterator __result, _Predicate __pred)
1811 *__result = *__first;
1812 ++__result;
1815 return __result;
1828 copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result)
1834 *__result = *__first;
1835 ++__result;
1839 *__result = *__first;
1840 ++__result;
1843 return __result;
1853 copy_n(_InputIterator __first, _Size __orig_n, _OutputIterator __result)
1857 return _VSTD::copy(__first, __first + __n, __result);
1867 __move_constexpr(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1869 for (; __first != __last; ++__first, (void) ++__result)
1870 *__result = _VSTD::move(*__first);
1871 return __result;
1877 __move(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1879 return _VSTD::__move_constexpr(__first, __last, __result);
1890 __move(_Tp* __first, _Tp* __last, _Up* __result)
1893 return _VSTD::__move_constexpr(__first, __last, __result);
1896 _VSTD::memmove(__result, __first, __n * sizeof(_Up));
1897 return __result + __n;
1903 move(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1905 …_move(_VSTD::__unwrap_iter(__first), _VSTD::__unwrap_iter(__last), _VSTD::__unwrap_iter(__result));
1915 __move_backward_constexpr(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1918 *--__result = _VSTD::move(*--__last);
1919 return __result;
1925 __move_backward(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
1927 return _VSTD::__move_backward_constexpr(__first, __last, __result);
1938 __move_backward(_Tp* __first, _Tp* __last, _Up* __result)
1941 return _VSTD::__move_backward_constexpr(__first, __last, __result);
1945 __result -= __n;
1946 _VSTD::memmove(__result, __first, __n * sizeof(_Up));
1948 return __result;
1955 _BidirectionalIterator2 __result)
1957 …kward(_VSTD::__unwrap_iter(__first), _VSTD::__unwrap_iter(__last), _VSTD::__unwrap_iter(__result));
1969 transform(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _UnaryOperation …
1971 for (; __first != __last; ++__first, (void) ++__result)
1972 *__result = __op(*__first);
1973 return __result;
1980 _OutputIterator __result, _BinaryOperation __binary_op)
1982 for (; __first1 != __last1; ++__first1, (void) ++__first2, ++__result)
1983 *__result = __binary_op(*__first1, *__first2);
1984 return __result;
2016 replace_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
2019 for (; __first != __last; ++__first, (void) ++__result)
2021 *__result = __new_value;
2023 *__result = *__first;
2024 return __result;
2032 replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result,
2035 for (; __first != __last; ++__first, (void) ++__result)
2037 *__result = __new_value;
2039 *__result = *__first;
2040 return __result;
2165 remove_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, const _Tp& __v…
2171 *__result = *__first;
2172 ++__result;
2175 return __result;
2183 remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate …
2189 *__result = *__first;
2190 ++__result;
2193 return __result;
2231 __unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredi…
2237 *__result = __t;
2238 ++__result;
2244 *__result = __t;
2245 ++__result;
2249 return __result;
2254 __unique_copy(_ForwardIterator __first, _ForwardIterator __last, _OutputIterator __result, _BinaryP…
2260 *__result = *__i;
2261 ++__result;
2266 *__result = *__first;
2267 ++__result;
2272 return __result;
2277 __unique_copy(_InputIterator __first, _InputIterator __last, _ForwardIterator __result, _BinaryPred…
2282 *__result = *__first;
2284 if (!__pred(*__result, *__first))
2285 *++__result = *__first;
2286 ++__result;
2288 return __result;
2294 unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredica…
2297 (__first, __last, __result, __pred,
2305 unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result)
2308 return _VSTD::unique_copy(__first, __last, __result, __equal_to<__v>());
2350 …verse_copy(_BidirectionalIterator __first, _BidirectionalIterator __last, _OutputIterator __result)
2352 for (; __first != __last; ++__result)
2353 *__result = *--__last;
2354 return __result;
2534 …wardIterator __first, _ForwardIterator __middle, _ForwardIterator __last, _OutputIterator __result)
2536 return _VSTD::copy(__first, __middle, _VSTD::copy(__middle, __last, __result));
2716 pair<_ForwardIterator, _ForwardIterator> __result(__first, __first);
2721 if (__comp(*__first, *__result.first))
2722 __result.first = __first;
2724 __result.second = __first;
2730 if (__comp(*__i, *__result.first))
2731 __result.first = __i;
2732 else if (!__comp(*__i, *__result.second))
2733 __result.second = __i;
2740 if (__comp(*__first, *__result.first))
2741 __result.first = __first;
2742 if (!__comp(*__i, *__result.second))
2743 __result.second = __i;
2747 if (__comp(*__i, *__result.first))
2748 __result.first = __i;
2749 if (!__comp(*__first, *__result.second))
2750 __result.second = __first;
2756 return __result;
2801 pair<_Tp, _Tp> __result(*__first, *__first);
2806 if (__comp(*__first, __result.first))
2807 __result.first = *__first;
2809 __result.second = *__first;
2817 if ( __comp(*__first, __result.first)) __result.first = *__first;
2818 if (!__comp(__prev, __result.second)) __result.second = __prev;
2821 if ( __comp(__prev, __result.first)) __result.first = __prev;
2822 if (!__comp(*__first, __result.second)) __result.second = *__first;
2827 return __result;
4400 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
4402 for (; __first1 != __last1; ++__result)
4405 return _VSTD::copy(__first1, __last1, __result);
4408 *__result = *__first2;
4413 *__result = *__first1;
4417 return _VSTD::copy(__first2, __last2, __result);
4424 _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
4427 return _VSTD::__merge<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
4434 _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result)
4438 return _VSTD::merge(__first1, __last1, __first2, __last2, __result, __less<__v1, __v2>());
4447 _OutputIterator __result, _Compare __comp)
4449 for (; __first1 != __last1; ++__result)
4453 _VSTD::move(__first1, __last1, __result);
4459 *__result = _VSTD::move(*__first2);
4464 *__result = _VSTD::move(*__first1);
4622 typename iterator_traits<_InputIterator1>::value_type* __result, _Compare __comp)
4626 unique_ptr<value_type, __destruct_n&> __h(__result, __d);
4627 for (; true; ++__result)
4631 … for (; __first2 != __last2; ++__first2, ++__result, (void)__d.template __incr<value_type>())
4632 ::new (__result) value_type(_VSTD::move(*__first2));
4638 … for (; __first1 != __last1; ++__first1, ++__result, (void)__d.template __incr<value_type>())
4639 ::new (__result) value_type(_VSTD::move(*__first1));
4645 ::new (__result) value_type(_VSTD::move(*__first2));
4651 ::new (__result) value_type(_VSTD::move(*__first1));
4662 _OutputIterator __result, _Compare __comp)
4664 for (; __first1 != __last1; ++__result)
4668 for (; __first1 != __last1; ++__first1, (void) ++__result)
4669 *__result = _VSTD::move(*__first1);
4674 *__result = _VSTD::move(*__first2);
4679 *__result = _VSTD::move(*__first1);
4683 for (; __first2 != __last2; ++__first2, (void) ++__result)
4684 *__result = _VSTD::move(*__first2);
5406 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5408 for (; __first1 != __last1; ++__result)
5411 return _VSTD::copy(__first1, __last1, __result);
5414 *__result = *__first2;
5421 *__result = *__first1;
5425 return _VSTD::copy(__first2, __last2, __result);
5432 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5435 return _VSTD::__set_union<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
5442 _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result)
5444 return _VSTD::set_union(__first1, __last1, __first2, __last2, __result,
5454 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5464 *__result = *__first1;
5465 ++__result;
5471 return __result;
5478 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5481 …return _VSTD::__set_intersection<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp…
5488 _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result)
5490 return _VSTD::set_intersection(__first1, __last1, __first2, __last2, __result,
5500 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5505 return _VSTD::copy(__first1, __last1, __result);
5508 *__result = *__first1;
5509 ++__result;
5519 return __result;
5526 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5529 … return _VSTD::__set_difference<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
5536 _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result)
5538 return _VSTD::set_difference(__first1, __last1, __first2, __last2, __result,
5548 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5553 return _VSTD::copy(__first1, __last1, __result);
5556 *__result = *__first1;
5557 ++__result;
5564 *__result = *__first2;
5565 ++__result;
5572 return _VSTD::copy(__first2, __last2, __result);
5579 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result, _Compare __comp)
5582 …STD::__set_symmetric_difference<_Comp_ref>(__first1, __last1, __first2, __last2, __result, __comp);
5589 … _InputIterator2 __first2, _InputIterator2 __last2, _OutputIterator __result)
5591 return _VSTD::set_symmetric_difference(__first1, __last1, __first2, __last2, __result,