Searched refs:__format__ (Results 1 - 25 of 54) sorted by relevance

123

/external/clang/test/Sema/
H A Dblock-printf-attribute-1.c6 void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = // expected-error {{format argument not a string type}}
7 ^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expected-error {{format argument not a string type}}
9 void (^z) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((__format__ (__printf__, 2, 3))) (int arg, const char * format, ...) {};
17 void (^vprintf_scanf) (const char *, va_list, const char *, ...) __attribute__((__format__(__printf__, 1, 0))) __attribute__((__format__(__scanf__, 3, 4))) =
18 ^ __attribute__((__format__(__printf__, 1, 0))) __attribute__((__format__(__scanf__, 3, 4))) (const char *str, va_list args, const char *fmt, ...) {};
H A Dno-format-y2k-turnsoff-format.c4 void foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2)));
H A Dattr-format.c22 int (*printf)(const char *format, ...) __attribute__((__format__(printf, 1, 2))); // no-error
23 int (*printf2)(double format, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{format argument not a string type}}
46 #define __printf0like(fmt,va) __attribute__((__format__(__printf0__,fmt,va)))
74 __attribute__ ((__format__(__gcc_diag__, 1, 2)));
76 __attribute__ ((__format__(__gcc_cdiag__, 1, 2)));
78 __attribute__ ((__format__(__gcc_cxxdiag__, 1, 2)));
80 __attribute__ ((__format__(__gcc_tdiag__, 1, 2)));
H A Ddeclspec.c6 void foof(const char *, ...) __attribute__((__format__(__printf__, 1, 2))), barf (void);
H A Dformat-strings.c65 __attribute__((__format__ (__printf__, 2, 4)))
280 int asl_log(aslclient asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format__ (__printf__, 4, 5)));
322 void myprintf_PR_6697(const char *format, int x, ...) __attribute__((__format__(printf,1, 3)));
389 __attribute__((__format__(__printf__, 1, 0)))
390 __attribute__((__format__(__scanf__, 3, 4)));
428 int printf(const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2)));
581 __attribute__((__format__(__printf__, 1, 3)));
583 __attribute__((__format__(__scanf__, 2, 3)));
586 __attribute__((__format__(__scanf__, 2, 3)));
588 __attribute__((__format__(__printf_
[all...]
/external/bison/src/
H A Dcomplain.h42 __attribute__ ((__format__ (__printf__, 1, 2)));
45 __attribute__ ((__format__ (__printf__, 2, 3)));
52 __attribute__ ((__format__ (__printf__, 3, 4)));
57 __attribute__ ((__format__ (__printf__, 1, 2)));
60 __attribute__ ((__format__ (__printf__, 2, 3)));
67 __attribute__ ((__format__ (__printf__, 3, 4)));
73 __attribute__ ((__format__ (__printf__, 2, 3)));
79 __attribute__ ((__format__ (__printf__, 2, 3)));
84 __attribute__ ((__noreturn__, __format__ (__printf__, 1, 2)));
87 __attribute__ ((__noreturn__, __format__ (__printf_
[all...]
H A Duniqstr.h36 __attribute__ ((__format__ (__printf__, 1, 2)));
/external/e2fsprogs/intl/
H A Dvasnprintf.h36 # define __format__ format macro
53 __attribute__ ((__format__ (__printf__, 3, 4)));
55 __attribute__ ((__format__ (__printf__, 3, 0)));
/external/clang/test/SemaCXX/
H A Dprintf-block.cpp3 int (^block) (int, const char *,...) __attribute__((__format__(__printf__,2,3))) = ^ __attribute__((__format__(__printf__,2,3))) (int arg, const char *format,...) {return 5;};
H A Dprintf-cstr.cpp45 Printf(const char *,...) __attribute__((__format__(__printf__,2,3)));
/external/clang/test/Parser/
H A Dcxx-attributes.cpp5 __attribute__ (( __format__(__printf__,2,3) )) = 0;
7 __attribute__ (( __format__(__printf__,2,3) )) {}
/external/fio/
H A Dlog.h10 extern int log_err(const char *format, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
11 extern int log_info(const char *format, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
/external/ceres-solver/internal/ceres/
H A Dstringprintf.h58 __attribute__((__format__ (__printf__, string_index, first_to_check)))
60 __attribute__((__format__ (__scanf__, string_index, first_to_check)))
/external/bison/lib/
H A Derror.h29 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
H A Dvasnprintf.h33 # define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Draw_printer.h69 __attribute__ ((__format__ (__printf__, 2, 3)))
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Draw_printer.h69 __attribute__ ((__format__ (__printf__, 2, 3)))
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dmem.h124 __bio_h__attr__((__format__(__printf__, 3, 4)));
128 __bio_h__attr__((__format__(__printf__, 3, 0)));
/external/ipsec-tools/src/racoon/
H A Dplog.h99 __attribute__ ((__format__ (__printf__, 4, 5)));
/external/chromium_org/third_party/libxml/linux/include/libxml/
H A Dxmlversion.h433 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
/external/chromium_org/third_party/libxml/mac/include/libxml/
H A Dxmlversion.h433 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
/external/chromium_org/third_party/libxml/win32/include/libxml/
H A Dxmlversion.h433 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
/external/libexif/libexif/
H A Dexif-log.h93 __attribute__((__format__(printf,4,5)))
/external/libxml2/include/libxml/
H A Dxmlversion.h455 # define LIBXML_ATTR_FORMAT(fmt,args) __attribute__((__format__(__printf__,fmt,args)))
/external/valgrind/main/coregrind/m_demangle/
H A Dansidecl.h321 #define ATTRIBUTE_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n))) ATTRIBUTE_NONNULL(m)
349 # define ATTRIBUTE_NULL_PRINTF(m, n) __attribute__ ((__format__ (__printf__, m, n)))

Completed in 1466 milliseconds

123