/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | v4l2_test.h | 16 #define dprintf1(fmt) printf(fmt) 17 #define dprintf(fmt, ...) printf(fmt, __VA_ARGS__) 19 #define dprintf1(fmt) 20 #define dprintf(fmt, ...)
|
/external/clang/test/Sema/Inputs/ |
H A D | format-unused-system-args.h | 4 #define PRINT2(fmt, a1, a2) \ 5 printf((fmt), (a1), (a2)) 7 #define PRINT1(fmt, a1) \ 8 PRINT2((fmt), (a1), 0)
|
/external/clang/test/PCH/ |
H A D | __va_list_tag.c | 13 int myvprintf(const char *fmt, va_list args) { argument 14 return myvfprintf(fmt, args);
|
/external/curl/src/ |
H A D | tool_msgs.h | 26 void warnf(struct GlobalConfig *config, const char *fmt, ...); 27 void notef(struct GlobalConfig *config, const char *fmt, ...); 29 void helpf(FILE *errors, const char *fmt, ...);
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | printf-5.c | 17 volatile char fmt[2]; local 18 memcpy((char *)fmt, "%c %d %f %s\n", sizeof(fmt)); 19 printf((char *)fmt, c, x, f, s);
|
/external/deqp/framework/qphelper/ |
H A D | qpDebugOut.h | 33 void qpPrintf (const char* fmt, ...); 34 void qpPrintv (const char* fmt, va_list va); 36 void qpDief (const char* fmt, ...); 37 void qpDiev (const char* fmt, va_list va);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_format.h | 36 translate_texture_format(enum pipe_format fmt); 39 translate_rs_format(enum pipe_format fmt); 42 translate_rs_format_rb_swap(enum pipe_format fmt); 45 translate_vertex_format_type(enum pipe_format fmt);
|
/external/selinux/libsemanage/tests/ |
H A D | utilities.c | 30 semanage_handle_t * handle, const char *fmt, ...) 29 test_msg_handler(void *varg, semanage_handle_t * handle, const char *fmt, ...) argument
|
H A D | utilities.h | 22 void test_msg_handler(void *varg, semanage_handle_t * handle, const char *fmt,
|
/external/libvpx/libvpx/ |
H A D | y4menc.c | 16 vpx_img_fmt_t fmt, unsigned int bit_depth) { 20 color = fmt == VPX_IMG_FMT_444A 22 : fmt == VPX_IMG_FMT_I444 24 : fmt == VPX_IMG_FMT_I422 ? "C422\n" : "C420jpeg\n"; 27 color = fmt == VPX_IMG_FMT_I44416 29 : fmt == VPX_IMG_FMT_I42216 ? "C422p9 XYSCSS=422P9\n" 33 color = fmt == VPX_IMG_FMT_I44416 35 : fmt == VPX_IMG_FMT_I42216 ? "C422p10 XYSCSS=422P10\n" 39 color = fmt == VPX_IMG_FMT_I44416 41 : fmt 14 y4m_write_file_header(char *buf, size_t len, int width, int height, const struct VpxRational *framerate, vpx_img_fmt_t fmt, unsigned int bit_depth) argument [all...] |
/external/android-clat/ |
H A D | logging.c | 28 * fmt - printf format specifier 31 void logmsg(int prio, const char *fmt, ...) { argument 34 va_start(ap, fmt); 35 __android_log_vprint(prio, "clatd", fmt, ap); 42 * fmt - printf format specifier 46 void logmsg_dbg(int prio, const char *fmt, ...) { argument 49 va_start(ap, fmt); 50 __android_log_vprint(prio, "clatd", fmt, ap); 54 void logmsg_dbg(__attribute__((unused)) int prio, __attribute__((unused)) const char *fmt, ...) {} argument
|
H A D | logging.h | 24 void logmsg(int prio, const char *fmt, ...); 25 void logmsg_dbg(int prio, const char *fmt, ...);
|
/external/clang/test/SemaCXX/ |
H A D | builtins-va_arg.cpp | 14 int test_vprintf(const char *fmt, va_list ap) { argument 17 while (*fmt != '\0') { 18 ch = *fmt++; 23 ch = *fmt++; 46 int test_printf(const char *fmt, ...) { argument 48 va_start(ap, fmt); 49 int result = test_vprintf(fmt, ap);
|
/external/dtc/tests/ |
H A D | utilfdt_test.c | 33 static void check(const char *fmt, int expect_type, int expect_size) argument 38 if (utilfdt_decode_type(fmt, &type, &size)) 39 FAIL("format '%s': valid format string returned failure", fmt); 41 FAIL("format '%s': expected type='%c', got type='%c'", fmt, 44 FAIL("format '%s': expected size=%d, got size=%d", fmt, 48 static void checkfail(const char *fmt) argument 53 if (!utilfdt_decode_type(fmt, &type, &size)) 55 fmt); 68 char fmt[10], *ptr; local 71 if (strlen(modifier) + 2 >= sizeof(fmt)) 93 char fmt[10]; local [all...] |
/external/linux-kselftest/tools/testing/selftests/bpf/ |
H A D | dev_cgroup.c | 18 char fmt[] = " %d:%d \n"; local 22 fmt[0] = 'b'; 25 fmt[0] = 'c'; 28 fmt[0] = '?'; 33 fmt[8] = 'r'; 36 fmt[9] = 'w'; 39 fmt[10] = 'm'; 41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor);
|
/external/libpcap/ |
H A D | bpf_image.c | 55 const char *fmt, *op; local 64 fmt = "0x%x"; 70 fmt = "#%d"; 75 fmt = ""; 80 fmt = "[%d]"; 85 fmt = "[%d]"; 90 fmt = "[%d]"; 95 fmt = "#pktlen"; 100 fmt = "[x + %d]"; 105 fmt [all...] |
/external/strace/ |
H A D | error_prints.c | 45 verror_msg(int err_no, const char *fmt, va_list p) argument 56 if (vasprintf(&msg, fmt, p) >= 0) { 67 vfprintf(stderr, fmt, p); 79 error_msg(const char *fmt, ...) argument 82 va_start(p, fmt); 83 verror_msg(0, fmt, p); 88 error_msg_and_die(const char *fmt, ...) argument 91 va_start(p, fmt); 92 verror_msg(0, fmt, p); 97 error_msg_and_help(const char *fmt, argument 110 perror_msg(const char *fmt, ...) argument 119 perror_msg_and_die(const char *fmt, ...) argument [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | mangle-valist.cpp | 4 void test1(const char *fmt, va_list ap) { argument 10 void test2(const char *fmt, va_list ap); 13 void Test2::test2(const char *fmt, va_list ap) { argument
|
/external/mesa3d/src/intel/vulkan/ |
H A D | anv_formats.c | 52 #define fmt(__vk_fmt, __hw_fmt) \ macro 61 fmt(VK_FORMAT_UNDEFINED, ISL_FORMAT_UNSUPPORTED), 62 fmt(VK_FORMAT_R4G4_UNORM_PACK8, ISL_FORMAT_UNSUPPORTED), 63 fmt(VK_FORMAT_R4G4B4A4_UNORM_PACK16, ISL_FORMAT_A4B4G4R4_UNORM), 65 fmt(VK_FORMAT_R5G6B5_UNORM_PACK16, ISL_FORMAT_B5G6R5_UNORM), 67 fmt(VK_FORMAT_R5G5B5A1_UNORM_PACK16, ISL_FORMAT_A1B5G5R5_UNORM), 68 fmt(VK_FORMAT_B5G5R5A1_UNORM_PACK16, ISL_FORMAT_UNSUPPORTED), 69 fmt(VK_FORMAT_A1R5G5B5_UNORM_PACK16, ISL_FORMAT_B5G5R5A1_UNORM), 70 fmt(VK_FORMAT_R8_UNORM, ISL_FORMAT_R8_UNORM), 71 fmt(VK_FORMAT_R8_SNOR 250 #undef fmt macro [all...] |
/external/autotest/client/tests/monotonic_time/src/ |
H A D | logging.h | 18 void msg(enum msg_type, int data, const char *fmt, ...); 20 #define DEBUG(level, fmt, args...) msg(MSG_DEBUG, level, fmt, ##args) 21 #define INFO(fmt, args...) msg(MSG_INFO, 0, fmt, ##args) 22 #define WARN(err, fmt, args...) msg(MSG_WARN, err, fmt, ##args) 23 #define ERROR(err, fmt, args...) msg(MSG_ERROR, err, fmt, ##args) 24 #define FATAL(err, fmt, arg [all...] |
/external/ltp/include/ |
H A D | tst_safe_file_ops.h | 29 #define SAFE_FILE_SCANF(path, fmt, ...) \ 31 (path), (fmt), ## __VA_ARGS__) 33 #define FILE_LINES_SCANF(path, fmt, ...) \ 35 (path), (fmt), ## __VA_ARGS__) 37 #define SAFE_FILE_LINES_SCANF(path, fmt, ...) \ 39 (path), (fmt), ## __VA_ARGS__) 47 #define FILE_PRINTF(path, fmt, ...) \ 49 (path), (fmt), ## __VA_ARGS__) 51 #define SAFE_FILE_PRINTF(path, fmt, ...) \ 53 (path), (fmt), ## __VA_ARGS_ [all...] |
/external/syslinux/gpxe/src/include/ |
H A D | stdio.h | 10 printf ( const char *fmt, ... ); 13 snprintf ( char *buf, size_t size, const char *fmt, ... ); 16 asprintf ( char **strp, const char *fmt, ... ); 18 extern int vprintf ( const char *fmt, va_list args ); 20 extern int vsnprintf ( char *buf, size_t size, const char *fmt, va_list args ); 22 extern int vasprintf ( char **strp, const char *fmt, va_list args ); 28 * @v fmt Format string 32 #define sprintf( buf, fmt, ... ) \ 33 snprintf ( (buf), ~( ( size_t ) 0 ), (fmt), ## __VA_ARGS__ ) 39 * @v fmt Forma 43 vsprintf( char *buf, const char *fmt, va_list args ) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | quantityformattertest.cpp | 39 QuantityFormatter fmt; local 42 fmt.addIfAbsent("a bad variant", "{0} pounds", status)); 47 fmt.addIfAbsent("other", "{0} {1} too many placeholders", status)); 50 assertFalse("isValid with no patterns", fmt.isValid()); 53 fmt.addIfAbsent("zero", "no placeholder", status)); 56 fmt.addIfAbsent("other", "{0} pounds", status)); 57 assertTrue("isValid with other", fmt.isValid()); 60 fmt.addIfAbsent("one", "{0} pound", status)); 64 fmt.getByVariant("bad variant")->getTextWithNoArguments(), 68 fmt [all...] |
/external/clang/test/CodeGen/ |
H A D | wasm-varargs.c | 5 int test_i32(char *fmt, ...) { argument 8 va_start(va, fmt); 15 // CHECK-LABEL: define i32 @test_i32(i8*{{.*}} %fmt, ...) {{.*}} { 19 // CHECK: store i8* %fmt, i8** [[FMT_ADDR]], align 4 34 long long test_i64(char *fmt, ...) { argument 37 va_start(va, fmt); 44 // CHECK-LABEL: define i64 @test_i64(i8*{{.*}} %fmt, ...) {{.*}} { 48 // CHECK: store i8* %fmt, i8** [[FMT_ADDR]], align 4 73 struct S test_struct(char *fmt, ...) { argument 76 va_start(va, fmt); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | NumberFormatRoundTripTest.java | 49 NumberFormat fmt = null; 54 fmt = NumberFormat.getInstance(); 55 _test(fmt); 58 fmt = NumberFormat.getCurrencyInstance(); 59 _test(fmt); 62 fmt = NumberFormat.getPercentInstance(); 63 _test(fmt); 76 fmt = NumberFormat.getInstance(loc[i]); 77 _test(fmt); 79 fmt 100 _test(NumberFormat fmt) argument 152 _test(NumberFormat fmt, double value) argument 156 _test(NumberFormat fmt, long value) argument 160 _test(NumberFormat fmt, Number value) argument [all...] |