Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges_replace_copy_if.pass.cpp46 std::ranges::replace_copy_if(
74 …std::ranges::replace_copy_if(std::forward<Range>(range), std::forward<OutIter>(result), FalsePredi…
119 …std::ranges::replace_copy_if(std::move(first), std::move(last), std::move(result), pred, d.new_val… in test()
134 std::ranges::replace_copy_if(range, result, pred, d.new_value); in test()
195 …auto ret = std::ranges::replace_copy_if(std::begin(a), std::end(a), std::begin(b), FalsePredicate{… in test()
204 auto ret = std::ranges::replace_copy_if(a, std::begin(b), FalsePredicate{}, S{2}, &S::i); in test()
218 std::ranges::replace_copy_if( in test()
231 std::ranges::replace_copy_if(a, std::begin(b), in test()
245 …std::ranges::replace_copy_if(std::begin(a), std::end(a), std::begin(b), [](int i) { return i < 2; … in test()
252 std::ranges::replace_copy_if(a, std::begin(b), [](int i) { return i < 2; }, S{}); in test()
H A Dreplace_copy_if.pass.cpp35 auto it = std::replace_copy_if(std::begin(ia), std::end(ia), std::begin(ib), equalToTwo, 5); in test_constexpr()
51 OutIter r = std::replace_copy_if(InIter(ia), InIter(ia+sa), in test()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/
H A Dreplace_copy.pass.cpp45 i = replace_copy_if(first, last, expected_first, pred, new_value); in operator ()()
46 k = replace_copy_if(exec, first, last, out_first, pred, new_value); in operator ()()
82 …invoke_if(exec, [&]() { replace_copy_if(exec, input_iter, input_iter, out_iter, non_const(is_even)… in operator ()()
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dreplace_copy_if.h23 replace_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, in replace_copy_if() function
H A Dranges_replace_copy_if.h85 inline constexpr auto replace_copy_if = __replace_copy_if::__fn{};
/llvm-project-15.0.7/libcxx/test/libcxx/algorithms/
H A Dranges_robust_against_copying_comparators.pass.cpp194 …(void)std::ranges::replace_copy_if(first, last, first2, UnaryTrue(&copies), value); assert(copies … in all_the_algorithms()
195 (void)std::ranges::replace_copy_if(a, first2, UnaryTrue(&copies), value); assert(copies == 0); in all_the_algorithms()
H A Dranges_robust_against_copying_projections.pass.cpp183 …(void)std::ranges::replace_copy_if(first, last, first2, UnaryTrue(), T(), Proj(&copies)); assert(c… in all_the_algorithms()
184 …(void)std::ranges::replace_copy_if(a, first2, UnaryTrue(), T(), Proj(&copies)); assert(copies == 0… in all_the_algorithms()
H A Drobust_against_cpp20_hostile_iterators.compile.pass.cpp179 (void) std::replace_copy_if(it, it, it, pred, 0); in test()
H A Drobust_against_copying_comparators.pass.cpp184 …(void)std::replace_copy_if(first, last, first2, UnaryTrue<T>(&copies), value); assert(copies == 0); in all_the_algorithms()
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Dranges_robust_against_nonbool_predicates.pass.cpp117 test(std::ranges::replace_copy_if, in, out, unary_pred, x); in test_all()
H A Dranges_robust_against_proxy_iterators.pass.cpp131 test(std::ranges::replace_copy_if, in, out, unary_pred, x); in run_tests()
H A Drobust_against_adl.compile.pass.cpp176 (void)std::replace_copy_if(first, last, first2, UnaryTrue(), value); in all_the_algorithms()
H A Dranges_robust_against_dangling.pass.cpp156 …dangling_1st<replace_copy_if_result<dangling, int*>>(std::ranges::replace_copy_if, in, out, unary_… in test_all()
H A Dranges_robust_against_omitting_invoke.pass.cpp138 test(std::ranges::replace_copy_if, in, out, &Foo::unary_pred, a, &Bar::val); in test_all()
H A Drobust_re_difference_type.compile.pass.cpp211 (void)std::replace_copy_if(first, last, first2, UnaryTrue(), value); in all_the_algorithms()
H A Drobust_against_proxy_iterators_lifetime_bugs.pass.cpp717 test(simple_in, [&](I b, I e) { std::replace_copy_if(b, e, out, is_neg, y); }); in test()
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dniebloid.compile.pass.cpp126 static_assert(test(std::ranges::replace_copy_if, a, a, odd, 43));
/llvm-project-15.0.7/libcxx/docs/Status/
H A DRangesAlgorithms.csv55 Write,replace_copy_if,Nikolas Klauser,`D129806 <https://llvm.org/D129806>`_,✅
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dglue_algorithm_impl.h366 replace_copy_if(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, in replace_copy_if() function
384 return std::replace_copy_if(std::forward<_ExecutionPolicy>(__exec), __first, __last, __result, in replace_copy()
H A Dglue_algorithm_defs.h183 replace_copy_if(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last,
/llvm-project-15.0.7/libcxx/include/
H A DCMakeLists.txt163 __algorithm/replace_copy_if.h
H A Dalgorithm1013 replace_copy_if(I first, S last, O result, Pred pred, const T& new_value,
1020 replace_copy_if(R&& r, O result, Pred pred, const T& new_value,
1278replace_copy_if(InputIterator first, InputIterator last, OutputIterator result, Predicate pred, co…
1874 #include <__algorithm/replace_copy_if.h>
H A Dmodule.modulemap.in408 module replace_copy_if { private header "__algorithm/replace_copy_if.h" }
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn226 "__algorithm/replace_copy_if.h",
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc982 SYMBOL(replace_copy_if, std::, <algorithm>)