Home
last modified time | relevance | path

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

123

/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/src/c++17/
A Dfloating_from_chars.cc109 return fmt != chars_format{} in valid_fmt()
110 && ((fmt & chars_format::general) == fmt in valid_fmt()
111 || (fmt & chars_format::hex) == fmt); in valid_fmt()
185 fmt = chars_format{}; in pattern()
195 fmt = chars_format::general; in pattern()
221 fmt = chars_format{}; in pattern()
245 fmt = chars_format{}; in pattern()
426 fmt = chars_format{}; in from_chars()
452 fmt = chars_format{}; in from_chars()
478 fmt = chars_format{}; in from_chars()
[all …]
A Dfloating_to_chars.cc635 switch (fmt) in __handle_special_value()
912 chars_format fmt) in __floating_to_chars_shortest() argument
914 if (fmt == chars_format::hex) in __floating_to_chars_shortest()
920 || fmt == chars_format{}); in __floating_to_chars_shortest()
936 fmt = chars_format::fixed; in __floating_to_chars_shortest()
954 fmt = chars_format::fixed; in __floating_to_chars_shortest()
1128 fmt, precision)) in __floating_to_chars_precision()
1214 if (fmt == chars_format::scientific || fmt == chars_format::general) in __floating_to_chars_precision()
1442 fmt = chars_format::fixed; in __floating_to_chars_precision()
1605 fmt); in to_chars()
[all …]
/l4re-core-master/l4re/util/libs/
A Ddebug.cc42 Dbg::printf_impl(char const *fmt, ...) const in printf_impl() argument
49 va_start (args, fmt); in printf_impl()
50 n = vfprintf (out, fmt, args); in printf_impl()
62 va_start (args, fmt); in cprintf_impl()
63 n = vfprintf (out, fmt, args); in cprintf_impl()
75 Err::printf(char const *fmt, ...) const in printf() argument
82 va_start (args, fmt); in printf()
83 n = vfprintf (out, fmt, args); in printf()
90 Err::cprintf(char const *fmt, ...) const in cprintf() argument
95 va_start (args, fmt); in cprintf()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/scripts/
A Dunifdef.h38 #define vwarnx(fmt, args) ({ fprintf(stderr, "unifdef: "); vfprintf(stderr, fmt, args); fprintf(s… argument
39 #define warnx(fmt, args...) fprintf(stderr, "unifdef: " fmt "\n", ## args) argument
40 #define warn(fmt, args...) warnx(fmt ": %s", ## args, strerror(errno)) argument
41 #define errx(exit_code, fmt, args...) ({ warnx(fmt, ## args); exit(exit_code); }) argument
42 #define err(exit_code, fmt, args...) errx(exit_code, fmt ": %s", ## args, strerror(errno)) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdio/
A Dold_vfprintf.c355 while (*fmt) { in vfprintf()
356 if (*fmt == '%') { in vfprintf()
358 ++fmt; in vfprintf()
372 if (*fmt == *p) { in vfprintf()
387 ++fmt; in vfprintf()
391 ++fmt; in vfprintf()
394 for ( i = 0 ; (*fmt >= '0') && (*fmt <= '9') ; ++fmt ) { in vfprintf()
416 if (*fmt == *p) { in vfprintf()
417 ++fmt; in vfprintf()
423 ++fmt; in vfprintf()
[all …]
A D_scanf.c898 (psfs->fmt[1] == '[' || psfs->fmt[1] == 'c' || in __psfs_parse_spec()
1232 ++fmt; in VFSCANF()
1234 --fmt; in VFSCANF()
1249 psfs.fmt = fmt; in VFSCANF()
1267 fmt += i; in VFSCANF()
1418 ++fmt; in VFSCANF()
1433 if ((*fmt == '-') && (fmt[1] != ']') in VFSCANF()
1434 && (fmt[-1] < fmt[1]) /* sorted? */ in VFSCANF()
1638 if ((*fmt == '-') && (fmt[1] != ']') in VFSCANF()
1639 && (fmt[-1] < fmt[1]) /* sorted? */ in VFSCANF()
[all …]
A D_vfprintf.c526 if ((*fmt == '%') && (*++fmt != '%')) { in _ppfs_init()
534 ++fmt; in _ppfs_init()
863 p = fmt; in _ppfs_parsespec()
866 ++fmt; in _ppfs_parsespec()
876 ++fmt; in _ppfs_parsespec()
884 ++fmt; in _ppfs_parsespec()
935 ++fmt; in _ppfs_parsespec()
974 ++fmt; in _ppfs_parsespec()
986 ++fmt; in _ppfs_parsespec()
992 ++fmt; in _ppfs_parsespec()
[all …]
A D_fpmaxtostr.c86 static const char fmt[] = "inf\0INF\0nan\0NAN\0.\0,"; variable
287 pc_fwi[5] = (intptr_t)(fmt + pc_fwi[5]); in _fpmaxtostr()
503 ts = fmt + THOUSEP_OFFSET; in _fpmaxtostr()
529 ppc[2] = (intptr_t)(fmt + EMPTY_STRING_OFFSET); in _fpmaxtostr()
552 ppc[2] = (intptr_t)(fmt + DECPT_OFFSET); in _fpmaxtostr()
558 ppc[2] = (intptr_t)(fmt + DECPT_OFFSET); in _fpmaxtostr()
573 ppc[2] = (intptr_t)(fmt + EMPTY_STRING_OFFSET); in _fpmaxtostr()
593 ppc[2] = (intptr_t)(fmt + EMPTY_STRING_OFFSET); in _fpmaxtostr()
661 ppc_last[2] = (intptr_t)(fmt + EMPTY_STRING_OFFSET); in _fpmaxtostr()
/l4re-core-master/uclibc/lib/contrib/uclibc/ldso/include/
A Dldso.h108 # define __dl_debug_dprint(fmt, args...) \ argument
109 _dl_dprintf(_dl_debug_file, "%s:%i: " fmt, __func__, __LINE__, ## args);
110 # define _dl_if_debug_dprint(fmt, args...) \ argument
111 do { if (_dl_debug) __dl_debug_dprint(fmt, ## args); } while (0)
113 # define __dl_debug_dprint(fmt, args...) do {} while (0) argument
114 # define _dl_if_debug_dprint(fmt, args...) do {} while (0) argument
137 # define _dl_debug_early(fmt, args...) __dl_debug_dprint(fmt, ## args) argument
139 # define _dl_debug_early(fmt, args...) do {} while (0) argument
163 # define _dl_dprintf(fd, fmt, args...) fprintf(stderr, fmt, ## args) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/test/time/
A Dtst-strftime.c9 const char *fmt; member
47 res = strftime (buf, size, tests[cnt].fmt, now); in do_test()
56 cnt, tests[cnt].fmt, size); in do_test()
62 cnt, tests[cnt].fmt, size); in do_test()
66 printf ("%Zu: %s: size == %Zu: OK\n", cnt, tests[cnt].fmt, size); in do_test()
79 const char *fmt; in do_test() member
92 size_t r = strftime (buf, sizeof (buf), ftests[cnt].fmt, &ttm); in do_test()
96 ftests[cnt].fmt, r, ftests[cnt].n); in do_test()
102 ftests[cnt].fmt, buf, ftests[cnt].exp); in do_test()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc/
A Dmalloc.h88 # define MALLOC_MMB_DEBUG(indent, fmt, args...) \ argument
89 (__malloc_mmb_debug ? __malloc_debug_printf (indent, fmt , ##args) : 0)
96 # define MALLOC_MMB_DEBUG(fmt, args...) (void)0 argument
160 # define MALLOC_DEBUG(indent, fmt, args...) \ argument
161 (__malloc_debug ? __malloc_debug_printf (indent, fmt , ##args) : 0)
169 extern void __malloc_debug_printf (int indent, const char *fmt, ...) attribute_hidden;
178 # define MALLOC_DEBUG(fmt, args...) (void)0 argument
A Dmalloc_debug.c36 __malloc_debug_printf (int indent, const char *fmt, ...) in __malloc_debug_printf() argument
47 va_start (val, fmt); in __malloc_debug_printf()
48 vfprintf (stderr, fmt, val); in __malloc_debug_printf()
/l4re-core-master/l4re/util/include/
A Ddebug44 int printf(char const *fmt, ...) const
47 int cprintf(char const *fmt, ...) const
70 int printf_impl(char const *fmt, ...) const
73 int cprintf_impl(char const *fmt, ...) const
84 printf(char const *fmt, ...) const
89 return printf_impl(fmt, __builtin_va_arg_pack());
93 cprintf(char const *fmt, ...) const
98 return cprintf_impl(fmt, __builtin_va_arg_pack());
115 int printf(char const * /*fmt*/, ...) const
119 int cprintf(char const * /*fmt*/, ...) const
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale-mbwc/
A Dtst_strfmon.c17 char *fmt; in tst_strfmon() local
27 fmt = TST_INPUT (strfmon).fmt; in tst_strfmon()
38 ret = strfmon (buf, nbt, fmt, val, val, val); in tst_strfmon()
46 fprintf (stdout, " : ret = %zd; \t fmt = |%s|\n", ret, fmt); in tst_strfmon()
A Dtst_swscanf.c15 wchar_t *fmt; in tst_swscanf() local
31 fmt = TST_INPUT (swscanf).fmt; in tst_swscanf()
40 ret = swscanf (ws, fmt, val_S); in tst_swscanf()
45 swscanf (ws, fmt, &val_int1, &val_int2, &val_flt, &val_c, val_s); in tst_swscanf()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dtst-gnuglob.c33 # define PRINTF(fmt, args...) printf (fmt, ##args) argument
35 # define PRINTF(fmt, args...) argument
308 test_result (const char *fmt, int flags, glob_t *gl, const char *str[]) in test_result() argument
313 printf ("results for glob (\"%s\", %s)\n", fmt, flagstr (flags)); in test_result()
355 const char *fmt; in main() local
367 fmt = a; \ in main()
369 errval = glob (fmt, flags, NULL, &gl); \ in main()
372 printf ("glob (\"%s\", %s) failed: %s\n", fmt, flagstr (flags), \ in main()
378 result |= test_result (fmt, flags, &gl, (const char *[]) { c, NULL }) in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/pthread/
A Dtst-too-many-cleanups.c34 #define warn(fmt, args...) fprintf(stderr, "[%p] " fmt, (void*)pthread_self(), ## args) argument
35 #define warnf(fmt, args...) warn("%s:%i: " fmt, __FUNCTION__, __LINE__, ## args) argument
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Ddebug.h35 # define PDEBUG(fmt, args...) __pthread_message("%s: " fmt, __FUNCTION__, ## args) argument
37 # define PDEBUG(fmt, args...) /* debug switched off */ argument
/l4re-core-master/l4util/lib/src/
A Dkprintf.c28 L4_CV int l4_kprintf(const char *fmt, ...) in l4_kprintf() argument
33 va_start(list, fmt); in l4_kprintf()
34 err = vsnprintf(buffer, sizeof(buffer), fmt, list); in l4_kprintf()
/l4re-core-master/uclibc/lib/contrib/uclibc/test/mmap/
A Dmmap.c40 #define err(fmt, args...) \ argument
42 fprintf(stderr, fmt "\n" , ## args); \
45 #define errp(fmt, args...) err(fmt ": %s" , ## args , strerror(errno)) argument
/l4re-core-master/moe/server/src/
A Dlog.cc30 void printf(char const *fmt, ...)
73 void Pbuf::printf(char const *fmt, ...) in printf() argument
75 if (!fits(strlen(fmt) + 50)) in printf()
79 va_start(arg, fmt); in printf()
80 n = vsnprintf(_b + _p, size() - _p, fmt, arg); in printf()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/syslog/
A Dsyslog.c188 __vsyslog(int pri, const char *fmt, va_list ap) in __vsyslog() argument
242 p += vsnprintf(p, end - p, fmt, ap); in __vsyslog()
312 syslog(int pri, const char *fmt, ...) in strong_alias()
316 va_start(ap, fmt); in strong_alias()
317 __vsyslog(pri, fmt, ap); in strong_alias()
/l4re-core-master/lua/lib/contrib/src/
A Dlstrlib.c1059 if (fmt[SIZELENMOD] == 'A') { in lua_number2strx()
1399 if (!digit(**fmt)) /* no number? */ in getnum()
1404 a = a*10 + (*((*fmt)++) - '0'); in getnum()
1416 int sz = getnum(fmt, df); in getnumlimit()
1438 int opt = *((*fmt)++); in getoption()
1457 *size = getnum(fmt, -1); in getoption()
1486 KOption opt = getoption(h, fmt, psize); in getdetails()
1489 if (**fmt == '\0' || getoption(h, fmt, &align) == Kchar || align == 0) in getdetails()
1553 while (*fmt != '\0') { in str_pack()
1648 while (*fmt != '\0') { in str_packsize()
[all …]
A Dlobject.c470 const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { in luaO_pushvfstring() argument
475 while ((e = strchr(fmt, '%')) != NULL) { in luaO_pushvfstring()
476 addstr2buff(&buff, fmt, e - fmt); /* add 'fmt' up to '%' */ in luaO_pushvfstring()
530 fmt = e + 2; /* skip '%' and the specifier */ in luaO_pushvfstring()
532 addstr2buff(&buff, fmt, strlen(fmt)); /* rest of 'fmt' */ in luaO_pushvfstring()
539 const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) { in luaO_pushfstring() argument
542 va_start(argp, fmt); in luaO_pushfstring()
543 msg = luaO_pushvfstring(L, fmt, argp); in luaO_pushfstring()
/l4re-core-master/uclibc/lib/contrib/uclibc/utils/
A Diconv.c124 static void error_msg(const char *fmt, ...)
127 static void error_msg(const char *fmt, ...) in error_msg() argument
133 va_start(arg, fmt); in error_msg()
134 vfprintf(stderr, fmt, arg); in error_msg()

Completed in 34 milliseconds

123