Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/alg.modifying.operations/alg.swap/
H A Dranges.swap_ranges.pass.cpp131 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 Dranges.transform.unary.pass.cpp85 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 Dranges.transform.binary.range.pass.cpp76 constexpr bool test_iterators() { in test_iterators() function
196test_iterators<cpp17_input_iterator<int*>, In2, Out, sentinel_wrapper<cpp17_input_iterator<int*>>,… in test_iterator_in1()
197test_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 Dranges.reverse.pass.cpp66 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 Dranges.reverse_copy.pass.cpp77 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 Dranges.copy_n.pass.cpp42 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()
73test_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 Dranges.copy.pass.cpp60 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 Dranges.minmax_element.pass.cpp65 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 Dranges.fill_n.pass.cpp36 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 Dranges.fill.pass.cpp46 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 Dranges.is_partitioned.pass.cpp75 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 Dranges.is_sorted.pass.cpp53 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 Dranges.is_sorted_until.pass.cpp54 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 Dranges.find.pass.cpp65 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 Dranges.find_if.pass.cpp62 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 Dranges.find_if_not.pass.cpp62 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 Dranges.replace_if.pass.cpp79 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 Dranges.replace.pass.cpp88 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 Dranges.adjacent_find.pass.cpp74 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 Dranges.search_n.pass.cpp58 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 Dranges.lexicographical_compare.pass.cpp97 constexpr void test_iterators() { in test_iterators() function
120test_iterators<Iter1, Sent1, cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int… in test_iterators2()
121test_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 Dranges.binary_search.pass.cpp57 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 Dranges.rotate_copy.pass.cpp78 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 Dranges.none_of.pass.cpp67 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 Dranges.all_of.pass.cpp67 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()

1234