Home | History | Annotate | Download | only in stdio

Lines Matching defs:BUF

49 #define	BUF		513	/* Maximum length of numeric string. */
117 char buf[BUF]; /* buffer for numeric conversions */
459 if (width == 0 || width > sizeof(buf) - 1)
460 width = sizeof(buf) - 1;
463 if (--width > sizeof(buf) - 2)
464 width = sizeof(buf) - 2;
468 for (p = buf; width; width--) {
540 buf + 1 + !!(flags & HAVESIGN)) {
570 if (p > buf)
584 res = strtoumax(buf, NULL, base);
586 res = strtoimax(buf, NULL, base);
608 nread += p - buf;
616 if (width == 0 || width > sizeof(buf) - 1)
617 width = sizeof(buf) - 1;
620 if (--width > sizeof(buf) - 2)
621 width = sizeof(buf) - 2;
625 for (p = buf; width; width--) {
658 buf + 1 + !!(flags & HAVESIGN)) {
705 while (p > buf)
721 res = strtod(buf, (char **) NULL);
730 nread += p - buf;