Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 12 of 12) sorted by relevance

/stdio-common/
A Dfxprintf.c26 locked_vfxprintf (FILE *fp, const char *fmt, va_list ap, in locked_vfxprintf() argument
38 size_t len = strlen (fmt) + 1; in locked_vfxprintf()
53 res = __mbsrtowcs (wfmt, &fmt, len, &mbstate); in locked_vfxprintf()
65 __vfxprintf (FILE *fp, const char *fmt, va_list ap, in __vfxprintf() argument
71 int res = locked_vfxprintf (fp, fmt, ap, mode_flags); in __vfxprintf()
77 __fxprintf (FILE *fp, const char *fmt, ...) in __fxprintf() argument
80 va_start (ap, fmt); in __fxprintf()
81 int res = __vfxprintf (fp, fmt, ap, 0); in __fxprintf()
87 __fxprintf_nocancel (FILE *fp, const char *fmt, ...) in __fxprintf_nocancel() argument
93 va_start (ap, fmt); in __fxprintf_nocancel()
[all …]
A Dtst-printf-round.c26 const char *fmt; member
52 test_dec_in_one_mode (double d, const char *fmt, const char *expected, in test_dec_in_one_mode() argument
56 int ret = snprintf (buf, sizeof buf, fmt, d); in test_dec_in_one_mode()
67 fmt, d, buf, expected, mode_name); in test_dec_in_one_mode()
75 const char *fmt; member
144 int ret = snprintf (buf, sizeof buf, fmt, d); in test_hex_in_one_mode()
178 result |= test_dec_in_one_mode (dec_tests[i].d, dec_tests[i].fmt, in do_test()
186 result |= test_dec_in_one_mode (dec_tests[i].d, dec_tests[i].fmt, in do_test()
194 result |= test_dec_in_one_mode (dec_tests[i].d, dec_tests[i].fmt, in do_test()
208 result |= test_hex_in_one_mode (hex_tests[i].d, hex_tests[i].fmt, in do_test()
[all …]
A Dscanf17.c35 xsscanf (const char *str, const char *fmt, ...) in xsscanf() argument
38 va_start (ap, fmt); in xsscanf()
39 int ret = vsscanf (str, fmt, ap); in xsscanf()
45 xscanf (const char *fmt, ...) in xscanf() argument
48 va_start (ap, fmt); in xscanf()
49 int ret = vscanf (fmt, ap); in xscanf()
55 xfscanf (FILE *f, const char *fmt, ...) in xfscanf() argument
58 va_start (ap, fmt); in xfscanf()
59 int ret = vfscanf (f, fmt, ap); in xfscanf()
A Dscanf16.c35 xsscanf (const char *str, const char *fmt, ...) in xsscanf() argument
38 va_start (ap, fmt); in xsscanf()
39 int ret = vsscanf (str, fmt, ap); in xsscanf()
45 xscanf (const char *fmt, ...) in xscanf() argument
48 va_start (ap, fmt); in xscanf()
49 int ret = vscanf (fmt, ap); in xscanf()
55 xfscanf (FILE *f, const char *fmt, ...) in xfscanf() argument
58 va_start (ap, fmt); in xfscanf()
59 int ret = vfscanf (f, fmt, ap); in xfscanf()
A Dscanf16a.c40 xsscanf (const char *str, const char *fmt, ...) in xsscanf() argument
43 va_start (ap, fmt); in xsscanf()
44 int ret = vsscanf (str, fmt, ap); in xsscanf()
50 xscanf (const char *fmt, ...) in xscanf() argument
53 va_start (ap, fmt); in xscanf()
54 int ret = vscanf (fmt, ap); in xscanf()
60 xfscanf (FILE *f, const char *fmt, ...) in xfscanf() argument
63 va_start (ap, fmt); in xfscanf()
64 int ret = vfscanf (f, fmt, ap); in xfscanf()
A Dbug-vfprintf-nargs.c28 format_failed (const char *fmt, const char *expected) in format_failed() argument
32 printf ("%s : ", fmt); in format_failed()
36 if (sprintf (output, fmt, 1, 2, 3, "test") > 0 in format_failed()
A Dtst-swprintf.c29 #define CHECK(fmt, nexp, exp) \ in do_test() argument
30 n = swprintf (buf, array_length (buf), fmt, input); \ in do_test()
34 fmt, (wchar_t*) input, (int) n, (int) nexp); \ in do_test()
41 fmt, (wchar_t *) input, buf, exp ); \ in do_test()
A Dtst-printf.c47 fmtchk (const char *fmt) in fmtchk() argument
49 (void) fputs(fmt, stdout); in fmtchk()
51 (void) printf(fmt, 0x12); in fmtchk()
56 fmtst1chk (const char *fmt) in fmtst1chk() argument
58 (void) fputs(fmt, stdout); in fmtst1chk()
60 (void) printf(fmt, 4, 0x12); in fmtst1chk()
65 fmtst2chk (const char *fmt) in fmtst2chk() argument
67 (void) fputs(fmt, stdout); in fmtst2chk()
69 (void) printf(fmt, 4, 4, 0x12); in fmtst2chk()
A Dtst-fphex.c28 const CHAR_T *fmt; member
56 int n = SPRINT (buf, array_length (buf), t->fmt, t->value); in do_test()
61 t->fmt, t->expect, STR_LEN (t->expect), in do_test()
A Dtst-sscanf.c70 const CHAR *fmt; member
117 const CHAR *fmt; member
192 if ((ret = SSCANF (int_tests[i].str, int_tests[i].fmt, in do_test()
206 if ((ret = SSCANF (double_tests[i].str, double_tests[i].fmt, in do_test()
221 if ((ret = SSCANF (double_tests2[i].str, double_tests2[i].fmt, in do_test()
A Dprintf-prs.c59 parse_printf_format (const char *fmt, size_t n, int *argtypes) in parse_printf_format() argument
64 const unsigned char *f = (const unsigned char *) fmt; in parse_printf_format()
A Dvfprintf-internal.c1155 static int buffered_vfprintf (FILE *stream, const CHAR_T *fmt, va_list,

Completed in 13 milliseconds