Home
last modified time | relevance | path

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

/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()
Dfgetln.c47 if (fp->_lb._size >= newsize) in __slbexpand()
52 fp->_lb._size = newsize; in __slbexpand()
Dvdprintf.c65 f._bf._size = sizeof(buf); in vdprintf()
Dvasprintf.c39 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vasprintf()
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()
Dvfprintf.c135 fake._bf._size = fake._w = sizeof(buf); in __sbprintf()
Dvfwprintf.c113 fake._bf._size = fake._w = sizeof(buf); in __sbprintf()
/bionic/libc/malloc_debug/
DREADME_api.md14 *overall\_size* is set to the total size of the buffer returned. If this
15 *info\_size*
20 *backtrace\_size* is set to the maximum number of backtrace entries
38 *backtrace\_size* as returned by the original call to
45 of backtrace entries is less than *backtrace\_size*, the rest of the
54 *overall\_size* divided by *info\_size*.
DREADME.md365 This indicates that a function (malloc\_usable\_size) was called with
/bionic/libc/stdio/
Dlocal.h53 size_t _size; member
55 int _size; member
158 _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()
Dstdio.cpp165 fp->_bf._size = 0; in __sfp()
170 fp->_lb._size = 0; in __sfp()
324 fp->_bf._size = 0; in freopen()
327 _UB(fp)._size = 0; in freopen()
330 fp->_lb._size = 0; in freopen()
825 f._bf._size = f._w = n - 1; in vsnprintf()
/bionic/libc/bionic/
Dwcstod.cpp60 f._bf._size = f._r = max_len; in wcstod()