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()
58scanf("%wc", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
59scanf("%wC", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
60scanf("%C", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *')… in w_test()
61scanf("%ws", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
62scanf("%wS", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *'… in w_test()
63scanf("%S", &bad); // expected-warning{{format specifies type 'wchar_t *' (aka 'unsigned short *')… in w_test()
73scanf("%hc", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
74scanf("%hC", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
75scanf("%hs", &bad); // expected-warning{{format specifies type 'char *' but the argument has type … in h_test()
76scanf("%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()