| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/ |
| H A D | ranges.swap_ranges.pass.cpp | 132 constexpr void test_iterators() { in test_iterators() function 168 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 181 test_iterators<cpp20_input_iterator<int*>, int*>(); in test() 187 test_iterators<forward_iterator<int*>, int*>(); in test() 193 test_iterators<bidirectional_iterator<int*>, int*>(); in test() 199 test_iterators<random_access_iterator<int*>, int*>(); in test() 201 test_iterators<int*, cpp20_input_iterator<int*>>(); in test() 202 test_iterators<int*, forward_iterator<int*>>(); in test() 203 test_iterators<int*, bidirectional_iterator<int*>>(); in test() 204 test_iterators<int*, random_access_iterator<int*>>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.reverse/ |
| H A D | ranges.reverse.pass.cpp | 67 constexpr void test_iterators() { in test_iterators() function 85 test_iterators<bidirectional_iterator<int*>>(); in test() 86 test_iterators<bidirectional_iterator<int*>, sentinel_wrapper<bidirectional_iterator<int*>>>(); in test() 87 test_iterators<random_access_iterator<int*>>(); in test() 88 test_iterators<random_access_iterator<int*>, sentinel_wrapper<random_access_iterator<int*>>>(); in test() 89 test_iterators<contiguous_iterator<int*>>(); in test() 90 test_iterators<contiguous_iterator<int*>, sentinel_wrapper<contiguous_iterator<int*>>>(); in test() 91 test_iterators<int*>(); in test() 93 test_iterators<ProxyIterator<bidirectional_iterator<int*>>>(); in test() 94 test_iterators<ProxyIterator<random_access_iterator<int*>>>(); in test() [all …]
|
| H A D | ranges.reverse_copy.pass.cpp | 78 constexpr void test_iterators() { in test_iterators() function 94 test_iterators<Iter, cpp20_output_iterator<int*>, Sent>(); in test_out_iterators() 95 test_iterators<Iter, forward_iterator<int*>, Sent>(); in test_out_iterators() 96 test_iterators<Iter, bidirectional_iterator<int*>, Sent>(); in test_out_iterators() 97 test_iterators<Iter, random_access_iterator<int*>, Sent>(); in test_out_iterators() 98 test_iterators<Iter, contiguous_iterator<int*>, Sent>(); in test_out_iterators() 99 test_iterators<Iter, int*, Sent>(); in test_out_iterators()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.copy/ |
| H A D | ranges.copy_n.pass.cpp | 43 constexpr void test_iterators() { in test_iterators() function 65 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test_in_iterators() 66 test_iterators<forward_iterator<int*>, Out>(); in test_in_iterators() 67 test_iterators<bidirectional_iterator<int*>, Out>(); in test_in_iterators() 68 test_iterators<random_access_iterator<int*>, Out>(); in test_in_iterators() 69 test_iterators<contiguous_iterator<int*>, Out>(); in test_in_iterators() 74 …test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, Out, sentinel_wrapper<ProxyIterator<cpp2… in test_proxy_in_iterators() 75 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 76 test_iterators<ProxyIterator<bidirectional_iterator<int*>>, Out>(); in test_proxy_in_iterators() 77 test_iterators<ProxyIterator<random_access_iterator<int*>>, Out>(); in test_proxy_in_iterators() [all …]
|
| H A D | ranges.copy.pass.cpp | 57 constexpr void test_iterators() { in test_iterators() function 100 test_iterators<In, Out>(); in test_sentinels() 101 test_iterators<In, Out, sized_sentinel<In>>(); in test_sentinels() 102 test_iterators<In, Out, sentinel_wrapper<In>>(); in test_sentinels() 107 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test_in_iterators() 116 …test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, Out, sentinel_wrapper<ProxyIterator<cpp2… in test_proxy_in_iterators() 117 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 118 test_iterators<ProxyIterator<bidirectional_iterator<int*>>, Out>(); in test_proxy_in_iterators() 119 test_iterators<ProxyIterator<random_access_iterator<int*>>, Out>(); in test_proxy_in_iterators() 120 test_iterators<ProxyIterator<contiguous_iterator<int*>>, Out>(); in test_proxy_in_iterators()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/ |
| H A D | ranges.fill_n.pass.cpp | 37 constexpr void test_iterators() { in test_iterators() function 53 test_iterators<cpp17_output_iterator<int*>, sentinel_wrapper<cpp17_output_iterator<int*>>>(); in test() 54 test_iterators<cpp20_output_iterator<int*>, sentinel_wrapper<cpp20_output_iterator<int*>>>(); in test() 55 test_iterators<forward_iterator<int*>>(); in test() 56 test_iterators<bidirectional_iterator<int*>>(); in test() 57 test_iterators<random_access_iterator<int*>>(); in test() 58 test_iterators<contiguous_iterator<int*>>(); in test() 59 test_iterators<int*>(); in test()
|
| H A D | ranges.fill.pass.cpp | 47 constexpr void test_iterators() { in test_iterators() function 80 test_iterators<cpp17_output_iterator<int*>, sentinel_wrapper<cpp17_output_iterator<int*>>>(); in test() 81 test_iterators<cpp20_output_iterator<int*>, sentinel_wrapper<cpp20_output_iterator<int*>>>(); in test() 82 test_iterators<forward_iterator<int*>>(); in test() 83 test_iterators<bidirectional_iterator<int*>>(); in test() 84 test_iterators<random_access_iterator<int*>>(); in test() 85 test_iterators<contiguous_iterator<int*>>(); in test() 86 test_iterators<int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
| H A D | ranges.minmax_element.pass.cpp | 97 constexpr bool test_iterators() { in test_iterators() function 98 test_iterators<It>({}, 0, 0); in test_iterators() 99 test_iterators<It>({1}, 0, 0); in test_iterators() 100 test_iterators<It>({1, 2}, 0, 1); in test_iterators() 101 test_iterators<It>({2, 1}, 1, 0); in test_iterators() 102 test_iterators<It>({2, 1, 2}, 1, 2); in test_iterators() 103 test_iterators<It>({2, 1, 1}, 1, 0); in test_iterators() 104 test_iterators<It>({2, 2, 1}, 2, 1); in test_iterators() 192 test_iterators<forward_iterator<const int*>>(); in test() 196 test_iterators<const int*>(); in test() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/ |
| H A D | ranges.is_sorted.pass.cpp | 54 constexpr void test_iterators() { in test_iterators() function 141 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 142 test_iterators<forward_iterator<int*>>(); in test() 143 test_iterators<bidirectional_iterator<int*>>(); in test() 144 test_iterators<random_access_iterator<int*>>(); in test() 145 test_iterators<contiguous_iterator<int*>>(); in test() 146 test_iterators<int*>(); in test() 147 test_iterators<const int*>(); in test()
|
| H A D | ranges.is_sorted_until.pass.cpp | 55 constexpr void test_iterators() { in test_iterators() function 142 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 143 test_iterators<forward_iterator<int*>>(); in test() 144 test_iterators<bidirectional_iterator<int*>>(); in test() 145 test_iterators<random_access_iterator<int*>>(); in test() 146 test_iterators<contiguous_iterator<int*>>(); in test() 147 test_iterators<int*>(); in test() 148 test_iterators<const int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.partitions/ |
| H A D | ranges.is_partitioned.pass.cpp | 75 constexpr void test_iterators() { in test_iterators() function 191 test_iterators<cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test() 192 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 193 test_iterators<forward_iterator<int*>>(); in test() 194 test_iterators<bidirectional_iterator<int*>>(); in test() 195 test_iterators<random_access_iterator<int*>>(); in test() 196 test_iterators<contiguous_iterator<int*>>(); in test() 197 test_iterators<int*>(); in test() 198 test_iterators<const int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
| H A D | ranges.replace_if.pass.cpp | 81 constexpr void test_iterators() { in test_iterators() function 95 test_iterators<cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test() 96 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 97 test_iterators<forward_iterator<int*>>(); in test() 98 test_iterators<bidirectional_iterator<int*>>(); in test() 99 test_iterators<random_access_iterator<int*>>(); in test() 100 test_iterators<contiguous_iterator<int*>>(); in test() 101 test_iterators<int*>(); in test()
|
| H A D | ranges.replace.pass.cpp | 86 constexpr void test_iterators() { in test_iterators() function 100 test_iterators<cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test() 101 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 102 test_iterators<forward_iterator<int*>>(); in test() 103 test_iterators<bidirectional_iterator<int*>>(); in test() 104 test_iterators<random_access_iterator<int*>>(); in test() 105 test_iterators<contiguous_iterator<int*>>(); in test() 106 test_iterators<int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/ |
| H A D | ranges.adjacent_find.pass.cpp | 76 constexpr void test_iterators() { in test_iterators() function 94 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 95 test_iterators<forward_iterator<int*>>(); in test() 96 test_iterators<bidirectional_iterator<int*>>(); in test() 97 test_iterators<random_access_iterator<int*>>(); in test() 98 test_iterators<contiguous_iterator<int*>>(); in test() 99 test_iterators<int*>(); in test() 100 test_iterators<const int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
| H A D | ranges.rotate_copy.pass.cpp | 79 constexpr void test_iterators() { in test_iterators() function 107 test_iterators<Iter, cpp20_output_iterator<int*>, Sent>(); in test_out_iterators() 108 test_iterators<Iter, forward_iterator<int*>, Sent>(); in test_out_iterators() 109 test_iterators<Iter, bidirectional_iterator<int*>, Sent>(); in test_out_iterators() 110 test_iterators<Iter, random_access_iterator<int*>, Sent>(); in test_out_iterators() 111 test_iterators<Iter, contiguous_iterator<int*>, Sent>(); in test_out_iterators() 112 test_iterators<Iter, int*, Sent>(); in test_out_iterators()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/binary.search/ |
| H A D | ranges.binary_search.pass.cpp | 58 constexpr void test_iterators() { in test_iterators() function 138 test_iterators<int*>(); in test() 139 test_iterators<forward_iterator<int*>>(); in test() 140 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 141 test_iterators<bidirectional_iterator<int*>>(); in test() 142 test_iterators<random_access_iterator<int*>>(); in test() 143 test_iterators<contiguous_iterator<int*>>(); in test() 144 test_iterators<contiguous_iterator<int*>, sentinel_wrapper<contiguous_iterator<int*>>>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/ |
| H A D | ranges.find_if.pass.cpp | 64 constexpr void test_iterators() { in test_iterators() function 88 test_iterators<int*>(); in test() 89 test_iterators<const int*>(); in test() 90 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 91 test_iterators<bidirectional_iterator<int*>>(); in test() 92 test_iterators<forward_iterator<int*>>(); in test() 93 test_iterators<random_access_iterator<int*>>(); in test() 94 test_iterators<contiguous_iterator<int*>>(); in test()
|
| H A D | ranges.find_if_not.pass.cpp | 64 constexpr void test_iterators() { in test_iterators() function 88 test_iterators<int*>(); in test() 89 test_iterators<const int*>(); in test() 90 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 91 test_iterators<bidirectional_iterator<int*>>(); in test() 92 test_iterators<forward_iterator<int*>>(); in test() 93 test_iterators<random_access_iterator<int*>>(); in test() 94 test_iterators<contiguous_iterator<int*>>(); in test()
|
| H A D | ranges.find.pass.cpp | 58 constexpr void test_iterators() { in test_iterators() function 94 test_iterators<int*>(); in test() 95 test_iterators<const int*>(); in test() 96 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 97 test_iterators<bidirectional_iterator<int*>>(); in test() 98 test_iterators<forward_iterator<int*>>(); in test() 99 test_iterators<random_access_iterator<int*>>(); in test() 100 test_iterators<contiguous_iterator<int*>>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.lex.comparison/ |
| H A D | ranges.lexicographical_compare.pass.cpp | 99 constexpr void test_iterators() { in test_iterators() function 122 …test_iterators<Iter1, Sent1, cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int… in test_iterators2() 123 …test_iterators<Iter1, Sent1, cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int… in test_iterators2() 124 test_iterators<Iter1, Sent1, forward_iterator<int*>>(); in test_iterators2() 125 test_iterators<Iter1, Sent1, bidirectional_iterator<int*>>(); in test_iterators2() 126 test_iterators<Iter1, Sent1, random_access_iterator<int*>>(); in test_iterators2() 127 test_iterators<Iter1, Sent1, contiguous_iterator<int*>>(); in test_iterators2() 128 test_iterators<Iter1, Sent1, int*>(); in test_iterators2() 129 test_iterators<Iter1, Sent1, const int*>(); in test_iterators2()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/ |
| H A D | ranges.all_of.pass.cpp | 68 constexpr void test_iterators() { in test_iterators() function 137 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 138 test_iterators<forward_iterator<int*>>(); in test() 139 test_iterators<bidirectional_iterator<int*>>(); in test() 140 test_iterators<random_access_iterator<int*>>(); in test() 141 test_iterators<contiguous_iterator<int*>>(); in test() 142 test_iterators<int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/ |
| H A D | ranges.none_of.pass.cpp | 68 constexpr void test_iterators() { in test_iterators() function 137 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 138 test_iterators<forward_iterator<int*>>(); in test() 139 test_iterators<bidirectional_iterator<int*>>(); in test() 140 test_iterators<random_access_iterator<int*>>(); in test() 141 test_iterators<contiguous_iterator<int*>>(); in test() 142 test_iterators<int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/ |
| H A D | ranges.any_of.pass.cpp | 68 constexpr void test_iterators() { in test_iterators() function 137 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 138 test_iterators<forward_iterator<int*>>(); in test() 139 test_iterators<bidirectional_iterator<int*>>(); in test() 140 test_iterators<random_access_iterator<int*>>(); in test() 141 test_iterators<contiguous_iterator<int*>>(); in test() 142 test_iterators<int*>(); in test()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.move/ |
| H A D | ranges.move.pass.cpp | 82 constexpr void test_iterators() { in test_iterators() function 91 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test_in_iterators() 92 test_iterators<forward_iterator<int*>, Out>(); in test_in_iterators() 93 test_iterators<bidirectional_iterator<int*>, Out>(); in test_in_iterators() 94 test_iterators<random_access_iterator<int*>, Out>(); in test_in_iterators() 95 test_iterators<contiguous_iterator<int*>, Out>(); in test_in_iterators() 100 …test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, Out, sentinel_wrapper<ProxyIterator<cpp2… in test_proxy_in_iterators() 101 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 102 test_iterators<ProxyIterator<bidirectional_iterator<int*>>, Out>(); in test_proxy_in_iterators() 103 test_iterators<ProxyIterator<random_access_iterator<int*>>, Out>(); in test_proxy_in_iterators() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ |
| H A D | ranges.search_n.pass.cpp | 59 constexpr void test_iterators() { in test_iterators() function 249 test_iterators<forward_iterator<int*>>(); in test() 250 test_iterators<forward_iterator<int*>, sized_sentinel<forward_iterator<int*>>>(); in test() 251 test_iterators<bidirectional_iterator<int*>>(); in test() 252 test_iterators<bidirectional_iterator<int*>, sized_sentinel<bidirectional_iterator<int*>>>(); in test() 253 test_iterators<random_access_iterator<int*>>(); in test() 254 test_iterators<random_access_iterator<int*>, sized_sentinel<random_access_iterator<int*>>>(); in test() 255 test_iterators<contiguous_iterator<int*>>(); in test() 256 test_iterators<contiguous_iterator<int*>, sized_sentinel<contiguous_iterator<int*>>>(); in test() 257 test_iterators<int*>(); in test()
|