Lines Matching refs:scanf
5 int scanf(const char * restrict, ...) ;
44 scanf("%wc", &c); in w_test()
45 scanf("%wC", &c); in w_test()
46 scanf("%C", &c); in w_test()
47 scanf("%ws", s); in w_test()
48 scanf("%wS", s); in w_test()
49 scanf("%S", s); in w_test()
58 …scanf("%wc", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
59 …scanf("%wC", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
60 …scanf("%C", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *')… in w_test()
61 …scanf("%ws", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
62 …scanf("%wS", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
63 …scanf("%S", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *')… in w_test()
73 …scanf("%hc", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
74 …scanf("%hC", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
75 …scanf("%hs", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
76 …scanf("%hS", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
85 scanf("%Z", p); // expected-warning{{invalid conversion specifier 'Z'}} in z_test()