Lines Matching refs:ap
27 va_list ap;
28 va_start(ap,buf);
31 vprintf(s,ap); // expected-warning {{format string is not a string literal}}
33 vfprintf(fp,s,ap); // expected-warning {{format string is not a string literal}}
35 vasprintf(&b,s,ap); // expected-warning {{format string is not a string literal}}
40 vsprintf(buf,s,ap); // expected-warning {{format string is not a string lit}}
41 vsnprintf(buf,2,s,ap); // expected-warning {{format string is not a string lit}}
42 vsnprintf(buf,2,global_fmt,ap); // expected-warning {{format string is not a string literal}}
43 __builtin___vsnprintf_chk(buf,2,0,-1,s,ap); // expected-warning {{format string is not a string lit}}
44 __builtin___vsnprintf_chk(buf,2,0,-1,global_fmt,ap); // expected-warning {{format string is not a string literal}}
46 vscanf(s, ap); // expected-warning {{format string is not a string literal}}
67 va_list ap;
68 va_start(ap,buf);
71 vprintf(s,ap); // no-warning
73 vfprintf(fp,s,ap); // no-warning
75 vasprintf(&b,s,ap); // no-warning
78 __builtin___vsnprintf_chk(buf,2,0,-1,s,ap); // no-warning
80 vscanf(s, ap); // expected-warning {{format string is not a string literal}}
143 va_list ap;
144 va_start(ap,buf);
145 vprintf("",ap); // expected-warning {{format string is empty}}
156 va_list ap;
157 va_start(ap,b);
160 vsprintf(b,L"bar %d",ap); // expected-warning {{incompatible pointer types}}, expected-warning {{should not be a wide string}}
391 void rdar8332221(va_list ap, int *x, long *y) {
392 rdar8332221_vprintf_scanf("%", ap, "%d", x); // expected-warning{{incomplete format specifier}}