Home
last modified time | relevance | path

Searched refs:__SWR (Results 1 – 22 of 22) sorted by relevance

/bionic/libc/stdio/
Drefill.c42 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) in lflush()
70 if (fp->_flags & __SWR) { in __srefill()
73 fp->_flags &= ~__SWR; in __srefill()
109 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) in __srefill()
Dsprintf.c56 f._flags = __SWR | __SSTR; in sprintf()
Dsnprintf.c60 f._flags = __SWR | __SSTR; in snprintf()
Dstdio_ext.cpp58 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()
Dstdio.cpp80 std(__SWR, STDOUT_FILENO),
81 std(__SWR|__SNBF, STDERR_FILENO),
282 if (fp->_flags & __SWR) __sflush(fp); in freopen()
373 int r = fp->_flags & __SWR ? __sflush(fp) : 0; in fclose()
457 } else if (fp->_flags & __SWR && fp->_p != NULL) { in __ftello64_unlocked()
566 fp->_flags = __SWR; in __funopen()
Dlocal.h132 #define __SWR 0x0008 // OK to write. macro
219 ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && \
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c59 ret = __SWR; in __sflags()
65 ret = __SWR; in __sflags()
Dwsetup.c53 if ((fp->_flags & __SWR) == 0) { in __swsetup()
64 fp->_flags |= __SWR; in __swsetup()
Dfflush.c47 if ((fp->_flags & (__SWR | __SRW)) == 0) { in fflush()
63 if ((t & __SWR) == 0) in __sflush()
Dvsprintf.c53 f._flags = __SWR | __SSTR; in vsprintf()
Dvsnprintf.c58 f._flags = __SWR | __SSTR; in vsnprintf()
Dvdprintf.c62 f._flags = __SWR; in vdprintf()
Dungetc.c96 if (fp->_flags & __SWR) { in ungetc()
99 fp->_flags &= ~__SWR; in ungetc()
Dvasprintf.c35 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
Dasprintf.c37 f._flags = __SWR | __SSTR | __SALC; in asprintf()
Dvswprintf.c57 f._flags = __SWR | __SSTR | __SALC; in vswprintf()
Dsetvbuf.c142 if (flags & __SWR) { in setvbuf()
Dopen_memstream.c148 fp->_flags = __SWR; in open_memstream()
Dfmemopen.c177 fp->_read = (flags & __SWR) ? NULL : fmemopen_read; in fmemopen()
Dopen_wmemstream.c159 fp->_flags = __SWR; in open_wmemstream()
Dvfprintf.c467 if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) && in __vfprintf()
Dvfwprintf.c455 if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) && in __vfwprintf()