Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dpstl_replace.h62 __new_value); in __replace_if()
76 const _Tp& __new_value) { in replace_if() argument
95 const _Tp& __new_value) noexcept { in __replace() argument
110 __new_value); in __replace()
123 const _Tp& __new_value) { in replace() argument
144 const _Tp& __new_value) { in __replace_copy_if() argument
163 __new_value); in __replace_copy_if()
179 const _Tp& __new_value) { in replace_copy_if() argument
200 const _Tp& __new_value) noexcept { in __replace_copy() argument
220 __new_value); in __replace_copy()
[all …]
H A Dranges_replace_if.h37 __replace_if_impl(_Iter __first, _Sent __last, _Pred& __pred, const _Type& __new_value, _Proj& __pr… in __replace_if_impl() argument
40 *__first = __new_value; in __replace_if_impl()
54 …operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj = {})… in operator()
55 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
64 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const { in operator()
65 …nges::__replace_if_impl(ranges::begin(__range), ranges::end(__range), __pred, __new_value, __proj);
H A Dranges_replace_copy_if.h41 …_InIter __first, _Sent __last, _OutIter __result, _Pred& __pred, const _Type& __new_value, _Proj& … in __replace_copy_if_impl() argument
44 *__result = __new_value; in __replace_copy_if_impl()
66 …_InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __… in operator()
69 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
79 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
81 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dranges_replace.h41 …_Iter __first, _Sent __last, const _Type1& __old_value, const _Type2& __new_value, _Proj __proj = … in operator()
43 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
50 …operator()(_Range&& __range, const _Type1& __old_value, const _Type2& __new_value, _Proj __proj = … in operator()
52 …nges::__replace_if_impl(ranges::begin(__range), ranges::end(__range), __pred, __new_value, __proj);
H A Dranges_replace_copy.h57 const _NewType& __new_value, in operator()
61 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
72 …_Range&& __range, _OutIter __result, const _OldType& __old_value, const _NewType& __new_value, _Pr… in operator()
76 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dreplace.h22 …ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) { in replace() argument
25 *__first = __new_value; in replace()
H A Dreplace_if.h22 …_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_value) { in replace_if() argument
25 *__first = __new_value; in replace_if()
H A Dreplace_copy.h26 const _Tp& __new_value) { in replace_copy() argument
29 *__result = __new_value; in replace_copy()
H A Dreplace_copy_if.h26 const _Tp& __new_value) { in replace_copy_if() argument
29 *__result = __new_value; in replace_copy_if()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__utility/
H A Dexchange.h29 …P_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _T1 exchange(_T1& __obj, _T2&& __new_value) noexcept( in exchange() argument
32 __obj = std::forward<_T2>(__new_value); in exchange()