Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.swap/
H A Dranges.swap_ranges.pass.cpp132 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 Dranges.reverse.pass.cpp67 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 Dranges.reverse_copy.pass.cpp78 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 Dranges.copy_n.pass.cpp43 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()
74test_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 Dranges.copy.pass.cpp57 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()
116test_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 Dranges.fill_n.pass.cpp37 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 Dranges.fill.pass.cpp47 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 Dranges.minmax_element.pass.cpp97 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 Dranges.is_sorted.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()
H A Dranges.is_sorted_until.pass.cpp55 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 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()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
H A Dranges.replace_if.pass.cpp81 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 Dranges.replace.pass.cpp86 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 Dranges.adjacent_find.pass.cpp76 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 Dranges.rotate_copy.pass.cpp79 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 Dranges.binary_search.pass.cpp58 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 Dranges.find_if.pass.cpp64 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 Dranges.find_if_not.pass.cpp64 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 Dranges.find.pass.cpp58 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 Dranges.lexicographical_compare.pass.cpp99 constexpr void test_iterators() { in test_iterators() function
122test_iterators<Iter1, Sent1, cpp17_input_iterator<int*>, sentinel_wrapper<cpp17_input_iterator<int… in test_iterators2()
123test_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 Dranges.all_of.pass.cpp68 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 Dranges.none_of.pass.cpp68 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 Dranges.any_of.pass.cpp68 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 Dranges.move.pass.cpp82 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()
100test_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 Dranges.search_n.pass.cpp59 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()

123