Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dexchange.h26 _T1 exchange(_T1& __obj, _T2&& __new_value) in exchange() argument
30 __obj = _VSTD::forward<_T2>(__new_value); in exchange()
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dglue_algorithm_impl.h339 const _Tp& __new_value) in replace_if() argument
346 [&__pred, &__new_value](_ElementType __elem) in replace_if()
350 __elem = __new_value; in replace_if()
358 const _Tp& __new_value) in replace() argument
361 __pstl::__internal::__equal_value<_Tp>(__old_value), __new_value); in replace()
367 _ForwardIterator2 __result, _UnaryPredicate __pred, const _Tp& __new_value) in replace_copy_if() argument
376 …[__pred, &__new_value](_InputType __x, _OutputType __y) mutable { __y = __pred(__x) ? __new_value … in replace_copy_if()
382 const _Tp& __old_value, const _Tp& __new_value) in replace_copy() argument
385 __pstl::__internal::__equal_value<_Tp>(__old_value), __new_value); in replace_copy()
H A Dglue_algorithm_defs.h174 const _Tp& __new_value);
179 const _Tp& __new_value);
184 _ForwardIterator2 __result, _UnaryPredicate __pred, const _Tp& __new_value);
189 const _Tp& __old_value, const _Tp& __new_value);