Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c109 int _size; in __sfvwrite() local
112 _size = fp->_bf._size; in __sfvwrite()
114 _size = (_size << 1) + 1; in __sfvwrite()
115 } while (_size < blen + len); in __sfvwrite()
116 _base = realloc(fp->_bf._base, _size + 1); in __sfvwrite()
119 fp->_w += _size - fp->_bf._size; in __sfvwrite()
121 fp->_bf._size = _size; in __sfvwrite()
139 } else if (len >= (w = fp->_bf._size)) { in __sfvwrite()
172 w = fp->_w + fp->_bf._size; in __sfvwrite()
179 } else if (s >= (w = fp->_bf._size)) { in __sfvwrite()
Dungetc.c59 _UB(fp)._size = BUFSIZ; in __submore()
66 i = _UB(fp)._size; in __submore()
74 _UB(fp)._size = i * 2; in __submore()
112 if (fp->_r >= _UB(fp)._size && __submore(fp)) in ungetc()
139 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()
Dwbuf.c73 if (n >= fp->_bf._size) { in __swbuf()
80 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
Dmakebuf.c58 fp->_bf._size = 1; in __smakebuf()
65 fp->_bf._size = 1; in __smakebuf()
70 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()
140 fp->_bf._size = size; in setvbuf()
149 fp->_lbfsize = -fp->_bf._size; in setvbuf()
Dfpurge.c58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in fpurge()
Dvsscanf.c55 f._bf._size = f._r = strlen(str); in vsscanf()
Dvsprintf.c55 f._bf._size = f._w = INT_MAX; in vsprintf()
Dfgetln.c47 if (fp->_lb._size >= newsize) in __slbexpand()
52 fp->_lb._size = newsize; in __slbexpand()
Dsscanf.c59 f._bf._size = f._r = strlen(str); in sscanf()
Dvsnprintf.c60 f._bf._size = f._w = n - 1; in vsnprintf()
Dvdprintf.c65 f._bf._size = sizeof(buf); in vdprintf()
Dvasprintf.c39 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vasprintf()
Dasprintf.c41 f._bf._size = f._w = 127; /* Leave room for the NUL */ in asprintf()
Dfflush.c76 fp->_w = t & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in __sflush()
Dvswscanf.c81 f._bf._size = f._r = mlen; in vswscanf()
Dvswprintf.c63 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vswprintf()
/bionic/libc/malloc_debug/
DREADME_api.md18 <i>overall\_size</i> is set to the total size of the buffer returned. If this
19 <i>info\_size</i>
24 <i>backtrace\_size</i> is set to the maximum number of backtrace entries
48 <i>backtrace\_size</i> as returned by the original call to
60 <i>overall\_size</i> divided by <i>info\_size</i>.
/bionic/libc/stdio/
Dsprintf.c58 f._bf._size = f._w = INT_MAX; in sprintf()
Dsnprintf.c62 f._bf._size = f._w = n - 1; in snprintf()
Dlocal.h53 size_t _size; member
55 int _size; member
162 _UB(fp)._size = 0; \
Dstdio_ext.cpp38 return fp->_bf._size; in __fbufsize()
Dfread.c104 if (total > (size_t) fp->_bf._size) { in fread()
Drefill.c113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()

12