Lines Matching full:printf
11 int printf(char const *, ...);
20 printf("%s", (int) 123);
21 printf("abc%0f", "testing testing 123");
22 printf("%u", (long) -12);
23 printf("%p", 123);
24 printf("%c\n", "x");
25 printf("%c\n", 1.23);
28 printf("%+.2d", (unsigned long long) 123456);
29 printf("%1d", (long double) 1.23);
32 printf("%0+s", (unsigned) 31337); // 0 flag should stay
33 printf("%#p", (void *) 0);
34 printf("% +f", 1.23); // + flag should stay
35 printf("%0-f", 1.23); // - flag should stay
40 printf("%1$f:%2$.*3$f:%4$.*3$f\n", 1, 2, 3, 4);
44 printf("%10.5d", 1l); // (bug 7394)
45 printf("%.2c", 'a');
48 printf("%0-f", 1.23);
51 printf("%hhs", "foo");
54 printf("%1$zp", (void *)0);
59 printf("%X", val);
62 printf("%f", (size_t) 42);
63 printf("%f", (intmax_t) 42);
64 printf("%f", (uintmax_t) 42);
65 printf("%f", (ptrdiff_t) 42);
73 printf("%f", (my_size_type) 42);
74 printf("%f", (my_intmax_type) 42);
75 printf("%f", (my_uintmax_type) 42);
76 printf("%f", (my_ptrdiff_type) 42);
77 printf("%f", (my_int_type) 42);
80 printf("%ld", "foo");
83 printf("%o", (long) 42);
84 printf("%u", (long) 42);
85 printf("%x", (long) 42);
86 printf("%X", (long) 42);
87 printf("%i", (unsigned long) 42);
88 printf("%d", (unsigned long) 42);
89 printf("%F", (long double) 42);
90 printf("%e", (long double) 42);
91 printf("%E", (long double) 42);
92 printf("%g", (long double) 42);
93 printf("%G", (long double) 42);
94 printf("%a", (long double) 42);
95 printf("%A", (long double) 42);
166 // CHECK: printf("%d", (int) 123);
167 // CHECK: printf("abc%s", "testing testing 123");
168 // CHECK: printf("%ld", (long) -12);
169 // CHECK: printf("%d", 123);
170 // CHECK: printf("%s\n", "x");
171 // CHECK: printf("%f\n", 1.23);
172 // CHECK: printf("%+.2lld", (unsigned long long) 123456);
173 // CHECK: printf("%1Lf", (long double) 1.23);
174 // CHECK: printf("%0u", (unsigned) 31337);
175 // CHECK: printf("%p", (void *) 0);
176 // CHECK: printf("%+f", 1.23);
177 // CHECK: printf("%-f", 1.23);
178 // CHECK: printf("%1$d:%2$.*3$d:%4$.*3$d\n", 1, 2, 3, 4);
179 // CHECK: printf("%10.5ld", 1l);
180 // CHECK: printf("%c", 'a');
181 // CHECK: printf("%-f", 1.23);
182 // CHECK: printf("%s", "foo");
183 // CHECK: printf("%1$p", (void *)0);
184 // CHECK: printf("%lX", val);
185 // CHECK: printf("%zu", (size_t) 42);
186 // CHECK: printf("%jd", (intmax_t) 42);
187 // CHECK: printf("%ju", (uintmax_t) 42);
188 // CHECK: printf("%td", (ptrdiff_t) 42);
189 // CHECK: printf("%zu", (my_size_type) 42);
190 // CHECK: printf("%jd", (my_intmax_type) 42);
191 // CHECK: printf("%ju", (my_uintmax_type) 42);
192 // CHECK: printf("%td", (my_ptrdiff_type) 42);
193 // CHECK: printf("%d", (my_int_type) 42);
194 // CHECK: printf("%s", "foo");
195 // CHECK: printf("%lo", (long) 42);
196 // CHECK: printf("%ld", (long) 42);
197 // CHECK: printf("%lx", (long) 42);
198 // CHECK: printf("%lX", (long) 42);
199 // CHECK: printf("%lu", (unsigned long) 42);
200 // CHECK: printf("%lu", (unsigned long) 42);
201 // CHECK: printf("%LF", (long double) 42);
202 // CHECK: printf("%Le", (long double) 42);
203 // CHECK: printf("%LE", (long double) 42);
204 // CHECK: printf("%Lg", (long double) 42);
205 // CHECK: printf("%LG", (long double) 42);
206 // CHECK: printf("%La", (long double) 42);
207 // CHECK: printf("%LA", (long double) 42);