Home
last modified time | relevance | path

Searched refs:__SWR (Results 1 – 15 of 15) 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()
Dstdio_ext.cpp47 return (fp->_flags & __SWR) != 0; in __fwriting()
55 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()
Dlocal.h151 #define __SWR 0x0008 // Last operation was write. macro
218 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp))
Dstdio.cpp99 MAKE_STD_STREAM(__SWR, STDOUT_FILENO),
100 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),
340 if (fp->_flags & __SWR) __sflush(fp); in freopen()
415 int r = fp->_flags & __SWR ? __sflush(fp) : 0; in __FILE_close()
498 if ((fp->_flags & __SWR) == 0) return 0; in __sflush()
583 } else if (fp->_flags & __SWR && fp->_p != nullptr) { in __ftello64_unlocked()
700 fp->_flags = __SWR; in __funopen()
1034 f._flags = __SWR | __SSTR; in vsnprintf()
1075 if ((fp->_flags & (__SWR | __SRW)) == 0) { in fflush_unlocked()
Dvfprintf.cpp147 if ((fp->_flags & (__SNBF | __SWR | __SRW)) == (__SNBF | __SWR) && fp->_file >= 0) { in FUNCTION_NAME()
Dvfwprintf.cpp150 if ((fp->_flags & (__SNBF | __SWR | __SRW)) == (__SNBF | __SWR) && fp->_file >= 0) { in FUNCTION_NAME()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c59 ret = __SWR; in __sflags()
65 ret = __SWR; in __sflags()
Dwsetup.c54 if ((fp->_flags & __SWR) == 0) { in __swsetup()
68 fp->_flags |= __SWR; in __swsetup()
Dungetc.c96 if (fp->_flags & __SWR) { in ungetc()
99 fp->_flags &= ~__SWR; in ungetc()
Dvdprintf.c62 f._flags = __SWR; in vdprintf()
Dvasprintf.c38 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
Dvswprintf.c57 f._flags = __SWR | __SSTR | __SALC; in vswprintf()
Dsetvbuf.c144 if (flags & __SWR) { in setvbuf()
Dopen_memstream.c146 fp->_flags = __SWR; in open_memstream()
Dopen_wmemstream.c157 fp->_flags = __SWR; in open_wmemstream()