Home
last modified time | relevance | path

Searched refs:format_arg (Results 1 – 14 of 14) sorted by relevance

/external/clang/test/SemaObjC/
Dformat-arg-attribute.m5 extern NSString *fa2 (const NSString *) __attribute__((format_arg(1)));
6 extern NSString *fa3 (NSString *) __attribute__((format_arg(1)));
8 extern void fc1 (const NSString *) __attribute__((format_arg)); // expected-error {{'format_arg' a…
9 extern void fc2 (const NSString *) __attribute__((format_arg())); // expected-error {{'format_arg' …
10 extern void fc3 (const NSString *) __attribute__((format_arg(1, 2))); // expected-error {{'format_a…
12 struct s1 { int i; } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute …
13 union u1 { int i; } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute o…
14 enum e1 { E1V0 } __attribute__((format_arg(1))); // expected-warning {{'format_arg' attribute only …
16 extern NSString *ff3 (const NSString *) __attribute__((format_arg(3-2)));
17 extern NSString *ff4 (const NSString *) __attribute__((format_arg(foo))); // expected-error {{use o…
[all …]
Dformat-strings-objc.m38 // The definition on Mac OS X is NOT annotated with format_arg as of 10.8,
/external/clang/test/SemaCXX/
Dattr-format.cpp4 static const char* f2(const char*) __attribute__((format_arg(1)));
9 const char* g2(const char*) __attribute__((format_arg(2)));
15 const char* h3(const char*) __attribute__((format_arg(1))); // \
Dformat-strings.cpp26 const char *gettext(const char *fmt) __attribute__((format_arg(2)));
32 static const char *gettext_static(const char *fmt) __attribute__((format_arg(1)));
Dvalue-dependent-exprs.cpp34 __attribute__((format_arg(1 + I))),
/external/elfutils/tests/
Drun-nm-self.sh26 for format_arg in --format=bsd --format=sysv --format=posix; do
31 testrun ${abs_top_builddir}/src/nm $what_arg $format_arg $out_arg $self_file > /dev/null
/external/clang/test/Sema/
Dattr-format.c72 const char *foo(const char *format) __attribute__((format_arg(1)));
89 const char *foo3(const char *format) __attribute__((format_arg("foo"))); // expected-error{{'forma…
Dattr-format_arg.c5 const char* f(const char *s) __attribute__((format_arg(1)));
/external/clang/test/Misc/
Dattr-source-range.cpp3 void f(int i) __attribute__((format_arg(1)));
/external/mesa3d/m4/
Dax_gcc_func_attribute.m442 # format_arg
138 [format_arg], [
/external/kmod/m4/
Dattributes.m4174 [format_arg], [format_arg(printf)],
175 [char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }],
/external/libdaemon/m4/
Dattributes.m4181 [format_arg], [format_arg(printf)],
182 [char *__attribute__((format_arg(1))) gettextlike(const char *fmt) { fmt = (void *)0; }],
/external/python/cpython3/Modules/
Dtimemodule.c712 PyObject *format_arg; in time_strftime() local
723 if (!PyArg_ParseTuple(args, "U|O:strftime", &format_arg, &tup)) in time_strftime()
755 format = PyUnicode_AsWideCharString(format_arg, NULL); in time_strftime()
761 format = PyUnicode_EncodeLocale(format_arg, "surrogateescape"); in time_strftime()
/external/clang/include/clang/Basic/
DAttr.td847 let Spellings = [GCC<"format_arg">];