/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
vfscanf.c | 48 #define BUF 513 /* Maximum length of numeric string. */ 112 char buf[BUF]; /* buffer for numeric conversions */ local 353 buf[n++] = *fp->_p; 357 nconv = mbrtowc(wcp, buf, n, &mbs); 435 buf[n++] = *fp->_p; 439 nconv = mbrtowc(wcp, buf, n, &mbs); 451 ungetc(buf[n], 539 buf[n++] = *fp->_p; 543 nconv = mbrtowc(wcp, buf, n, &mbs) [all...] |
vfwscanf.c | 49 #define BUF 513 /* Maximum length of numeric string. */ 114 wchar_t buf[BUF]; /* buffer for numeric conversions */ local 537 if (width == 0 || width > sizeof(buf) / 538 sizeof(*buf) - 1) 539 width = sizeof(buf) / sizeof(*buf) - 1; 541 for (p = buf; width; width--) { 613 buf + 1 + !!(flags & HAVESIGN)) { 641 if (p > buf) [all...] |
vfwprintf.c | 102 unsigned char buf[BUFSIZ]; local 112 fake._bf._base = fake._p = buf; 113 fake._bf._size = fake._w = sizeof(buf); 133 char buf[MB_LEN_MAX]; local 142 len = wcrtomb(buf, wc, &mbs); 151 iov.iov_base = buf; 250 #define BUF 100 327 wchar_t buf[BUF]; /* buffer with space for digits of uintmax_t */ local 613 *(cp = buf) = (wchar_t)GETARG(wint_t) [all...] |
vfprintf.c | 124 unsigned char buf[BUFSIZ]; local 134 fake._bf._base = fake._p = buf; 135 fake._bf._size = fake._w = sizeof(buf); 158 char buf[MB_LEN_MAX]; local 185 clen = wcrtomb(buf, *p++, &mbs); 233 #define BUF 100 327 char buf[BUF]; /* buffer with space for digits of uintmax_t */ local 639 mbseqlen = wcrtomb(buf, 646 cp = buf; [all...] |
/ndk/sources/android/support/src/stdio/ |
vfscanf.c | 49 #define BUF 513 /* Maximum length of numeric string. */ 117 char buf[BUF]; /* buffer for numeric conversions */ local 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) [all...] |