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
219 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp))
Dstdio.cpp101 MAKE_STD_STREAM(__SWR, STDOUT_FILENO),
102 MAKE_STD_STREAM(__SWR|__SNBF, STDERR_FILENO),
332 if (fp->_flags & __SWR) __sflush(fp); in freopen()
419 int r = fp->_flags & __SWR ? __sflush(fp) : 0; in __FILE_close()
502 if ((fp->_flags & __SWR) == 0) return 0; in __sflush()
587 } else if (fp->_flags & __SWR && fp->_p != nullptr) { in __ftello64_unlocked()
704 fp->_flags = __SWR; in __funopen()
1041 f._flags = __SWR | __SSTR; in vsnprintf()
1082 if ((fp->_flags & (__SWR | __SRW)) == 0) { in fflush_unlocked()
Dvfwprintf.cpp134 if ((fp->_flags & (__SNBF | __SWR | __SRW)) == (__SNBF | __SWR) && fp->_file >= 0) { in FUNCTION_NAME()
Dvfprintf.cpp145 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.c53 if ((fp->_flags & __SWR) == 0) { in __swsetup()
64 fp->_flags |= __SWR; in __swsetup()
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()
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()
Dopen_wmemstream.c159 fp->_flags = __SWR; in open_wmemstream()