Lines Matching full:printf
4 int printf(const char *format, ...) __attribute__((format(printf, 1, 2)));
12 printf("%Id", i32); // expected-warning{{'I' length modifier is not supported by ISO C}} in non_iso_warning_test()
13 printf("%I32d", i32); // expected-warning{{'I32' length modifier is not supported by ISO C}} in non_iso_warning_test()
14 printf("%I64d", i64); // expected-warning{{'I64' length modifier is not supported by ISO C}} in non_iso_warning_test()
15 printf("%wc", c); // expected-warning{{'w' length modifier is not supported by ISO C}} in non_iso_warning_test()
16 printf("%Z", p); // expected-warning{{'Z' conversion specifier is not supported by ISO C}} in non_iso_warning_test()
23 …printf("val = %I64d\n", val); // expected-warning{{format specifies type '__int64' (aka 'long long… in signed_test()
25 …printf("val = %I32d\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') … in signed_test()
26 …printf("val = %Id\n", bigval); // expected-warning{{format specifies type '__int32' (aka 'int') bu… in signed_test()
31 …printf("val = %I64u\n", val); // expected-warning{{format specifies type 'unsigned __int64' (aka '… in unsigned_test()
33 …printf("val = %I32u\n", bigval); // expected-warning{{format specifies type 'unsigned __int32' (ak… in unsigned_test()
34 …printf("val = %Iu\n", bigval); // expected-warning{{format specifies type 'unsigned __int32' (aka … in unsigned_test()
38 printf("%wc", c); in w_test()
39 printf("%wC", c); in w_test()
40 printf("%C", c); in w_test()
41 printf("%ws", s); in w_test()
42 printf("%wS", s); in w_test()
43 printf("%S", s); in w_test()
52 …printf("%wc", bad); // expected-warning{{format specifies type 'wint_t' (aka 'unsigned short') but… in w_test()
53 …printf("%wC", bad); // expected-warning{{format specifies type 'wchar_t' (aka 'unsigned short') bu… in w_test()
54 …printf("%C", bad); // expected-warning{{format specifies type 'wchar_t' (aka 'unsigned short') but… in w_test()
55 …printf("%ws", bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
56 …printf("%wS", bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
57 …printf("%S", bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *')… in w_test()
69 …printf("%hc", bad); // expected-warning{{format specifies type 'int' but the argument has type 'do… in h_test()
70 …printf("%hC", bad); // expected-warning{{format specifies type 'int' but the argument has type 'do… in h_test()
71 …printf("%hs", bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
72 …printf("%hS", bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
80 printf("%Z", p); in z_test()
81 printf("%hZ", p); in z_test()
82 printf("%lZ", p); in z_test()
83 printf("%wZ", p); in z_test()
84 …printf("%hhZ", p); // expected-warning{{length modifier 'hh' results in undefined behavior or no e… in z_test()