Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c111 int _size; in __sfvwrite() local
114 _size = ((blen + len + 1 + pgmsk) & ~pgmsk) - 1; in __sfvwrite()
116 fp->_bf._size + 1, _size + 1, 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()
180 w = fp->_w + fp->_bf._size; in __sfvwrite()
187 } 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()
Dmakebuf.c58 fp->_bf._size = 1; in __smakebuf()
65 fp->_bf._size = 1; in __smakebuf()
70 fp->_bf._size = size; in __smakebuf()
Dsetvbuf.c111 fp->_bf._size = 1; in setvbuf()
142 fp->_bf._size = size; in setvbuf()
151 fp->_lbfsize = -fp->_bf._size; in setvbuf()
Dfgetln.c47 if (fp->_lb._size >= newsize) in __slbexpand()
49 if ((p = recallocarray(fp->_lb._base, fp->_lb._size, newsize, 1)) == NULL) in __slbexpand()
52 fp->_lb._size = newsize; in __slbexpand()
Dwbuf.c70 if (n >= fp->_bf._size) { in __swbuf()
77 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
Dwsetup.c89 fp->_lbfsize = -fp->_bf._size; in __swsetup()
91 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
Dvasprintf.c42 f._bf._size = f._w = INITIAL_SIZE - 1; /* leave room for the NUL */ in vasprintf()
50 f._bf._size + 1, ret + 1, 1); in vasprintf()
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()
Dvdprintf.c65 f._bf._size = sizeof(buf); in vdprintf()
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.md163 ### backtrace\_min\_size=ALLOCATION\_SIZE\_BYTES
167 with the backtrace\_max\_size option, then allocations greater than or
168 equal to backtrace\_min\_size and less than or equal to
169 backtrace\_max\_size will be backtraced. The backtrace\_size option
176 ### backtrace\_max\_size=ALLOCATION\_SIZE\_BYTES
180 with the backtrace\_min\_size option, then allocations greater than or
181 equal to backtrace\_min\_size and less than or equal to
182 backtrace\_max\_size will be backtraced. The backtrace\_size option
189 ### backtrace\_size=ALLOCATION\_SIZE\_BYTES
192 This option overrides the backtrace\_min\_size and the backtrace\_max\_size.
[all …]
/bionic/libc/include/sys/
Difunc.h55 unsigned long _size; member
/bionic/libc/bionic/
Dbionic_call_ifunc_resolver.cpp47 arg._size = sizeof(__ifunc_arg_t); in __bionic_call_ifunc_resolver()
Dwcstod.cpp61 f._bf._size = f._r = max_len; in wcstod()
/bionic/libc/stdio/
Dlocal.h55 size_t _size; member
57 int _size; member
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()
Dstdio.cpp192 fp->_bf._size = 0; in __sfp()
197 fp->_lb._size = 0; in __sfp()
372 fp->_bf._size = 0; in freopen()
375 _UB(fp)._size = 0; in freopen()
378 fp->_lb._size = 0; in freopen()
508 fp->_w = (fp->_flags & (__SLBF|__SNBF)) ? 0 : fp->_bf._size; in __sflush()
1036 f._bf._size = f._w = n - 1; in vsnprintf()
1124 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/tests/
Difunc_test.cpp99 EXPECT_EQ(sizeof(__ifunc_arg_t), g_arg._size); in TEST()
/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.

12