Lines Matching refs:A
36 typedef typename S::allocator_type A; in test() typedef
45 assert(s2.get_allocator() == A()); in test()
69 typedef typename S::allocator_type A; in test() typedef
77 assert(s2.get_allocator() == A()); in test()
147 typedef test_allocator<char> A; in main() typedef
148 typedef std::basic_string<char, std::char_traits<char>, A> S; in main()
150 test(S(A(3)), 0); in main()
151 test(S(A(3)), 1); in main()
152 test(S("1", A(5)), 0); in main()
153 test(S("1", A(5)), 1); in main()
154 test(S("1", A(5)), 2); in main()
155 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 0); in main()
156 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 5); in main()
157 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50); in main()
158 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 500); in main()
160 test(S(A(3)), 0, 0); in main()
161 test(S(A(3)), 0, 1); in main()
162 test(S(A(3)), 1, 0); in main()
163 test(S(A(3)), 1, 1); in main()
164 test(S(A(3)), 1, 2); in main()
165 test(S("1", A(5)), 0, 0); in main()
166 test(S("1", A(5)), 0, 1); in main()
167 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 0); in main()
168 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 1); in main()
169 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 10); in main()
170 … test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 100); in main()
172 test(S(A(3)), 0, 0, A(4)); in main()
173 test(S(A(3)), 0, 1, A(4)); in main()
174 test(S(A(3)), 1, 0, A(4)); in main()
175 test(S(A(3)), 1, 1, A(4)); in main()
176 test(S(A(3)), 1, 2, A(4)); in main()
177 test(S("1", A(5)), 0, 0, A(6)); in main()
178 test(S("1", A(5)), 0, 1, A(6)); in main()
179 …st(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 0, A(8)); in main()
180 …st(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 1, A(8)); in main()
181 …t(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 10, A(8)); in main()
182 …(S("1234567890123456789012345678901234567890123456789012345678901234567890", A(7)), 50, 100, A(8)); in main()
186 typedef min_allocator<char> A; in main() typedef
187 typedef std::basic_string<char, std::char_traits<char>, A> S; in main()
189 test(S(A()), 0); in main()
190 test(S(A()), 1); in main()
191 test(S("1", A()), 0); in main()
192 test(S("1", A()), 1); in main()
193 test(S("1", A()), 2); in main()
194 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 0); in main()
195 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 5); in main()
196 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50); in main()
197 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 500); in main()
199 test(S(A()), 0, 0); in main()
200 test(S(A()), 0, 1); in main()
201 test(S(A()), 1, 0); in main()
202 test(S(A()), 1, 1); in main()
203 test(S(A()), 1, 2); in main()
204 test(S("1", A()), 0, 0); in main()
205 test(S("1", A()), 0, 1); in main()
206 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 0); in main()
207 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 1); in main()
208 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 10); in main()
209 test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 100); in main()
211 test(S(A()), 0, 0, A()); in main()
212 test(S(A()), 0, 1, A()); in main()
213 test(S(A()), 1, 0, A()); in main()
214 test(S(A()), 1, 1, A()); in main()
215 test(S(A()), 1, 2, A()); in main()
216 test(S("1", A()), 0, 0, A()); in main()
217 test(S("1", A()), 0, 1, A()); in main()
218 …test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 0, A()); in main()
219 …test(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 1, A()); in main()
220 …est(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 10, A()); in main()
221 …st(S("1234567890123456789012345678901234567890123456789012345678901234567890", A()), 50, 100, A()); in main()