Home
last modified time | relevance | path

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

123

/picolibc-latest/newlib/libc/stdio/
Drefill.c28 if ((fp->_flags & (__SLBF | __SWR)) == (__SLBF | __SWR)) in lflush()
62 if (fp->_flags & __SWR) in _srefill()
66 fp->_flags &= ~__SWR; in _srefill()
108 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) in _srefill()
Dflags.c49 ret = __SWR; in __sflags()
55 ret = __SWR | __SAPP; in __sflags()
68 ret = (ret & ~(__SRD | __SWR)) | __SRW; in __sflags()
Dstdio_ext.c95 return (fp->_flags & (__SWR | __SRW)) != 0; in __fwritable()
107 return (fp->_flags & __SWR) != 0; in __fwriting()
Dvasniprintf.c29 f._flags = __SWR | __SSTR | __SOPT; in vasniprintf()
34 f._flags = __SWR | __SSTR | __SMBF; in vasniprintf()
Dasniprintf.c28 f._flags = __SWR | __SSTR | __SOPT; in asniprintf()
33 f._flags = __SWR | __SSTR | __SMBF; in asniprintf()
Dvasnprintf.c29 f._flags = __SWR | __SSTR | __SOPT; in vasnprintf()
34 f._flags = __SWR | __SSTR | __SMBF; in vasnprintf()
Dasnprintf.c29 f._flags = __SWR | __SSTR | __SOPT; in asnprintf()
34 f._flags = __SWR | __SSTR | __SMBF; in asnprintf()
Dwsetup.c44 if ((fp->_flags & __SWR) == 0) in _swsetup()
61 fp->_flags |= __SWR; in _swsetup()
Dstdio_ext.h36 __fwriting (FILE *__fp) { return (__fp->_flags & __SWR) != 0; } in __fwriting()
42 __fwritable (FILE *__fp) { return (__fp->_flags & (__SWR | __SRW)) != 0; } in __fwritable()
Dftello.c104 if (!(fp->_flags & __SRD) && (fp->_flags & __SWR) && in ftello()
137 else if ((fp->_flags & __SWR) && fp->_p != NULL) in ftello()
Dfseeko.c122 if (fp->_flags & __SAPP && fp->_flags & __SWR) in fseeko()
168 else if (fp->_flags & __SWR && fp->_p != NULL) in fseeko()
202 if (fp->_flags & (__SWR | __SRW | __SNBF | __SNPT)) in fseeko()
Dungetc.c141 if (fp->_flags & __SWR) in ungetc()
148 fp->_flags &= ~__SWR; in ungetc()
Dvsiprintf.c38 f._flags = __SWR | __SSTR; in vsiprintf()
Dsiprintf.c109 f._flags = __SWR | __SSTR; in siprintf()
/picolibc-latest/newlib/libc/tinystdio/
Dsflags.c57 ret = __SWR; in __posix_sflags()
65 ret = __SWR; in __posix_sflags()
80 ret |= (__SRD | __SWR); in __posix_sflags()
Dfmemopen.c55 if ((f->flags & __SWR) == 0) { in __fmem_put()
93 if ((f->flags & __SWR) && mf->pos < mf->bufsize) { in __fmem_flush()
162 if ((stdio_flags & (__SRD | __SWR)) != (__SRD | __SWR)) { in fmemopen()
186 if ((stdio_flags & (__SRD | __SWR)) == (__SRD | __SWR)) { in fmemopen()
Dfwrite.c44 if ((stream->flags & __SWR) == 0 || size == 0) in fwrite()
57 __bufio_setdir_locked(stream, __SWR); in fwrite()
Dfputws.c40 if ((stream->flags & __SWR) == 0) in fputws()
Dfputs.c40 if ((stream->flags & __SWR) == 0) in fputs()
Dputs.c41 if ((out->flags & __SWR) == 0) in puts()
Dposixiob_stdout.c40 static struct __file_bufio __stdout = FDEV_SETUP_POSIX(1, write_buf, BUFSIZ, __SWR, __BLBF);
Dposixiob_stderr.c44 …ct __file_bufio __stderr = FDEV_SETUP_POSIX(2, write_buf, __PICOLIBC_STDERR_BUFSIZ, __SWR, __BLBF);
Dfputc.c37 if ((stream->flags & __SWR) == 0) in fputc()
/picolibc-latest/newlib/libc/stdio64/
Dftello64.c102 if (!(fp->_flags & __SRD) && (fp->_flags & __SWR) && in ftello64()
135 else if (fp->_flags & __SWR && fp->_p != NULL) in ftello64()
Dfseeko64.c125 if (fp->_flags & __SAPP && fp->_flags & __SWR) in fseeko64()
171 else if (fp->_flags & __SWR && fp->_p != NULL) in fseeko64()
204 if (fp->_flags & (__SWR | __SRW | __SNBF | __SNPT)) in fseeko64()

123