Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 22 of 22) 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.c54 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()
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.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.md380 free/malloc\_usable\_size/realloc calls are passed valid pointers.
393 malloc\_usable\_size, realloc.
455 This indicates that a function (malloc\_usable\_size) was called with
/bionic/libc/stdio/
Dstdio_ext.cpp39 return fp->_bf._size; in __fbufsize()
Drefill.c113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
Dlocal.h55 size_t _size; member
57 int _size; member
Dstdio.cpp194 fp->_bf._size = 0; in __sfp()
199 fp->_lb._size = 0; in __sfp()
364 fp->_bf._size = 0; in freopen()
367 _UB(fp)._size = 0; in freopen()
370 fp->_lb._size = 0; in freopen()
512 fp->_w = (fp->_flags & (__SLBF|__SNBF)) ? 0 : fp->_bf._size; in __sflush()
1043 f._bf._size = f._w = n - 1; in vsnprintf()
1131 if (total > static_cast<size_t>(fp->_bf._size)) break; in fread_unlocked()
Dprintf_common.h102 fake._bf._size = fake._w = sizeof(buf); in __sbprintf()
/bionic/libc/bionic/
Dwcstod.cpp63 f._bf._size = f._r = max_len; in wcstod()
/bionic/libc/malloc_hooks/
DREADME.md59 There is no hook for malloc\_usable\_size as of now.
71 it runs the risk of crashing whenever a malloc\_usable\_size call is made.