Home
last modified time | relevance | path

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

/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/
H A Dcopy_move.pass.cpp31 Size n, T trash) in operator ()()
51 std::fill_n(expected_first, size, trash); in operator ()()
52 std::fill_n(out_first, size, trash); in operator ()()
63 std::fill_n(out_first, size, trash); in operator ()()
83 Size n, T trash) in operator ()()
102 std::fill_n(expected_first, size, trash); in operator ()()
103 std::fill_n(out_first, size, trash); in operator ()()
125 Size n, Wrapper<T> trash) in operator ()()
144 std::fill_n(out_first, size, trash); in operator ()()
158 test(T trash, Convert convert) in test() argument
[all …]
H A Dreplace_copy.pass.cpp30 const T& old_value, const T& new_value, T trash) in operator ()()
33 std::fill_n(expected_first, n, trash); in operator ()()
34 std::fill_n(out_first, n, trash); in operator ()()
42 std::fill_n(expected_first, n, trash); in operator ()()
43 std::fill_n(out_first, n, trash); in operator ()()
54 test(T trash, const T& old_value, const T& new_value, Predicate pred, Convert convert) in test() argument
60 Sequence<T> out(n, [=](size_t) { return trash; }); in test()
61 Sequence<T> expected(n, [=](size_t) { return trash; }); in test()
64 expected.end(), out.size(), pred, old_value, new_value, trash); in test()
66 expected.end(), out.size(), pred, old_value, new_value, trash); in test()
H A Dunique_copy_equal.pass.cpp30 Predicate pred, T trash) in operator ()()
39 OutputIterator2 expected_last, Size n, Predicate pred, T trash) in operator ()()
49 T trash) in operator ()()
52 std::fill_n(expected_first, n, trash); in operator ()()
53 std::fill_n(out_first, n, trash); in operator ()()
66 std::fill_n(expected_first, n, trash); in operator ()()
67 std::fill_n(out_first, n, trash); in operator ()()
82 test(T trash, BinaryPredicate pred, Convert convert, bool check_weakness = true) in test() argument
94 Sequence<T> out(count, [=](size_t) { return trash; }); in test()
95 Sequence<T> expected(count, [=](size_t) { return trash; }); in test()
[all …]
H A Dremove_copy.pass.cpp28 T trash) in operator ()()
31 std::fill_n(expected_first, n, trash); in operator ()()
32 std::fill_n(out_first, n, trash); in operator ()()
49 test(T trash, const T& value, Convert convert, bool check_weakness = true) in test() argument
64 Sequence<T> out(count, [=](size_t) { return trash; }); in test()
65 Sequence<T> expected(count, [=](size_t) { return trash; }); in test()
73 expected.end(), count, value, trash); in test()
75 expected.end(), count, value, trash); in test()
H A Dremove.pass.cpp101 test(T trash, const T& value, Predicate pred, Convert convert) in test() argument
104 Sequence<T> out(max_size, [trash](size_t) { return trash; }); in test()
105 Sequence<T> expected(max_size, [trash](size_t) { return trash; }); in test()
/llvm-project-15.0.7/pstl/test/std/numerics/numeric.ops/
H A Dscan.pass.cpp95 std::fill_n(out_first, n, trash); in check_and_reset()
115 check_and_reset(expected_first, out_first, n, trash); in operator ()()
116 fill(out_first, out_last, trash); in operator ()()
122 test_with_plus(T init, T trash, Convert convert) in test_with_plus() argument
128 Sequence<T> out(n, [&](int32_t) { return trash; }); in test_with_plus()
131 expected.end(), in.size(), init, trash); in test_with_plus()
133 expected.end(), in.size(), init, trash); in test_with_plus()
153 check_and_reset(expected_first, out_first, n, trash); in operator ()()
166 test_matrix(Out init, BinaryOp binary_op, Out trash) in test_matrix() argument
172 Sequence<Out> out(n, [&](size_t) { return trash; }); in test_matrix()
[all …]
H A Dtransform_scan.pass.cpp28 check_and_reset(Iterator expected_first, Iterator out_first, Size n, T trash) in check_and_reset() argument
33 std::fill_n(out_first, n, trash); in check_and_reset()
43 BinaryOp binary_op, T trash) in operator ()()
54 check_and_reset(expected_first, out_first, n, trash); in operator ()()
62 check_and_reset(expected_first, out_first, n, trash); in operator ()()
107 test(UnaryOp unary_op, Out init, BinaryOp binary_op, Out trash) in test() argument
128 Sequence<Out> out(n, [&](size_t) { return trash; }); in test()
135 check_and_reset(expected.begin(), out.begin(), out.size(), trash); in test()
146 test_matrix(UnaryOp unary_op, Out init, BinaryOp binary_op, Out trash) in test_matrix() argument
152 Sequence<Out> out(n, [&](size_t) { return trash; }); in test_matrix()
[all …]
H A Dadjacent_difference.pass.cpp102 Iterator2 actual_e, T trash, Function f) in operator ()()
108 Iterator2 actual_e, T trash, Function f) in operator ()()
116 T trash, Function f) in operator ()()
121 fill(actual_b, actual_e, trash); in operator ()()
128 fill(actual_b, actual_e, trash); in operator ()()
144 static constexpr T1 trash = T1(31); in test() local
153 actual.begin() + len, trash, pred); in test()
155 actual.begin() + len, trash, pred); in test()
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.sorting/
H A Dpartial_sort_copy.pass.cpp63 const T& trash, Compare compare) in operator ()()
70 const T& trash, Compare compare) in operator ()()
77 const T& trash) in operator ()()
84 const T& trash) in operator ()()
94 prepare_data(first, last, n1, trash); in operator ()()
106 prepare_data(first, last, n1, trash); in operator ()()
123 std::fill(exp_first, exp_last, trash); in prepare_data()
124 std::fill(d_first, d_last, trash); in prepare_data()
140 T trash = T(-666); in test_partial_sort_copy() local
147 in.begin() + n1, n1, n2, trash, compare); in test_partial_sort_copy()
[all …]
/llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/alg.copy/
H A Dcopy_if.pass.cpp30 Predicate pred, T trash) in operator ()()
48 T trash) in operator ()()
51 std::fill_n(expected_first, n, trash); in operator ()()
52 std::fill_n(out_first, n, trash); in operator ()()
65 std::fill_n(expected_first, n, trash); in operator ()()
66 std::fill_n(out_first, n, trash); in operator ()()
81 test(T trash, Predicate pred, Convert convert, bool check_weakness = true) in test() argument
95 Sequence<T> out(count, [=](size_t) { return trash; }); in test()
96 Sequence<T> expected(count, [=](size_t) { return trash; }); in test()
104 expected.end(), count, pred, trash); in test()
[all …]