Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 26) sorted by relevance

12

/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dvfprintf.c313 int width; in skip_to_arg() local
326 width = 0; in skip_to_arg()
353 width = 10 * width + c; in skip_to_arg()
365 if (width == current_argno) { in skip_to_arg()
367 argno = width; in skip_to_arg()
372 argno = width; in skip_to_arg()
373 width = 0; in skip_to_arg()
378 width = 0; in skip_to_arg()
383 width = 0; in skip_to_arg()
423 int width; in vfprintf() local
[all …]
Dvfscanf.c106 conv_int (FILE *stream, int *lenp, width_t width, void *addr, uint16_t flags, unsigned int base) in conv_int() argument
118 if (!--width || IS_EOF(i = scanf_getc(stream, lenp))) in conv_int()
126 if (!--width || IS_EOF(i = scanf_getc (stream, lenp))) in conv_int()
133 if (!--width || IS_EOF(i = scanf_getc (stream, lenp))) in conv_int()
138 if (!--width || IS_EOF(i = scanf_getc (stream, lenp))) in conv_int()
155 if (!--width) goto putval; in conv_int()
171 conv_brk (FILE *stream, int *lenp, width_t width, CHAR *addr, const CHAR *fmt) in conv_brk() argument
238 } while (--width); in conv_brk()
425 width_t width; in vfscanf() local
469 width = 0; in vfscanf()
[all …]
Dconv_flt.c85 # define CHECK_WIDTH() (--width != 0)
196 conv_flt (FLT_STREAM *stream, int *lenp, width_t width, void *addr, uint16_t flags) in conv_flt() argument
385 if (width) in conv_flt()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dnano-vfscanf_i.c55 if (pdata->width == 0) in _scanf_chars()
56 pdata->width = (pdata->code == CT_CHAR) ? 1 : (size_t)~0; in _scanf_chars()
72 if (--pdata->width == 0) in _scanf_chars()
112 if (pdata->width == 0 || pdata->width > BUF - 1) in _scanf_i()
115 if (pdata->width - 1 > BUF - 2) in _scanf_i()
118 width_left = pdata->width - (BUF - 1); in _scanf_i()
119 pdata->width = BUF - 1; in _scanf_i()
152 if (pdata->width-- > 0) in _scanf_i()
173 for (; pdata->width; pdata->width--) in _scanf_i()
184 pdata->width++; in _scanf_i()
Dvfscanf.c384 register size_t width; /* field width, or 0 */ in _SVFSCANF() local
611 width = 0; in _SVFSCANF()
645 || width) in _SVFSCANF()
746 width = width * 10 + c - '0'; in _SVFSCANF()
753 if (width <= MAX_POS_ARGS) in _SVFSCANF()
755 N = width - 1; in _SVFSCANF()
757 width = 0; in _SVFSCANF()
934 if (width == 0) in _SVFSCANF()
935 width = 1; in _SVFSCANF()
954 while (width != 0) in _SVFSCANF()
[all …]
Dvfwscanf.c288 register size_t width; /* field width, or 0 */ in _SVFWSCANF() local
521 width = 0; in _SVFWSCANF()
552 || width) in _SVFWSCANF()
653 width = width * 10 + c - L'0'; in _SVFWSCANF()
660 if (width <= MAX_POS_ARGS) in _SVFWSCANF()
662 N = width - 1; in _SVFWSCANF()
664 width = 0; in _SVFWSCANF()
825 if (width == 0) in _SVFWSCANF()
826 width = 1; in _SVFWSCANF()
844 while (width-- != 0 && (wi = fgetwc ( fp)) != WEOF) in _SVFWSCANF()
[all …]
Dnano-vfscanf_float.c58 if (pdata->width == 0 || pdata->width > BUF - 1) in _scanf_float()
61 if (pdata->width - 1 > BUF - 2) in _scanf_float()
64 width_left = pdata->width - (BUF - 1); in _scanf_float()
65 pdata->width = BUF - 1; in _scanf_float()
70 for (p = pdata->buf; pdata->width; ) in _scanf_float()
85 pdata->width++; in _scanf_float()
213 pdata->width--; in _scanf_float()
Dnano-vfprintf_i.c81 PAD (pdata->width - *realsz, pdata->blank); in _printf_common()
95 n = pdata->width - *realsz; in _printf_common()
248 PAD (pdata->width - realsz, pdata->blank); in _printf_i()
250 return (pdata->width > realsz ? pdata->width : realsz); in _printf_i()
Dnano-vfprintf.c519 prt_data.width = 0; in VFPRINTF()
556 prt_data.width = GET_ARG (n, ap_copy, int); in VFPRINTF()
557 if (prt_data.width < 0) in VFPRINTF()
559 prt_data.width = -prt_data.width; in VFPRINTF()
567 prt_data.width = 10 * prt_data.width + to_digit (*fmt); in VFPRINTF()
Dnano-vfscanf.c277 scan_data.width = 0; in _SVFSCANF()
287 scan_data.width = 10 * scan_data.width + to_digit (*fmt); in _SVFSCANF()
Dnano-vfprintf_float.c358 PAD (pdata->width - realsz, pdata->blank); in _printf_float()
360 return (pdata->width > realsz ? pdata->width : realsz); in _printf_float()
Dvfwprintf.c377 int width; /* width from format (%8d), or 0 */ in VFWPRINTF() local
638 width = 0; in VFWPRINTF()
728 width = GET_ARG (n, ap, int); in VFWPRINTF()
732 if (width >= 0) in VFWPRINTF()
734 width = -width; in VFWPRINTF()
814 width = n; in VFWPRINTF()
1413 PAD (width - realsz, blanks); in VFWPRINTF()
1423 PAD (width - realsz, zeroes); in VFWPRINTF()
1497 PAD (width - realsz, blanks); in VFWPRINTF()
1500 ret += width > realsz ? width : realsz; in VFWPRINTF()
Dnano-vfscanf_local.h151 size_t width; /* Width. */ member
Dvfprintf.c411 int width; /* width from format (%8d), or 0 */ in VFPRINTF() local
691 width = 0; in VFPRINTF()
765 width = GET_ARG (n, ap, int); in VFPRINTF()
769 if (width >= 0) in VFPRINTF()
771 width = -width; in VFPRINTF()
851 width = n; in VFPRINTF()
1438 PAD (width - realsz, blanks); in VFPRINTF()
1448 PAD (width - realsz, zeroes); in VFPRINTF()
1521 PAD (width - realsz, blanks); in VFPRINTF()
1524 ret += width > realsz ? width : realsz; in VFPRINTF()
Dnano-vfprintf_local.h194 int width; /* Width. */ member
/picolibc-3.7.0-3.6.0/newlib/libc/string/
DmkwidthA17 sed -e "s,^\([^;]*\);A,\1," -e t -e d EastAsianWidth.txt > width-a-new
20 PATH="$PATH:." uniset +width-a-new compact >> WIDTH-A
21 rm -f width-a-new
Duniset443 $width = int(sqrt($count/sqrt(2)) + 0.5);
444 $width = $1 if /^giftable([0-9]+)$/;
456 if (++$col == $width) {
506 $width = 16;
507 $width = $1 if /giftable([0-9]+)/;
519 if (++$col == $width) {
Dmkunidata4 echo Generating Unicode width data for newlib/libc/string/wcwidth.c
67 echo generating ambiguous width characters table
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Decvtbuf.c142 int width, in print_e() argument
151 int ndigit = width; in print_e()
153 p = __dtoa (invalue, 2, width + 1, &decpt, &sign, &end); in print_e()
471 int width, in _dcvt() argument
475 (void) width; /* XXX should be used */ in _dcvt()
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dstrftime.c697 unsigned long width; in __strftime() local
714 width = 0; in __strftime()
725 width = STRTOUL (format, &fp, 10); in __strftime()
879 if (width < 2) in __strftime()
880 width = 2; in __strftime()
882 neg ? "-" : pos, width - neg, century); in __strftime()
936 width = 10; in __strftime()
937 if (width < 6) in __strftime()
938 width = 6; in __strftime()
939 width -= 6; in __strftime()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/test/
Ddcvt.c449 int width, in _dcvt() argument
/picolibc-3.7.0-3.6.0/newlib/libc/xdr/
DREADME9 1) xdr_* functions for fixed-width integral types have been
/picolibc-3.7.0-3.6.0/newlib/
DNEWS90 - generated Unicode 10.0 width data, case conversion data,
/picolibc-3.7.0-3.6.0/doc/
Dprintf.md116 `-Dformat-default=minimal`). This removes support for width and
/picolibc-3.7.0-3.6.0/
DREADME.md263 by removing code that acts on most data modifers including width

12