Home
last modified time | relevance | path

Searched refs:replace_copy (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dpstl.replace_copy.pass.cpp35 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()()
41 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(a)… in operator ()()
47 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(out.data()),… in operator ()()
54 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()()
61 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()()
68 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()()
76 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(out.data()),… in operator ()()
H A Dranges_replace_copy.pass.cpp42 std::ranges::replace_copy(
69 std::ranges::replace_copy(std::forward<Range>(range), std::forward<OutIter>(result), 0, 0);
112 …std::ranges::replace_copy(std::move(first), std::move(last), std::move(result), d.old_value, d.new… in test()
125 std::ranges::replace_copy(range, result, d.old_value, d.new_value); in test()
190 … auto ret = std::ranges::replace_copy(std::begin(a), std::end(a), std::begin(b), 1, S{2}, &S::i); in test()
198 auto ret = std::ranges::replace_copy(a, std::begin(b), 1, S{2}, &S::i); in test()
209 std::ranges::replace_copy( in test()
218 std::ranges::replace_copy(a, std::begin(b), 0, 0, counting_projection(proj_count)); in test()
235 std::ranges::replace_copy(std::begin(a), std::end(a), std::begin(b), S{}, T{}); in test()
241 std::ranges::replace_copy(a, std::begin(b), S{}, T{}); in test()
H A Dreplace_copy.pass.cpp32 auto it = std::replace_copy(std::begin(ia), std::end(ia), std::begin(ib), 2, 5); in test_constexpr()
48 OutIter r = std::replace_copy(InIter(ia), InIter(ia+sa), OutIter(ib), 2, 5); in test()
/llvm-project/libcxx/test/libcxx/algorithms/
H A Dpstl.iterator-requirements.verify.cpp135 (void)std::replace_copy( in f()
137 (void)std::replace_copy( in f()
139 (void)std::replace_copy( in f()
H A Dranges_robust_against_copying_projections.pass.cpp207 (void)std::ranges::replace_copy(first, last, first2, value, T(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
208 (void)std::ranges::replace_copy(a, first2, value, T(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp185 (void) std::replace_copy(it, it, it, 0, 0); in test()
/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/
H A Dreplace_copy.pass.cpp36 auto i = std::replace_copy(first, last, expected_first, old_value, new_value); in operator ()()
37 auto k = std::replace_copy(exec, first, last, out_first, old_value, new_value); in operator ()()
/llvm-project/libcxx/include/__algorithm/
H A Dreplace_copy.h21 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _OutputIterator replace_copy( in replace_copy() function
H A Dranges_replace_copy.h79 inline constexpr auto replace_copy = __replace_copy{};
H A Dpstl.h490 _LIBCPP_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator"); in replace_copy_if()
507 _LIBCPP_HIDE_FROM_ABI void replace_copy( in replace_copy() function
514 _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator, "replace_copy requires ForwardIterators"); in replace_copy()
515 _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardOutIterator, "replace_copy requires ForwardIterators"); in replace_copy()
517 _ForwardOutIterator, decltype(*__first), "replace_copy requires an OutputIterator"); in replace_copy()
518 _LIBCPP_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator"); in replace_copy()
/llvm-project/libcxx/test/std/algorithms/
H A Dranges_robust_against_nonbool.compile.pass.cpp189 // replace_copy in f()
191 (void)std::ranges::replace_copy(it, it, out, val, val); in f()
192 (void)std::ranges::replace_copy(in, out, val, val); in f()
193 (void)std::ranges::replace_copy(it, it, out, val, val, projection); in f()
194 (void)std::ranges::replace_copy(in, out, val, val, projection); in f()
H A Dranges_robust_against_proxy_iterators.pass.cpp139 test(std::ranges::replace_copy, in, out, x, x); in run_tests()
H A Dpstl.exception_handling.pass.cpp256 … (void)std::replace_copy(policy, std::move(first1), std::move(last1), std::move(dest), val, val); in main()
H A Drobust_against_adl.compile.pass.cpp178 (void)std::replace_copy(first, last, first2, value, value); in all_the_algorithms()
H A Dranges_robust_against_omitting_invoke.pass.cpp143 test(std::ranges::replace_copy, in, out, x, a, &Bar::val); in test_all()
H A Dranges_robust_against_dangling.pass.cpp164 dangling_1st<replace_copy_result<dangling, OutIter>>(std::ranges::replace_copy, in, out, x, x); in test_all()
H A Drobust_re_difference_type.compile.pass.cpp216 (void)std::replace_copy(first, last, first2, value, value); in all_the_algorithms()
H A Drobust_against_proxy_iterators_lifetime_bugs.pass.cpp716 test(simple_in, [&](I b, I e) { (void) std::replace_copy(b, e, out, x, y); }); in test()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/boost/
H A Duse-ranges.rst82 ``std::replace_copy``,
/llvm-project/libcxx/modules/std/
H A Dalgorithm.inc252 using std::replace_copy;
256 using std::ranges::replace_copy;
/llvm-project/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp140 static_assert(test(std::ranges::replace_copy, a, a, 42, 43));
/llvm-project/libcxx/docs/Status/
H A DPSTLPaper.csv52 | `[alg.replace] <https://wg21.link/alg.replace>`_,std::replace_copy,Nikolas Klauser,|Complete|
/llvm-project/libcxx/include/__filesystem/
H A Dpath.h14 #include <__algorithm/replace_copy.h>
681 std::replace_copy(__pn_.begin(), __pn_.end(), __s.begin(), '\\', '/');
/llvm-project/pstl/include/pstl/internal/
H A Dglue_algorithm_defs.h188 replace_copy(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _Forwa…
/llvm-project/libcxx/include/
H A Dalgorithm1106 replace_copy(I first, S last, O result, const T1& old_value, const T2& new_value,
1115 replace_copy(R&& r, O result, const T1& old_value, const T2& new_value,
1385 replace_copy(InputIterator first, InputIterator last, OutputIterator result,
1895 # include <__algorithm/replace_copy.h>

12