Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
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()
53 …operator()(_Iter __first, _Sent __last, _Pred __pred, const _Type& __new_value, _Proj __proj = {})… in operator()
54 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
63 operator()(_Range&& __range, _Pred __pred, const _Type& __new_value, _Proj __proj = {}) const { in operator()
64 …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()
64 …_InIter __first, _Sent __last, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __… in operator()
67 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
77 …operator()(_Range&& __range, _OutIter __result, _Pred __pred, const _Type& __new_value, _Proj __pr… in operator()
79 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dranges_replace.h40 …_Iter __first, _Sent __last, const _Type1& __old_value, const _Type2& __new_value, _Proj __proj = … in operator()
42 …return ranges::__replace_if_impl(std::move(__first), std::move(__last), __pred, __new_value, __pro…
49 …operator()(_Range&& __range, const _Type1& __old_value, const _Type2& __new_value, _Proj __proj = … in operator()
51 …nges::__replace_if_impl(ranges::begin(__range), ranges::end(__range), __pred, __new_value, __proj);
H A Dranges_replace_copy.h55 const _NewType& __new_value, in operator()
59 std::move(__first), std::move(__last), std::move(__result), __pred, __new_value, __proj);
70 …_Range&& __range, _OutIter __result, const _OldType& __old_value, const _NewType& __new_value, _Pr… in operator()
74 … ranges::begin(__range), ranges::end(__range), std::move(__result), __pred, __new_value, __proj);
H A Dreplace.h22 replace(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) {
25 *__first = __new_value; in replace()
23 replace(_ForwardIterator __first,_ForwardIterator __last,const _Tp & __old_value,const _Tp & __new_value) replace() argument
H A Dreplace_if.h22 replace_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_value) {
25 *__first = __new_value; in replace_if()
23 replace_if(_ForwardIterator __first,_ForwardIterator __last,_Predicate __pred,const _Tp & __new_value) replace_if() argument
H A Dreplace_copy.h26 const _Tp& __new_value) { in replace_copy()
29 *__result = __new_value; in replace_copy()
24 replace_copy(_InputIterator __first,_InputIterator __last,_OutputIterator __result,const _Tp & __old_value,const _Tp & __new_value) replace_copy() argument
H A Dreplace_copy_if.h26 const _Tp& __new_value) { in replace_copy_if()
29 *__result = __new_value; in replace_copy_if()
24 replace_copy_if(_InputIterator __first,_InputIterator __last,_OutputIterator __result,_Predicate __pred,const _Tp & __new_value) replace_copy_if() argument
H A Dpstl.h448 const _Tp& __new_value) { in replace_if() argument
452 …ExecutionPolicy>(__policy), std::move(__first), std::move(__last), std::move(__pred), __new_value); in replace_if()
465 const _Tp& __new_value) { in replace() argument
469 …ward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__last), __old_value, __new_value); in replace()
485 const _Tp& __new_value) { in replace_copy_if() argument
498 __new_value); in replace_copy_if()
513 const _Tp& __new_value) { in replace_copy() argument
526 __new_value); in replace_copy()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/
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/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()
/freebsd/contrib/llvm-project/libcxx/include/__pstl/backends/
H A Ddefault.h246 …_policy, _ForwardIterator __first, _ForwardIterator __last, _Pred&& __pred, _Tp const& __new_value)
252 __element = __new_value;
403 _Tp const& __new_value) const noexcept {
408 return __pred(__element) ? __new_value : __element;
425 _Tp const& __new_value) const noexcept {
434 __new_value);
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dglue_algorithm_defs.h