/external/llvm-project/clang/test/Sema/ |
D | block-printf-attribute-1.c | 6 …void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = … in main() 7 …^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expec… in main() 9 …g, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((_… in main() 17 …r *, va_list, const char *, ...) __attribute__((__format__(__printf__, 1, 0))) __attribute__((__fo… in multi_attr() 18 …^ __attribute__((__format__(__printf__, 1, 0))) __attribute__((__format__(__scanf__, 3, 4))) (cons… in multi_attr()
|
D | attr-format.c | 22 int (*printf)(const char *format, ...) __attribute__((__format__(printf, 1, 2))); // no-error 23 …int (*printf2)(double format, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{… 46 #define __printf0like(fmt,va) __attribute__((__format__(__printf0__,fmt,va))) 81 __attribute__ ((__format__(__gcc_diag__, 1, 2))); 83 __attribute__ ((__format__(__gcc_cdiag__, 1, 2))); 85 __attribute__ ((__format__(__gcc_cxxdiag__, 1, 2))); 87 __attribute__ ((__format__(__gcc_tdiag__, 1, 2)));
|
D | format-strings.c | 75 __attribute__((__format__ (__printf__, 2, 4))) 317 …nt asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format__ (__printf__, 4, … 363 void myprintf_PR_6697(const char *format, int x, ...) __attribute__((__format__(printf,1, 3))); 434 __attribute__((__format__(__printf__, 1, 0))) 435 __attribute__((__format__(__scanf__, 3, 4))); 473 int printf(const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2))); 633 __attribute__((__format__(__printf__, 1, 3))); 635 __attribute__((__format__(__scanf__, 2, 3))); 638 __attribute__((__format__(__scanf__, 2, 3))); 640 __attribute__((__format__(__printf__, 1, 3))); [all …]
|
/external/clang/test/Sema/ |
D | block-printf-attribute-1.c | 6 …void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = … in main() 7 …^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expec… in main() 9 …g, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((_… in main() 17 …r *, va_list, const char *, ...) __attribute__((__format__(__printf__, 1, 0))) __attribute__((__fo… in multi_attr() 18 …^ __attribute__((__format__(__printf__, 1, 0))) __attribute__((__format__(__scanf__, 3, 4))) (cons… in multi_attr()
|
D | attr-format.c | 22 int (*printf)(const char *format, ...) __attribute__((__format__(printf, 1, 2))); // no-error 23 …int (*printf2)(double format, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{… 46 #define __printf0like(fmt,va) __attribute__((__format__(__printf0__,fmt,va))) 81 __attribute__ ((__format__(__gcc_diag__, 1, 2))); 83 __attribute__ ((__format__(__gcc_cdiag__, 1, 2))); 85 __attribute__ ((__format__(__gcc_cxxdiag__, 1, 2))); 87 __attribute__ ((__format__(__gcc_tdiag__, 1, 2)));
|
D | format-strings.c | 75 __attribute__((__format__ (__printf__, 2, 4))) 314 …nt asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format__ (__printf__, 4, … 356 void myprintf_PR_6697(const char *format, int x, ...) __attribute__((__format__(printf,1, 3))); 423 __attribute__((__format__(__printf__, 1, 0))) 424 __attribute__((__format__(__scanf__, 3, 4))); 462 int printf(const char * restrict, ...) __attribute__((__format__ (__printf__, 1, 2))); 615 __attribute__((__format__(__printf__, 1, 3))); 617 __attribute__((__format__(__scanf__, 2, 3))); 620 __attribute__((__format__(__scanf__, 2, 3))); 622 __attribute__((__format__(__printf__, 1, 3))); [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_types.py | 95 self.assertEqual(f.__format__('e'), result) 104 self.assertEqual(1.5e100.__format__('e'), '1.500000e+100') 107 self.assertEqual(1.5e101.__format__('e'), '1.500000e+101') 110 self.assertEqual(1.5e-100.__format__('e'), '1.500000e-100') 113 self.assertEqual(1.5e-101.__format__('e'), '1.500000e-101') 301 self.assertEqual(i.__format__(format_spec), result) 302 self.assertEqual(i.__format__(unicode(format_spec)), result) 414 self.assertRaises(ValueError, 3 .__format__, "1.3") 416 self.assertRaises(ValueError, 3 .__format__, "+c") 418 self.assertRaises(TypeError, 3 .__format__, None) [all …]
|
D | test_str.py | 130 self.assertEqual(value.__format__(format), expected) 131 self.assertEqual(value.__format__(format + 's'), expected) 185 def __format__(self, spec): member in StrTest.test_format.C 191 def __format__(self, spec): member in StrTest.test_format.D 214 def __format__(self, format_spec): member in StrTest.test_format.G 217 return object.__format__(self, format_spec) 221 def __format__(self, format_spec): member in StrTest.test_format.H 225 def __format__(self, format_spec): member in StrTest.test_format.I 229 def __format__(self, format_spec): member in StrTest.test_format.J 230 return int.__format__(self * 2, format_spec) [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | format-strings.cpp | 54 int test_null_format(const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); 153 …void func1(const char *, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{forma… 154 void (*func2)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 155 static void (*func3)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 156 static void func4(const char *, ...) __attribute__((__format__(printf, 1, 2)));
|
D | printf-block.cpp | 5 …^block) (int, const char *,...) __attribute__((__format__(__printf__,2,3))) = ^ __attribute__((__f…
|
/external/clang/test/SemaCXX/ |
D | format-strings.cpp | 48 int test_null_format(const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); 139 …void func1(const char *, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{forma… 140 void (*func2)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 141 static void (*func3)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 142 static void func4(const char *, ...) __attribute__((__format__(printf, 1, 2)));
|
D | printf-block.cpp | 5 …^block) (int, const char *,...) __attribute__((__format__(__printf__,2,3))) = ^ __attribute__((__f…
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | all_reduce_test.cc | 120 …reshape(u8[] %constant.2), metadata={op_type="aten::view" source_file="__format__@tensor.py" sourc… in XLA_TEST_F() 121 …%constant.9 = s64[] constant(0), metadata={op_type="xla::update_slice" source_file="__format__@ten… in XLA_TEST_F() 122 …s64[] %constant.9), metadata={op_type="xla::update_slice" source_file="__format__@tensor.py" sourc… in XLA_TEST_F() 162 …eshape(s32[] %constant.2), metadata={op_type="aten::view" source_file="__format__@tensor.py" sourc… in XLA_TEST_F() 163 …%constant.9 = s64[] constant(0), metadata={op_type="xla::update_slice" source_file="__format__@ten… in XLA_TEST_F() 164 …s64[] %constant.9), metadata={op_type="xla::update_slice" source_file="__format__@tensor.py" sourc… in XLA_TEST_F()
|
/external/e2fsprogs/intl/ |
D | vasnprintf.h | 36 # define __format__ format macro 53 __attribute__ ((__format__ (__printf__, 3, 4))); 55 __attribute__ ((__format__ (__printf__, 3, 0)));
|
/external/mesa3d/include/android_stub/android/ |
D | log.h | 106 __attribute__((__format__(printf, 3, 4))); 113 __attribute__((__format__(printf, 3, 0))); 132 __attribute__((__noreturn__)) __attribute__((__format__(printf, 3, 4))); 181 __attribute__((__format__(printf, 4, 5)));
|
/external/ImageMagick/MagickCore/ |
D | locale-private.h | 37 magick_attribute((__format__ (__printf__,2,0))), 40 magick_attribute((__format__ (__printf__,3,0)));
|
D | locale_.h | 70 magick_attribute((__format__ (__printf__,2,3))), 73 magick_attribute((__format__ (__printf__,3,4)));
|
D | log.h | 84 const char *,...) magick_attribute((__format__ (__printf__,5,6))), 86 const char *,va_list) magick_attribute((__format__ (__printf__,5,0)));
|
/external/ImageMagick/MagickWand/ |
D | wandcli.h | 36 magick_attribute((__format__ (__printf__,6,7))), 39 magick_attribute((__format__ (__printf__,7,8)));
|
/external/clang/test/Parser/ |
D | cxx-attributes.cpp | 5 __attribute__ (( __format__(__printf__,2,3) )) = 0; 7 __attribute__ (( __format__(__printf__,2,3) )) {} in f2()
|
/external/tcpdump/ |
D | funcattrs.h | 94 #if __has_attribute(__format__) \ 103 #define PRINTFLIKE(x,y) __attribute__((__format__(__printf__,x,y)))
|
/external/llvm-project/clang/test/Parser/ |
D | cxx-attributes.cpp | 5 __attribute__ (( __format__(__printf__,2,3) )) = 0; 7 __attribute__ (( __format__(__printf__,2,3) )) {} in f2()
|
/external/python/cpython3/Lib/test/ |
D | test_types.py | 91 self.assertEqual(f.__format__('e'), result) 100 self.assertEqual(1.5e100.__format__('e'), '1.500000e+100') 103 self.assertEqual(1.5e101.__format__('e'), '1.500000e+101') 106 self.assertEqual(1.5e-100.__format__('e'), '1.500000e-100') 109 self.assertEqual(1.5e-101.__format__('e'), '1.500000e-101') 214 self.assertEqual(i.__format__(format_spec), result) 339 self.assertRaises(ValueError, 3 .__format__, "1.3") 341 self.assertRaises(ValueError, 3 .__format__, "+c") 343 self.assertRaises(TypeError, 3 .__format__, None) 344 self.assertRaises(TypeError, 3 .__format__, 0) [all …]
|
/external/libpcap/pcap/ |
D | funcattrs.h | 256 #if __has_attribute(__format__) \ 266 #define PCAP_PRINTFLIKE(x,y) __attribute__((__format__(__printf__,x,y)))
|
/external/one-true-awk/ |
D | proto.h | 139 __attribute__((__format__(__printf__, 1, 2))); 141 __attribute__((__format__(__printf__, 1, 2))); 143 __attribute__((__format__(__printf__, 1, 2)));
|