Home
last modified time | relevance | path

Searched refs:__new_value (Results 1 – 11 of 11) sorted by relevance

/openbsd/gnu/llvm/libcxx/include/__algorithm/
H A Dranges_replace_if.h34 _Iter __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj… in __replace_if_impl() argument
37 *__first = __new_value; in __replace_if_impl()
51 …_Iter operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj… in operator()
52 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
61 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const { in operator()
62 …nges::__replace_if_impl(ranges::begin(__range), ranges::end(__range), __pred, __new_value, __proj);
H A Dranges_replace_copy_if.h38 …_InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _Proj& … in __replace_copy_if_impl() argument
41 *__result = __new_value; in __replace_copy_if_impl()
63 …_InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __… in operator()
66 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
76 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
78 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dranges_replace.h44 const _Type2& __new_value, in operator()
47 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
57 …operator()(_Range&& __range, const _Type1& __old_value, const _Type2& __new_value, _Proj __proj = … in operator()
59 …nges::__replace_if_impl(ranges::begin(__range), ranges::end(__range), __pred, __new_value, __proj);
H A Dranges_replace_copy.h54 const _NewType& __new_value, in operator()
58 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
72 const _NewType& __new_value, in operator()
76 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dreplace.h23 …(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) in replace() argument
27 *__first = __new_value; in replace()
H A Dreplace_if.h23 …ce_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_value) in replace_if() argument
27 *__first = __new_value; in replace_if()
H A Dreplace_copy.h24 const _Tp& __old_value, const _Tp& __new_value) in replace_copy() argument
28 *__result = __new_value; in replace_copy()
H A Dreplace_copy_if.h24 _Predicate __pred, const _Tp& __new_value) in replace_copy_if() argument
28 *__result = __new_value; in replace_copy_if()
/openbsd/gnu/llvm/libcxx/include/__utility/
H A Dexchange.h27 _T1 exchange(_T1& __obj, _T2&& __new_value) in exchange() argument
31 __obj = _VSTD::forward<_T2>(__new_value); in exchange()
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dstl_algo.h801 const _Tp& __old_value, const _Tp& __new_value) in replace() argument
812 *__first = __new_value; in replace()
830 _Predicate __pred, const _Tp& __new_value) in replace_if() argument
841 *__first = __new_value; in replace_if()
862 const _Tp& __old_value, const _Tp& __new_value) in replace_copy() argument
872 *__result = *__first == __old_value ? __new_value : *__first; in replace_copy()
895 _Predicate __pred, const _Tp& __new_value) in replace_copy_if() argument
905 *__result = __pred(*__first) ? __new_value : *__first; in replace_copy_if()
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dstl_algo.h992 const _Tp& __old_value, const _Tp& __new_value) in replace() argument
1005 *__first = __new_value; in replace()
1023 _Predicate __pred, const _Tp& __new_value) in replace_if() argument
1036 *__first = __new_value; in replace_if()
1057 const _Tp& __old_value, const _Tp& __new_value) in replace_copy() argument
1069 *__result = __new_value; in replace_copy()
1094 _Predicate __pred, const _Tp& __new_value) in replace_copy_if() argument
1106 *__result = __new_value; in replace_copy_if()