Searched refs:_size (Results 1 - 25 of 27) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dfvwrite.c95 * one _bf._size byte chunk directly (without copying).
109 int _size; local
112 _size = fp->_bf._size;
114 _size = (_size << 1) + 1;
115 } while (_size < blen + len);
116 _base = realloc(fp->_bf._base, _size + 1);
119 fp->_w += _size - fp->_bf._size;
[all...]
H A Dwbuf.c51 * make sure _w is 0 (if fully- or un-buffered) or -_bf._size
68 * happen on unbuffered streams, where _bf._size==1; __sflush()
73 if (n >= fp->_bf._size) {
80 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n'))
H A Dwsetup.c82 fp->_lbfsize = -fp->_bf._size;
84 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size;
H A Dmakebuf.c58 fp->_bf._size = 1;
65 fp->_bf._size = 1;
70 fp->_bf._size = size;
H A Dungetc.c59 _UB(fp)._size = BUFSIZ;
66 i = _UB(fp)._size;
74 _UB(fp)._size = i * 2;
112 if (fp->_r >= _UB(fp)._size && __submore(fp))
139 _UB(fp)._size = sizeof(fp->_ubuf);
H A Dsetvbuf.c110 fp->_bf._size = 1;
140 fp->_bf._size = size;
149 fp->_lbfsize = -fp->_bf._size;
H A Dfpurge.c58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size;
H A Dvsnprintf.c60 f._bf._size = f._w = n - 1;
H A Dvsprintf.c55 f._bf._size = f._w = INT_MAX;
H A Dvsscanf.c55 f._bf._size = f._r = strlen(str);
H A Dsscanf.c59 f._bf._size = f._r = strlen(str);
H A Dvasprintf.c39 f._bf._size = f._w = 127; /* Leave room for the NUL */
H A Dvdprintf.c65 f._bf._size = sizeof(buf);
H A Dfgetln.c47 if (fp->_lb._size >= newsize)
52 fp->_lb._size = newsize;
H A Dasprintf.c41 f._bf._size = f._w = 127; /* Leave room for the NUL */
H A Dfflush.c76 fp->_w = t & (__SLBF|__SNBF) ? 0 : fp->_bf._size;
H A Dvswprintf.c63 f._bf._size = f._w = 127; /* Leave room for the NUL */
H A Dvswscanf.c81 f._bf._size = f._r = mlen;
/bionic/libc/stdio/
H A Dsnprintf.c62 f._bf._size = f._w = n - 1;
H A Dsprintf.c58 f._bf._size = f._w = INT_MAX;
H A Dfread.c74 * Ensure _bf._size is valid.
104 if (total > (size_t) fp->_bf._size) {
H A Drefill.c113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size);
H A Dstdio_ext.cpp38 return fp->_bf._size;
H A Dlocal.h53 size_t _size; member in struct:__sbuf
55 int _size; member in struct:__sbuf
71 int _lbfsize; /* 0 or -_bf._size, for inline putc */
97 int _blksize; /* stat.st_blksize (may be != _bf._size) */
162 _UB(fp)._size = 0; \
H A Dstdio.cpp155 fp->_bf._size = 0;
160 fp->_lb._size = 0;
314 fp->_bf._size = 0;
317 _UB(fp)._size = 0;
320 fp->_lb._size = 0;

Completed in 150 milliseconds

12