Home
last modified time | relevance | path

Searched refs:_w (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c107 (__SALC | __SSTR) && fp->_w < len) { in __sfvwrite()
119 fp->_w += _size - fp->_bf._size; in __sfvwrite()
124 w = fp->_w; in __sfvwrite()
129 fp->_w -= w; in __sfvwrite()
148 fp->_w -= w; in __sfvwrite()
172 w = fp->_w + fp->_bf._size; in __sfvwrite()
186 fp->_w -= w; in __sfvwrite()
Dsetvbuf.c109 fp->_w = 0; in setvbuf()
150 fp->_w = 0; in setvbuf()
153 fp->_w = size; in setvbuf()
156 fp->_w = 0; in setvbuf()
Dwbuf.c56 fp->_w = fp->_lbfsize; in __swbuf()
78 fp->_w--; in __swbuf()
Dwsetup.c81 fp->_w = 0; in __swsetup()
84 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
Dfpurge.c58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in fpurge()
Dvdprintf.c61 f._w = sizeof(buf); in vdprintf()
Dvasprintf.c42 f._bf._size = f._w = INITIAL_SIZE - 1; /* leave room for the NUL */ in vasprintf()
Dvswprintf.c63 f._bf._size = f._w = 127; /* Leave room for the NUL */ in vswprintf()
Dungetc.c100 fp->_w = 0; in ungetc()
/bionic/libc/stdio/
Drefill.c74 fp->_w = 0; in __srefill()
Dstdio.cpp189 fp->_w = 0; /* nothing to read or write */ in __sfp()
368 fp->_w = 0; in freopen()
435 fp->_r = fp->_w = 0; in __FILE_close()
508 fp->_w = (fp->_flags & (__SLBF|__SNBF)) ? 0 : fp->_bf._size; in __sflush()
907 if (--fp->_w >= 0 || (fp->_w >= fp->_lbfsize && c != '\n')) { in putc_unlocked()
1036 f._bf._size = f._w = n - 1; in vsnprintf()
Dlocal.h64 int _w; /* write space left for putc() */ member
Dprintf_common.h102 fake._bf._size = fake._w = sizeof(buf); in __sbprintf()