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("%p", 123); in test()
25 printf("%c\n", "x"); in test()
26 printf("%c\n", 1.23); in test()
29 printf("%+.2d", (unsigned long long) 123456); in test()
30 printf("%1d", (long double) 1.23); in test()
33 printf("%0+s", (unsigned) 31337); // 0 flag should stay in test()
34 printf("%#p", (void *) 0); in test()
35 printf("% +f", 1.23); // + flag should stay in test()
36 printf("%0-f", 1.23); // - flag should stay in test()
41 printf("%1$f:%2$.*3$f:%4$.*3$f\n", 1, 2, 3, 4); in test()
45 printf("%10.5d", 1l); // (bug 7394) in test()
46 printf("%.2c", 'a'); in test()
49 printf("%0-f", 1.23); in test()
52 printf("%hhs", "foo"); in test()
55 printf("%1$zp", (void *)0); in test()
60 printf("%X", val); in test()
63 printf("%f", (size_t) 42); in test()
64 printf("%f", (intmax_t) 42); in test()
65 printf("%f", (uintmax_t) 42); in test()
66 printf("%f", (ptrdiff_t) 42); in test()
74 printf("%f", (my_size_type) 42); in test()
75 printf("%f", (my_intmax_type) 42); in test()
76 printf("%f", (my_uintmax_type) 42); in test()
77 printf("%f", (my_ptrdiff_type) 42); in test()
78 printf("%f", (my_int_type) 42); in test()
81 printf("%ld", "foo"); in test()
84 printf("%o", (long) 42); in test()
85 printf("%u", (long) 42); in test()
86 printf("%x", (long) 42); in test()
87 printf("%X", (long) 42); in test()
88 printf("%i", (unsigned long) 42); in test()
89 printf("%d", (unsigned long) 42); in test()
90 printf("%F", (long double) 42); in test()
91 printf("%e", (long double) 42); in test()
92 printf("%E", (long double) 42); in test()
93 printf("%g", (long double) 42); in test()
94 printf("%G", (long double) 42); in test()
95 printf("%a", (long double) 42); in test()
96 printf("%A", (long double) 42); in test()
179 // CHECK: printf("%d", (int) 123);
180 // CHECK: printf("abc%s", "testing testing 123");
181 // CHECK: printf("%ld", (long) -12);
182 // CHECK: printf("%d", 123);
183 // CHECK: printf("%s\n", "x");
184 // CHECK: printf("%f\n", 1.23);
185 // CHECK: printf("%+.2lld", (unsigned long long) 123456);
186 // CHECK: printf("%1Lf", (long double) 1.23);
187 // CHECK: printf("%0u", (unsigned) 31337);
188 // CHECK: printf("%p", (void *) 0);
189 // CHECK: printf("%+f", 1.23);
190 // CHECK: printf("%-f", 1.23);
191 // CHECK: printf("%1$d:%2$.*3$d:%4$.*3$d\n", 1, 2, 3, 4);
192 // CHECK: printf("%10.5ld", 1l);
193 // CHECK: printf("%c", 'a');
194 // CHECK: printf("%-f", 1.23);
195 // CHECK: printf("%s", "foo");
196 // CHECK: printf("%1$p", (void *)0);
197 // CHECK: printf("%lX", val);
198 // CHECK: printf("%zu", (size_t) 42);
199 // CHECK: printf("%jd", (intmax_t) 42);
200 // CHECK: printf("%ju", (uintmax_t) 42);
201 // CHECK: printf("%td", (ptrdiff_t) 42);
202 // CHECK: printf("%zu", (my_size_type) 42);
203 // CHECK: printf("%jd", (my_intmax_type) 42);
204 // CHECK: printf("%ju", (my_uintmax_type) 42);
205 // CHECK: printf("%td", (my_ptrdiff_type) 42);
206 // CHECK: printf("%d", (my_int_type) 42);
207 // CHECK: printf("%s", "foo");
208 // CHECK: printf("%lo", (long) 42);
209 // CHECK: printf("%ld", (long) 42);
210 // CHECK: printf("%lx", (long) 42);
211 // CHECK: printf("%lX", (long) 42);
212 // CHECK: printf("%lu", (unsigned long) 42);
213 // CHECK: printf("%lu", (unsigned long) 42);
214 // CHECK: printf("%LF", (long double) 42);
215 // CHECK: printf("%Le", (long double) 42);
216 // CHECK: printf("%LE", (long double) 42);
217 // CHECK: printf("%Lg", (long double) 42);
218 // CHECK: printf("%LG", (long double) 42);
219 // CHECK: printf("%La", (long double) 42);
220 // CHECK: printf("%LA", (long double) 42);