Searched refs:__SWR (Results 1 – 15 of 15) sorted by relevance
42 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()
47 return (fp->_flags & __SWR) != 0; in __fwriting()55 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()
151 #define __SWR 0x0008 // Last operation was write. macro218 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp))
99 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()
147 if ((fp->_flags & (__SNBF | __SWR | __SRW)) == (__SNBF | __SWR) && fp->_file >= 0) { in FUNCTION_NAME()
150 if ((fp->_flags & (__SNBF | __SWR | __SRW)) == (__SNBF | __SWR) && fp->_file >= 0) { in FUNCTION_NAME()
59 ret = __SWR; in __sflags()65 ret = __SWR; in __sflags()
54 if ((fp->_flags & __SWR) == 0) { in __swsetup()68 fp->_flags |= __SWR; in __swsetup()
96 if (fp->_flags & __SWR) { in ungetc()99 fp->_flags &= ~__SWR; in ungetc()
62 f._flags = __SWR; in vdprintf()
38 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
57 f._flags = __SWR | __SSTR | __SALC; in vswprintf()
144 if (flags & __SWR) { in setvbuf()
146 fp->_flags = __SWR; in open_memstream()
157 fp->_flags = __SWR; in open_wmemstream()