Home
last modified time | relevance | path

Searched refs:__format__ (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/openssl/test/testutil/
Doutput.h42 ossl_test__attr__((__format__(ossl_test__printf__, 1, 0)));
44 ossl_test__attr__((__format__(ossl_test__printf__, 1, 0)));
46 ossl_test__attr__((__format__(ossl_test__printf__, 1, 0)));
48 ossl_test__attr__((__format__(ossl_test__printf__, 1, 0)));
57 ossl_test__attr__((__format__(ossl_test__printf__, 1, 2)));
59 ossl_test__attr__((__format__(ossl_test__printf__, 1, 2)));
61 ossl_test__attr__((__format__(ossl_test__printf__, 1, 2)));
63 ossl_test__attr__((__format__(ossl_test__printf__, 1, 2)));
/third_party/mesa3d/include/android_stub/android/
Dlog.h106 __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)));
/third_party/musl/include/sys/linux/
Dcdefs.h89 #define __printflike(x, y) __attribute__((__format__(printf, x, y)))
90 #define __scanflike(x, y) __attribute__((__format__(scanf, x, y)))
91 #define __strftimelike(x) __attribute__((__format__(strftime, x, 0)))
/third_party/musl/porting/linux/user/include/sys/
Dcdefs.h89 #define __printflike(x, y) __attribute__((__format__(printf, x, y)))
90 #define __scanflike(x, y) __attribute__((__format__(scanf, x, y)))
91 #define __strftimelike(x) __attribute__((__format__(strftime, x, 0)))
/third_party/python/Lib/test/
Dtest_types.py108 self.assertEqual(f.__format__('e'), result)
117 self.assertEqual(1.5e100.__format__('e'), '1.500000e+100')
120 self.assertEqual(1.5e101.__format__('e'), '1.500000e+101')
123 self.assertEqual(1.5e-100.__format__('e'), '1.500000e-100')
126 self.assertEqual(1.5e-101.__format__('e'), '1.500000e-101')
231 self.assertEqual(i.__format__(format_spec), result)
356 self.assertRaises(ValueError, 3 .__format__, "1.3")
358 self.assertRaises(ValueError, 3 .__format__, "+c")
360 self.assertRaises(TypeError, 3 .__format__, None)
361 self.assertRaises(TypeError, 3 .__format__, 0)
[all …]
Dtest_fstring.py38 def __format__(self, spec): member in TestCase.test__format__lookup.X
46 y.__format__ = types.MethodType(lambda self, spec: 'instance', y)
55 self.assertEqual(x.__format__(''), 'class')
56 self.assertEqual(y.__format__(''), 'instance')
59 self.assertEqual(type(x).__format__(x, ''), 'class')
60 self.assertEqual(type(y).__format__(y, ''), 'class')
619 def __format__(self, spec): member in TestCase.test_side_effect_order.X
873 def __format__(self, spec): member in TestCase.test_missing_format_spec.O
1230 def __format__(self, s): member in TestCase.test_debug_conversion.C
/third_party/FreeBSD/sys/sys/
Dcdefs.h507 __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
509 __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))
512 __attribute__((__format__ (__strfmon__, fmtarg, firstvararg)))
514 __attribute__((__format__ (__strftime__, fmtarg, firstvararg)))
521 __attribute__((__format__ (__printf0__, fmtarg, firstvararg)))
/third_party/alsa-utils/alsamixer/
Dmem.h9 char *casprintf(const char *fmt, ...) __attribute__((__format__(printf, 1, 2)));
/third_party/libusb/windows/
Dconfig.h134 #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
/third_party/libusb/darwin/
Dconfig.h134 #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dattributes.h88 __attribute__((__format__(__printf__, string_index, first_to_check)))
90 __attribute__((__format__(__scanf__, string_index, first_to_check)))
/third_party/openh264/codec/common/inc/
Dutils.h61 …(SLogContext* pCtx, int32_t iLevel, const char* kpFmt, ...) __attribute__ ((__format__ (__printf__,
/third_party/libusb/linux/
Dconfig.h134 #define PRINTF_FORMAT(a, b) __attribute__ ((__format__ (__printf__, a, b)))
/third_party/musl/src/internal/
Dhilog_adapter.h51 __attribute__((__format__(os_log, 5, 6)));
/third_party/musl/porting/linux/user/src/internal/
Dhilog_adapter.h51 __attribute__((__format__(os_log, 5, 6)));
/third_party/libexif/libexif/
Dexif-log.h93 __attribute__((__format__(printf,4,5)))
/third_party/openssl/ohos_lite/include/openssl/
Dbio.h753 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 3)));
755 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 0)));
757 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 4)));
759 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 0)));
/third_party/ffmpeg/libavutil/
Dattributes.h161 # define av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos…
/third_party/musl/porting/linux/user/include/fortify/
Dfortify.h74 #define __DIAGNOSE_PRINTFLIKE(x, y) __attribute__((__format__(printf, x, y)))
/third_party/musl/include/fortify/linux/
Dfortify.h74 #define __DIAGNOSE_PRINTFLIKE(x, y) __attribute__((__format__(printf, x, y)))
/third_party/mbedtls/include/mbedtls/
Ddebug.h99 __attribute__((__format__(gnu_printf, string_index, first_to_check)))
/third_party/selinux/libselinux/src/
Davc_internal.h22 extern void (*avc_func_log) (const char *, ...) __attribute__((__format__(printf,1,2))) ;
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/
Dbio.h839 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 3)));
841 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 0)));
843 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 4)));
845 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 0)));
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
Dbio.h839 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 3)));
841 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 0)));
843 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 4)));
845 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 0)));
/third_party/node/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/
Dbio.h839 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 3)));
841 ossl_bio__attr__((__format__(ossl_bio__printf__, 2, 0)));
843 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 4)));
845 ossl_bio__attr__((__format__(ossl_bio__printf__, 3, 0)));

123456