| /llvm-project-15.0.7/pstl/test/std/algorithms/alg.modifying.operations/ |
| H A D | copy_move.pass.cpp | 31 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 D | replace_copy.pass.cpp | 30 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 D | unique_copy_equal.pass.cpp | 30 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 D | remove_copy.pass.cpp | 28 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 D | remove.pass.cpp | 101 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 D | scan.pass.cpp | 95 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 D | transform_scan.pass.cpp | 28 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 D | adjacent_difference.pass.cpp | 102 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 D | partial_sort_copy.pass.cpp | 63 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 D | copy_if.pass.cpp | 30 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 …]
|