Lines Matching refs:width
163 size_t width; /* field width, or 0 */
204 width = 0;
258 width = width * 10 + c - '0';
393 if (width == 0)
394 width = 1;
401 while (width != 0) {
420 width--;
438 if ((n = fp->_r) < width) {
440 width -= n;
448 sum += width;
450 fp->_r - width));
451 fp->_r -= (int)width;
452 fp->_p += width;
459 width, fp);
471 if (width == 0)
472 width = (size_t)~0; /* `infinity' */
484 while (width != 0) {
512 width--;
541 if (--width == 0)
556 if (--width == 0)
576 if (width == 0)
577 width = (size_t)~0;
586 while (!isspace_l(*fp->_p, loc) && width != 0) {
613 width--;
634 if (--width == 0)
645 if (--width == 0)
660 if (width == 0 || width > sizeof(buf) - 1)
661 width = sizeof(buf) - 1;
664 if (--width > sizeof(buf) - 2)
665 width = sizeof(buf) - 2;
666 width++;
669 for (p = buf; width; width--) {
819 if (width == 0 || width > sizeof(buf) - 1)
820 width = sizeof(buf) - 1;
821 if ((width = parsefloat(fp, buf, buf + width, loc)) == 0)
835 if (__scanfdebug && (size_t)(p - buf) != width)
839 nread += width;