Lines Matching defs: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}}
64 va_list ap;
65 va_start(ap,buf);
68 vprintf(s,ap); // no-warning
70 vfprintf(fp,s,ap); // no-warning
72 vasprintf(&b,s,ap); // no-warning
75 __builtin___vsnprintf_chk(buf,2,0,-1,s,ap); // no-warning
77 vscanf(s, ap); // expected-warning {{format string is not a string literal}}
140 va_list ap;
141 va_start(ap,buf);
142 vprintf("",ap); // expected-warning {{format string is empty}}
153 va_list ap;
154 va_start(ap,b);
157 vsprintf(b,L"bar %d",ap); // expected-warning {{incompatible pointer types}}, expected-warning {{should not be a wide string}}
388 void rdar8332221(va_list ap, int *x, long *y) {
389 rdar8332221_vprintf_scanf("%", ap, "%d", x); // expected-warning{{incomplete format specifier}}