Lines Matching full:printf
11 int printf(char const *, ...);
21 printf("%s", (int) 123); in test()
22 printf("abc%0f", "testing testing 123"); in test()
23 printf("%u", (long) -12); in test()
24 printf("%b", (long) -13); in test()
25 printf("%d", (long) -14); in test()
26 printf("%p", 123); in test()
27 printf("%c\n", "x"); in test()
28 printf("%c\n", 1.23); in test()
31 printf("%+.2d", (unsigned long long) 123456); in test()
32 printf("%1d", (long double) 1.23); in test()
35 printf("%0+s", (unsigned) 31337); // 0 flag should stay in test()
36 printf("%#p", (void *) 0); in test()
37 printf("% +f", 1.23); // + flag should stay in test()
38 printf("%0-f", 1.23); // - flag should stay in test()
43 printf("%1$f:%2$.*3$f:%4$.*3$f\n", 1, 2, 3, 4); in test()
47 printf("%10.5d", 1l); // (bug 7394) in test()
48 printf("%.2c", 'a'); in test()
51 printf("%0-f", 1.23); in test()
54 printf("%hhs", "foo"); in test()
57 printf("%1$zp", (void *)0); in test()
62 printf("%X", val); in test()
65 printf("%f", (size_t) 42); in test()
66 printf("%f", (intmax_t) 42); in test()
67 printf("%f", (uintmax_t) 42); in test()
68 printf("%f", (ptrdiff_t) 42); in test()
76 printf("%f", (my_size_type) 42); in test()
77 printf("%f", (my_intmax_type) 42); in test()
78 printf("%f", (my_uintmax_type) 42); in test()
79 printf("%f", (my_ptrdiff_type) 42); in test()
80 printf("%f", (my_int_type) 42); in test()
83 printf("%ld", "foo"); in test()
86 printf("%o", (long) 42); in test()
87 printf("%u", (long) 42); in test()
88 printf("%x", (long) 42); in test()
89 printf("%X", (long) 42); in test()
90 printf("%i", (unsigned long) 42); in test()
91 printf("%d", (unsigned long) 42); in test()
92 printf("%F", (long double) 42); in test()
93 printf("%e", (long double) 42); in test()
94 printf("%E", (long double) 42); in test()
95 printf("%g", (long double) 42); in test()
96 printf("%G", (long double) 42); in test()
97 printf("%a", (long double) 42); in test()
98 printf("%A", (long double) 42); in test()
183 // CHECK: printf("%d", (int) 123);
184 // CHECK: printf("abc%s", "testing testing 123");
185 // CHECK: printf("%ld", (long) -12);
186 // CHECK: printf("%lb", (long) -13);
187 // CHECK: printf("%ld", (long) -14);
188 // CHECK: printf("%d", 123);
189 // CHECK: printf("%s\n", "x");
190 // CHECK: printf("%f\n", 1.23);
191 // CHECK: printf("%+.2lld", (unsigned long long) 123456);
192 // CHECK: printf("%1Lf", (long double) 1.23);
193 // CHECK: printf("%0u", (unsigned) 31337);
194 // CHECK: printf("%p", (void *) 0);
195 // CHECK: printf("%+f", 1.23);
196 // CHECK: printf("%-f", 1.23);
197 // CHECK: printf("%1$d:%2$.*3$d:%4$.*3$d\n", 1, 2, 3, 4);
198 // CHECK: printf("%10.5ld", 1l);
199 // CHECK: printf("%c", 'a');
200 // CHECK: printf("%-f", 1.23);
201 // CHECK: printf("%s", "foo");
202 // CHECK: printf("%1$p", (void *)0);
203 // CHECK: printf("%lX", val);
204 // CHECK: printf("%zu", (size_t) 42);
205 // CHECK: printf("%jd", (intmax_t) 42);
206 // CHECK: printf("%ju", (uintmax_t) 42);
207 // CHECK: printf("%td", (ptrdiff_t) 42);
208 // CHECK: printf("%zu", (my_size_type) 42);
209 // CHECK: printf("%jd", (my_intmax_type) 42);
210 // CHECK: printf("%ju", (my_uintmax_type) 42);
211 // CHECK: printf("%td", (my_ptrdiff_type) 42);
212 // CHECK: printf("%d", (my_int_type) 42);
213 // CHECK: printf("%s", "foo");
214 // CHECK: printf("%lo", (long) 42);
215 // CHECK: printf("%ld", (long) 42);
216 // CHECK: printf("%lx", (long) 42);
217 // CHECK: printf("%lX", (long) 42);
218 // CHECK: printf("%lu", (unsigned long) 42);
219 // CHECK: printf("%lu", (unsigned long) 42);
220 // CHECK: printf("%LF", (long double) 42);
221 // CHECK: printf("%Le", (long double) 42);
222 // CHECK: printf("%LE", (long double) 42);
223 // CHECK: printf("%Lg", (long double) 42);
224 // CHECK: printf("%LG", (long double) 42);
225 // CHECK: printf("%La", (long double) 42);
226 // CHECK: printf("%LA", (long double) 42);