Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 37) sorted by relevance

12

/picolibc-latest/test/
Dfma_gen.5c80 format_t format;
92 round(float_t f, format_t format, format_or_none_t i_format, rounding_mode_t rm)
95 case format format:
96 f = round(f, format, none_format, rm);
102 int bits = format.bits;
113 int denorm = format.min_exp - exp;
161 if (exp > format.max_exp) {
162 exp = format.max_exp;
178 if (exp > format.max_exp) {
179 exp = format.max_exp;
[all …]
Dtest-fma.c155 int strfromf(char *str, size_t n, const char *format, float f) in strfromf() argument
157 return snprintf(str, n, format, (double) f); in strfromf()
Dprintf_scanf.c149 check_vsnprintf(char *str, size_t size, const char *format, ...) in check_vsnprintf() argument
154 va_start(ap, format); in check_vsnprintf()
155 i = vsnprintf(str, size, format, ap); in check_vsnprintf()
/picolibc-latest/newlib/libc/tinystdio/
Dstrfroml.c39 const char *restrict format, long double fp) in strfroml() argument
48 if (strlen(format) > sizeof(nformat) - 2) in strfroml()
49 return __d_snprintf(str, n, format, (double) fp); in strfroml()
51 f = format; in strfroml()
Dstrfromd.c39 const char *restrict format, double fp) in strfromd() argument
41 return __d_snprintf(str, n, format, fp); in strfromd()
Dstrfromf.c39 const char *restrict format, float fp) in strfromf() argument
41 return __f_snprintf(str, n, format, __printf_float(fp)); in strfromf()
/picolibc-latest/
D.clang-format2 # clang-format configuration file. Intended for clang-format >= 4.
6 # Documentation/process/clang-format.rst
15 #AlignEscapedNewlines: Left # Unknown to clang-format-4.0
39 #AfterExternBlock: false # Unknown to clang-format-5.0
43 #SplitEmptyFunction: true # Unknown to clang-format-4.0
44 #SplitEmptyRecord: true # Unknown to clang-format-4.0
45 #SplitEmptyNamespace: true # Unknown to clang-format-4.0
48 #BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0
51 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
56 #CompactNamespaces: false # Unknown to clang-format-4.0
[all …]
Dmeson.build129 error(message.format(host_cpu_family))
167 have_format_attribute_option = get_option('have-format-attribute')
309 format_default = get_option('format-default')
508 have_format_attribute = cc.has_function_attribute('format')
561 … specs_prefix_format = specs_prefix_format_format.format(sysroot_to_prefix_correction + '@0@')
677 # How to format each of the three option-selected
693 prefix_include_dir = '%*/@0@/'.format(get_option('includedir'))
694 isystem_prefix = picolibc_prefix_format.format(prefix_include_dir)
696 buildtype_include_dir = specs_prefix_format.format(get_option('includedir') / '%*')
697 isystem_buildtype = picolibc_buildtype_format.format(buildtype_include_dir)
[all …]
Dpicolibc.h.in382 /* The newlib version in string format. */
390 /* The Picolibc version in string format. */
469 /* The Picolibc version in string format. */
Dmeson_options.txt41 option('have-format-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto',
170 option('format-default', type: 'combo', choices: ['double', 'float', 'long-long', 'integer', 'minim…
175 … description: 'enable proposed %b/%B format in printf and scanf in tinystdio (default: false)')
179 description: 'Support %n in printf format strings (default: false)')
/picolibc-latest/newlib/libc/stdio/
Ddiprintf.c52 const char *format, ...) in diprintf() argument
57 va_start (ap, format); in diprintf()
58 n = vdiprintf ( fd, format, ap); in diprintf()
Ddprintf.c56 const char *__restrict format, ...) in dprintf() argument
62 va_start (ap, format); in dprintf()
63 n = vdprintf ( fd, format, ap); in dprintf()
Dvdiprintf.c17 const char *format, in vdiprintf() argument
25 p = vasniprintf ( buf, &n, format, ap); in vdiprintf()
Dvdprintf.c17 const char *__restrict format, in vdprintf() argument
25 p = vasnprintf ( buf, &n, format, ap); in vdprintf()
Dstdio.tex22 to generate or scan strings according to specifications from a format string.
102 * Function siscanf:: Scan and format input (integer only)
104 * Function sscanf:: Scan and format input
107 * Function swscanf:: Scan and format wide character input
115 * Function vfwscanf:: Scan and format argument list from wide character input
117 * Function viscanf:: Scan variable format list (integer only)
/picolibc-latest/newlib/libc/stdlib/
Deprintf.c22 __eprintf (const char *format, const char *file, unsigned int line, const char *expression) in __eprintf() argument
24 (void) fprintf (stderr, format, file, line, expression); in __eprintf()
/picolibc-latest/newlib/libc/xdr/
Dxdr_private.c38 xdr_vwarnx (const char *format, in xdr_vwarnx() argument
43 (*xdr_vprintf)(format, ap); in xdr_vwarnx()
/picolibc-latest/newlib/libc/time/
Dstrptime.c157 strptime_l (const char *buf, const char *format, struct tm *timeptr, in strptime_l() argument
164 for (; (c = *format) != '\0'; ++format) { in strptime_l()
171 } else if (c == '%' && format[1] != '\0') { in strptime_l()
172 c = *++format; in strptime_l()
174 c = *++format; in strptime_l()
437 --format; in strptime_l()
515 strptime (const char *buf, const char *format, struct tm *timeptr) in strptime() argument
517 return strptime_l (buf, format, timeptr, __get_current_locale ()); in strptime()
Dstrftime.c676 __strftime (CHAR *s, size_t maxsize, const CHAR *format, in __strftime() argument
681 __strftime (CHAR *s, size_t maxsize, const CHAR *format, in __strftime()
702 while (*format && *format != CQ('%')) in __strftime()
705 s[count++] = *format++; in __strftime()
709 if (*format == CQ('\0')) in __strftime()
711 format++; in __strftime()
717 if (*format == CQ('0') || *format == CQ('+')) in __strftime()
718 pad = *format++; in __strftime()
721 if (*format >= CQ('1') && *format <= CQ('9')) in __strftime()
724 width = STRTOUL (format, &fp, 10); in __strftime()
[all …]
/picolibc-latest/cmake/
Dhave-format-attribute.c1 int foo(const char * p, ...) __attribute__((format(printf, 1, 2)));
/picolibc-latest/newlib/libc/include/
Dstdlib.h280 const char *__restrict format, double fp);
290 const char *__restrict format, float fp);
293 const char *__restrict format, long double fp);
/picolibc-latest/newlib/libm/common/
Dfrexpl.c149 # error Unsupported long double format.
/picolibc-latest/doc/
Dprintf.md5 needed by the application. The format-string based interface to
57 support for the upcoming %b format specifier via the `io-percent-b`
119 applications needn't adjust format strings in most cases, but the
213 the C99 type-specific format modifiers 'j', 'z' and 't' and the hex
214 float format 'a' are included in the long-long, integer and minimal
215 printf and scanf variants. Support for the C99 format specifiers
/picolibc-latest/semihost/machine/x86/
Dmeson.build78 bios_ld = '@0@/@1@'.format(meson.current_source_dir(), 'bios.ld')
/picolibc-latest/newlib/libc/iconv/
Diconv.tex15 * CCS tables:: CCS tables format and 'mktbl.pl' Perl script
1005 @subsection Speed-optimized tables format
1007 In case of 8-bit speed-optimized CCS tables the "to_ucs" subtables format is
1020 In this chapter the "UCS-2 -> CCS" 8-bit CCS table format is described. The
1021 16-bit "CCS -> UCS-2" CCS table format is the same, except the mapping
1080 Having such a table format, the algorithm of searching the CCS code
1102 @subsection Size-optimized tables format
1112 This sections describes the format of the "UCS-2 -> CCS" size-optimized
1113 CCS table. The format of "CCS -> UCS-2" table is the same.
1156 the following format (triads):
[all …]

12