Lines Matching defs:ap
28 va_list ap;
29 va_start(ap,buf);
32 vprintf(s,ap); // expected-warning {{format string is not a string literal}}
34 vfprintf(fp,s,ap); // expected-warning {{format string is not a string literal}}
36 vasprintf(&b,s,ap); // expected-warning {{format string is not a string literal}}
41 vsprintf(buf,s,ap); // expected-warning {{format string is not a string lit}}
42 vsnprintf(buf,2,s,ap); // expected-warning {{format string is not a string lit}}
43 vsnprintf(buf,2,global_fmt,ap); // expected-warning {{format string is not a string literal}}
44 __builtin___vsnprintf_chk(buf,2,0,-1,s,ap); // expected-warning {{format string is not a string lit}}
45 __builtin___vsnprintf_chk(buf,2,0,-1,global_fmt,ap); // expected-warning {{format string is not a string literal}}
47 vscanf(s, ap); // expected-warning {{format string is not a string literal}}
68 va_list ap;
69 va_start(ap,buf);
72 vprintf(s,ap); // no-warning
74 vfprintf(fp,s,ap); // no-warning
76 vasprintf(&b,s,ap); // no-warning
79 __builtin___vsnprintf_chk(buf,2,0,-1,s,ap); // no-warning
81 vscanf(s, ap); // expected-warning {{format string is not a string literal}}
144 va_list ap;
145 va_start(ap,buf);
146 vprintf("",ap); // expected-warning {{format string is empty}}
157 va_list ap;
158 va_start(ap,b);
161 vsprintf(b,L"bar %d",ap); // expected-warning {{incompatible pointer types}}, expected-warning {{should not be a wide string}}
392 void rdar8332221(va_list ap, int *x, long *y) {
393 rdar8332221_vprintf_scanf("%", ap, "%d", x); // expected-warning{{incomplete format specifier}}