/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.swap/ |
H A D | ranges.swap_ranges.pass.cpp | 131 constexpr void test_iterators() { in test_iterators() function 166 test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, Out>(); in test_proxy_in_iterators() 167 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 168 test_iterators<ProxyIterator<bidirectional_iterator<int*>>, Out>(); in test_proxy_in_iterators() 169 test_iterators<ProxyIterator<random_access_iterator<int*>>, Out>(); in test_proxy_in_iterators() 170 test_iterators<ProxyIterator<contiguous_iterator<int*>>, Out>(); in test_proxy_in_iterators() 176 test_iterators<cpp20_input_iterator<int*>, cpp20_input_iterator<int*>>(); in test() 177 test_iterators<cpp20_input_iterator<int*>, forward_iterator<int*>>(); in test() 178 test_iterators<cpp20_input_iterator<int*>, bidirectional_iterator<int*>>(); in test() 179 test_iterators<cpp20_input_iterator<int*>, random_access_iterator<int*>>(); in test() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.transform/ |
H A D | ranges.transform.unary.pass.cpp | 85 constexpr bool test_iterators() { in test_iterators() function 182 test_iterators<cpp17_input_iterator<int*>, Out, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test_iterator_in1() 183 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test_iterator_in1() 184 test_iterators<forward_iterator<int*>, Out, forward_iterator<int*>>(); in test_iterator_in1() 185 test_iterators<bidirectional_iterator<int*>, Out, bidirectional_iterator<int*>>(); in test_iterator_in1() 186 test_iterators<random_access_iterator<int*>, Out, random_access_iterator<int*>>(); in test_iterator_in1() 187 test_iterators<contiguous_iterator<int*>, Out, contiguous_iterator<int*>>(); in test_iterator_in1() 188 test_iterators<int*, Out, int*>(); in test_iterator_in1() 190 …static_assert(test_iterators<cpp17_input_iterator<int*>, Out, sentinel_wrapper<cpp17_input_iterato… in test_iterator_in1() 191 …static_assert(test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterato… in test_iterator_in1() [all …]
|
H A D | ranges.transform.binary.range.pass.cpp | 76 constexpr bool test_iterators() { in test_iterators() function 196 …test_iterators<cpp17_input_iterator<int*>, In2, Out, sentinel_wrapper<cpp17_input_iterator<int*>>,… in test_iterator_in1() 197 …test_iterators<cpp20_input_iterator<int*>, In2, Out, sentinel_wrapper<cpp20_input_iterator<int*>>,… in test_iterator_in1() 198 test_iterators<forward_iterator<int*>, In2, Out, forward_iterator<int*>, Sent2>(); in test_iterator_in1() 199 test_iterators<bidirectional_iterator<int*>, In2, Out, bidirectional_iterator<int*>, Sent2>(); in test_iterator_in1() 200 test_iterators<random_access_iterator<int*>, In2, Out, random_access_iterator<int*>, Sent2>(); in test_iterator_in1() 201 test_iterators<contiguous_iterator<int*>, In2, Out, contiguous_iterator<int*>, Sent2>(); in test_iterator_in1() 202 test_iterators<int*, In2, Out, int*, Sent2>(); in test_iterator_in1() 204 …static_assert(test_iterators<cpp17_input_iterator<int*>, In2, Out, sentinel_wrapper<cpp17_input_it… in test_iterator_in1() 205 …static_assert(test_iterators<cpp20_input_iterator<int*>, In2, Out, sentinel_wrapper<cpp20_input_it… in test_iterator_in1() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.reverse/ |
H A D | ranges.reverse.pass.cpp | 66 constexpr void test_iterators() { in test_iterators() function 84 test_iterators<bidirectional_iterator<int*>>(); in test() 85 test_iterators<bidirectional_iterator<int*>, sentinel_wrapper<bidirectional_iterator<int*>>>(); in test() 86 test_iterators<random_access_iterator<int*>>(); in test() 87 test_iterators<random_access_iterator<int*>, sentinel_wrapper<random_access_iterator<int*>>>(); in test() 88 test_iterators<contiguous_iterator<int*>>(); in test() 89 test_iterators<contiguous_iterator<int*>, sentinel_wrapper<contiguous_iterator<int*>>>(); in test() 90 test_iterators<int*>(); in test() 92 test_iterators<ProxyIterator<bidirectional_iterator<int*>>>(); in test() 93 test_iterators<ProxyIterator<random_access_iterator<int*>>>(); in test() [all …]
|
H A D | ranges.reverse_copy.pass.cpp | 77 constexpr void test_iterators() { in test_iterators() function 93 test_iterators<Iter, cpp20_output_iterator<int*>, Sent>(); in test_out_iterators() 94 test_iterators<Iter, forward_iterator<int*>, Sent>(); in test_out_iterators() 95 test_iterators<Iter, bidirectional_iterator<int*>, Sent>(); in test_out_iterators() 96 test_iterators<Iter, random_access_iterator<int*>, Sent>(); in test_out_iterators() 97 test_iterators<Iter, contiguous_iterator<int*>, Sent>(); in test_out_iterators() 98 test_iterators<Iter, int*, Sent>(); in test_out_iterators()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.copy/ |
H A D | ranges.copy_n.pass.cpp | 42 constexpr void test_iterators() { in test_iterators() function 64 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test_in_iterators() 65 test_iterators<forward_iterator<int*>, Out>(); in test_in_iterators() 66 test_iterators<bidirectional_iterator<int*>, Out>(); in test_in_iterators() 67 test_iterators<random_access_iterator<int*>, Out>(); in test_in_iterators() 68 test_iterators<contiguous_iterator<int*>, Out>(); in test_in_iterators() 73 …test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, Out, sentinel_wrapper<ProxyIterator<cpp2… in test_proxy_in_iterators() 74 test_iterators<ProxyIterator<forward_iterator<int*>>, Out>(); in test_proxy_in_iterators() 75 test_iterators<ProxyIterator<bidirectional_iterator<int*>>, Out>(); in test_proxy_in_iterators() 76 test_iterators<ProxyIterator<random_access_iterator<int*>>, Out>(); in test_proxy_in_iterators() [all …]
|
H A D | ranges.copy.pass.cpp | 60 constexpr void test_iterators() { in test_iterators() function 104 test_iterators<cpp20_input_iterator<int*>, Out, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 105 test_iterators<ProxyIterator<cpp20_input_iterator<int*>>, in test() 110 test_iterators<In, Out>(); in test() 111 test_iterators<In, Out, sized_sentinel<In>>(); in test() 112 test_iterators<In, Out, sentinel_wrapper<In>>(); in test() 114 test_iterators<ProxyIterator<In>, ProxyIterator<Out>>(); in test() 115 test_iterators<ProxyIterator<In>, ProxyIterator<Out>, sized_sentinel<ProxyIterator<In>>>(); in test() 116 test_iterators<ProxyIterator<In>, ProxyIterator<Out>, sentinel_wrapper<ProxyIterator<In>>>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.min.max/ |
H A D | ranges.minmax_element.pass.cpp | 65 constexpr void test_iterators(std::initializer_list<int> a, int expectedMin, int expectedMax) { in test_iterators() function 96 constexpr bool test_iterators() { in test_iterators() function 97 test_iterators<It>({}, 0, 0); in test_iterators() 98 test_iterators<It>({1}, 0, 0); in test_iterators() 99 test_iterators<It>({1, 2}, 0, 1); in test_iterators() 100 test_iterators<It>({2, 1}, 1, 0); in test_iterators() 101 test_iterators<It>({2, 1, 2}, 1, 2); in test_iterators() 102 test_iterators<It>({2, 1, 1}, 1, 0); in test_iterators() 103 test_iterators<It>({2, 2, 1}, 2, 1); in test_iterators() 191 test_iterators<forward_iterator<const int*>>(); in test() [all …]
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.fill/ |
H A D | ranges.fill_n.pass.cpp | 36 constexpr void test_iterators() { in test_iterators() function 52 test_iterators<cpp17_output_iterator<int*>, sentinel_wrapper<cpp17_output_iterator<int*>>>(); in test() 53 test_iterators<cpp20_output_iterator<int*>, sentinel_wrapper<cpp20_output_iterator<int*>>>(); in test() 54 test_iterators<forward_iterator<int*>>(); in test() 55 test_iterators<bidirectional_iterator<int*>>(); in test() 56 test_iterators<random_access_iterator<int*>>(); in test() 57 test_iterators<contiguous_iterator<int*>>(); in test() 58 test_iterators<int*>(); in test()
|
H A D | ranges.fill.pass.cpp | 46 constexpr void test_iterators() { in test_iterators() function 79 test_iterators<cpp17_output_iterator<int*>, sentinel_wrapper<cpp17_output_iterator<int*>>>(); in test() 80 test_iterators<cpp20_output_iterator<int*>, sentinel_wrapper<cpp20_output_iterator<int*>>>(); in test() 81 test_iterators<forward_iterator<int*>>(); in test() 82 test_iterators<bidirectional_iterator<int*>>(); in test() 83 test_iterators<random_access_iterator<int*>>(); in test() 84 test_iterators<contiguous_iterator<int*>>(); in test() 85 test_iterators<int*>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/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()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.sort/is.sorted/ |
H A D | ranges.is_sorted.pass.cpp | 53 constexpr void test_iterators() { in test_iterators() function 140 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 141 test_iterators<forward_iterator<int*>>(); in test() 142 test_iterators<bidirectional_iterator<int*>>(); in test() 143 test_iterators<random_access_iterator<int*>>(); in test() 144 test_iterators<contiguous_iterator<int*>>(); in test() 145 test_iterators<int*>(); in test() 146 test_iterators<const int*>(); in test()
|
H A D | ranges.is_sorted_until.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()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.find/ |
H A D | ranges.find.pass.cpp | 65 constexpr void test_iterators() { in test_iterators() function 128 test_iterators<Iter>(); in test() 129 test_iterators<Iter, sentinel_wrapper<Iter>>(); in test() 130 test_iterators<Iter, sized_sentinel<Iter>>(); in test() 276 test_iterators<Iter>(); in main() 277 test_iterators<Iter, sentinel_wrapper<Iter>>(); in main() 278 test_iterators<Iter, sized_sentinel<Iter>>(); in main() 283 test_iterators<Iter>(); in main() 284 test_iterators<Iter, sentinel_wrapper<Iter>>(); in main() 285 test_iterators<Iter, sized_sentinel<Iter>>(); in main()
|
H A D | ranges.find_if.pass.cpp | 62 constexpr void test_iterators() { in test_iterators() function 86 test_iterators<int*>(); in test() 87 test_iterators<const int*>(); in test() 88 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 89 test_iterators<bidirectional_iterator<int*>>(); in test() 90 test_iterators<forward_iterator<int*>>(); in test() 91 test_iterators<random_access_iterator<int*>>(); in test() 92 test_iterators<contiguous_iterator<int*>>(); in test()
|
H A D | ranges.find_if_not.pass.cpp | 62 constexpr void test_iterators() { in test_iterators() function 86 test_iterators<int*>(); in test() 87 test_iterators<const int*>(); in test() 88 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 89 test_iterators<bidirectional_iterator<int*>>(); in test() 90 test_iterators<forward_iterator<int*>>(); in test() 91 test_iterators<random_access_iterator<int*>>(); in test() 92 test_iterators<contiguous_iterator<int*>>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.replace/ |
H A D | ranges.replace_if.pass.cpp | 79 constexpr void test_iterators() { in test_iterators() function 93 test_iterators<cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test() 94 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_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()
|
H A D | ranges.replace.pass.cpp | 88 constexpr void test_iterators() { in test_iterators() function 102 test_iterators<cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int*>>>(); in test() 103 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 104 test_iterators<forward_iterator<int*>>(); in test() 105 test_iterators<bidirectional_iterator<int*>>(); in test() 106 test_iterators<random_access_iterator<int*>>(); in test() 107 test_iterators<contiguous_iterator<int*>>(); in test() 108 test_iterators<int*>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/ |
H A D | ranges.adjacent_find.pass.cpp | 74 constexpr void test_iterators() { in test_iterators() function 92 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 93 test_iterators<forward_iterator<int*>>(); in test() 94 test_iterators<bidirectional_iterator<int*>>(); in test() 95 test_iterators<random_access_iterator<int*>>(); in test() 96 test_iterators<contiguous_iterator<int*>>(); in test() 97 test_iterators<int*>(); in test() 98 test_iterators<const int*>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.search/ |
H A D | ranges.search_n.pass.cpp | 58 constexpr void test_iterators() { in test_iterators() function 248 test_iterators<forward_iterator<int*>>(); in test() 249 test_iterators<forward_iterator<int*>, sized_sentinel<forward_iterator<int*>>>(); in test() 250 test_iterators<bidirectional_iterator<int*>>(); in test() 251 test_iterators<bidirectional_iterator<int*>, sized_sentinel<bidirectional_iterator<int*>>>(); in test() 252 test_iterators<random_access_iterator<int*>>(); in test() 253 test_iterators<random_access_iterator<int*>, sized_sentinel<random_access_iterator<int*>>>(); in test() 254 test_iterators<contiguous_iterator<int*>>(); in test() 255 test_iterators<contiguous_iterator<int*>, sized_sentinel<contiguous_iterator<int*>>>(); in test() 256 test_iterators<int*>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.lex.comparison/ |
H A D | ranges.lexicographical_compare.pass.cpp | 97 constexpr void test_iterators() { in test_iterators() function 120 …test_iterators<Iter1, Sent1, cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int… in test_iterators2() 121 …test_iterators<Iter1, Sent1, cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int… in test_iterators2() 122 test_iterators<Iter1, Sent1, forward_iterator<int*>>(); in test_iterators2() 123 test_iterators<Iter1, Sent1, bidirectional_iterator<int*>>(); in test_iterators2() 124 test_iterators<Iter1, Sent1, random_access_iterator<int*>>(); in test_iterators2() 125 test_iterators<Iter1, Sent1, contiguous_iterator<int*>>(); in test_iterators2() 126 test_iterators<Iter1, Sent1, int*>(); in test_iterators2() 127 test_iterators<Iter1, Sent1, const int*>(); in test_iterators2()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.sorting/alg.binary.search/binary.search/ |
H A D | ranges.binary_search.pass.cpp | 57 constexpr void test_iterators() { in test_iterators() function 144 test_iterators<int*>(); in test() 145 test_iterators<forward_iterator<int*>>(); in test() 146 test_iterators<forward_iterator<int*>, sentinel_wrapper<forward_iterator<int*>>>(); in test() 147 test_iterators<bidirectional_iterator<int*>>(); in test() 148 test_iterators<random_access_iterator<int*>>(); in test() 149 test_iterators<contiguous_iterator<int*>>(); in test() 150 test_iterators<contiguous_iterator<int*>, sentinel_wrapper<contiguous_iterator<int*>>>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
H A D | ranges.rotate_copy.pass.cpp | 78 constexpr void test_iterators() { in test_iterators() function 106 test_iterators<Iter, cpp20_output_iterator<int*>, Sent>(); in test_out_iterators() 107 test_iterators<Iter, forward_iterator<int*>, Sent>(); in test_out_iterators() 108 test_iterators<Iter, bidirectional_iterator<int*>, Sent>(); in test_out_iterators() 109 test_iterators<Iter, random_access_iterator<int*>, Sent>(); in test_out_iterators() 110 test_iterators<Iter, contiguous_iterator<int*>, Sent>(); in test_out_iterators() 111 test_iterators<Iter, int*, Sent>(); in test_out_iterators()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.none_of/ |
H A D | ranges.none_of.pass.cpp | 67 constexpr void test_iterators() { in test_iterators() function 136 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 137 test_iterators<forward_iterator<int*>>(); in test() 138 test_iterators<bidirectional_iterator<int*>>(); in test() 139 test_iterators<random_access_iterator<int*>>(); in test() 140 test_iterators<contiguous_iterator<int*>>(); in test() 141 test_iterators<int*>(); in test()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.nonmodifying/alg.all_of/ |
H A D | ranges.all_of.pass.cpp | 67 constexpr void test_iterators() { in test_iterators() function 136 test_iterators<cpp20_input_iterator<int*>, sentinel_wrapper<cpp20_input_iterator<int*>>>(); in test() 137 test_iterators<forward_iterator<int*>>(); in test() 138 test_iterators<bidirectional_iterator<int*>>(); in test() 139 test_iterators<random_access_iterator<int*>>(); in test() 140 test_iterators<contiguous_iterator<int*>>(); in test() 141 test_iterators<int*>(); in test()
|