Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 23 of 23) sorted by relevance

/bionic/libc/stdio/
Dfvwrite.c113 int _size; in __sfvwrite() local
116 _size = fp->_bf._size; in __sfvwrite()
118 _size = (_size << 1) + 1; in __sfvwrite()
119 } while (_size < (int)(blen + len)); in __sfvwrite()
120 _base = realloc(fp->_bf._base, _size + 1); in __sfvwrite()
123 fp->_w += _size - fp->_bf._size; in __sfvwrite()
125 fp->_bf._size = _size; in __sfvwrite()
143 } else if ((int)len >= (w = fp->_bf._size)) { in __sfvwrite()
176 w = fp->_w + fp->_bf._size; in __sfvwrite()
183 } else if (s >= (w = fp->_bf._size)) { in __sfvwrite()
Dwbuf.c73 if (n >= fp->_bf._size) { in __swbuf()
80 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
Dungetc.c59 _UB(fp)._size = BUFSIZ; in __submore()
66 i = _UB(fp)._size; in __submore()
74 _UB(fp)._size = i << 1; in __submore()
112 if (fp->_r >= _UB(fp)._size && __submore(fp)) in ungetc()
139 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()
Dmakebuf.c58 fp->_bf._size = 1; in __smakebuf()
65 fp->_bf._size = 1; in __smakebuf()
71 fp->_bf._size = size; in __smakebuf()
Dwsetup.c82 fp->_lbfsize = -fp->_bf._size; in __swsetup()
84 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
Dsetvbuf.c110 fp->_bf._size = 1; in setvbuf()
134 fp->_bf._size = size; in setvbuf()
143 fp->_lbfsize = -fp->_bf._size; in setvbuf()
Dfreopen.c113 fp->_bf._size = 0; in freopen()
117 _UB(fp)._size = 0; in freopen()
121 fp->_lb._size = 0; in freopen()
Dfpurge.c58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in fpurge()
Dvsprintf.c55 f._bf._size = f._w = INT_MAX; in vsprintf()
Dvsscanf.c54 f._bf._size = f._r = strlen(str); in vsscanf()
Dsprintf.c57 f._bf._size = f._w = INT_MAX; in sprintf()
Dvsnprintf.c60 f._bf._size = f._w = n - 1; in vsnprintf()
Dsscanf.c58 f._bf._size = f._r = strlen(str); in sscanf()
Dfgetln.c54 if ((size_t)fp->_lb._size >= newsize) in __slbexpand()
59 fp->_lb._size = newsize; in __slbexpand()
Dsnprintf.c61 f._bf._size = f._w = n - 1; in snprintf()
Dasprintf.c39 f._bf._size = f._w = 127; /* Leave room for the NUL */ in asprintf()
Dvasprintf.c39 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vasprintf()
Dfileext.h53 _UB(fp)._size = 0; \
Dfflush.c76 fp->_w = t & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in __sflush()
Dfindfp.c138 fp->_bf._size = 0; in __sfp()
143 fp->_lb._size = 0; in __sfp()
Drefill.c116 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
Dvfprintf.c99 fake._bf._size = fake._w = sizeof(buf); in __sbprintf()
/bionic/libc/include/
Dstdio.h89 int _size; member