Searched refs:_flags (Results 1 – 25 of 36) sorted by relevance
12
42 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) in lflush()58 if (fp->_flags & __SEOF) in __srefill()63 if ((fp->_flags & __SRD) == 0) { in __srefill()64 if ((fp->_flags & __SRW) == 0) { in __srefill()66 fp->_flags |= __SERR; in __srefill()70 if (fp->_flags & __SWR) { in __srefill()73 fp->_flags &= ~__SWR; in __srefill()77 fp->_flags |= __SRD; in __srefill()102 if (fp->_flags & (__SLBF|__SNBF)) { in __srefill()104 fp->_flags |= __SIGN; in __srefill()[all …]
43 return (fp->_flags & __SRD) != 0; in __freading()47 return (fp->_flags & __SWR) != 0; in __fwriting()51 return (fp->_flags & (__SRD|__SRW)) != 0; in __freadable()55 return (fp->_flags & (__SWR|__SRW)) != 0; in __fwritable()59 return (fp->_flags & __SLBF) != 0; in __flbf()76 fp->_flags |= __SERR; in __fseterr()
74 ._flags = flags, ._file = fd, ._cookie = __sF + fd, ._close = __sclose, \174 if (fp->_flags == 0) in __sfp()186 fp->_flags = 1; /* reserve this slot; caller sets real flags */ in __sfp()216 if (fp->_flags != 0 && (fp->_flags & __SIGN) == 0) { in _fwalk()238 fp->_flags = flags; in __FILE_init()334 if (fp->_flags == 0) { in freopen()335 fp->_flags = __SEOF; // Hold on to it. in freopen()340 if (fp->_flags & __SWR) __sflush(fp); in freopen()367 if (fp->_flags & __SMBF) free(fp->_bf._base); in freopen()381 fp->_flags = 0; // Release. in freopen()[all …]
66 int _flags; /* flags, below; this FILE is free if 0 */ member69 short _flags; /* flags, below; this FILE is free if 0 */ member219 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp))238 #define __sferror(p) (((p)->_flags & __SERR) != 0)239 #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR | __SEOF)))
347 fp->_flags |= __SERR; in __svfscanf()356 fp->_flags |= __SERR; in __svfscanf()368 fp->_flags |= __SERR; in __svfscanf()436 fp->_flags |= __SERR; in __svfscanf()446 fp->_flags |= __SERR; in __svfscanf()472 fp->_flags |= __SERR; in __svfscanf()479 fp->_flags |= __SERR; in __svfscanf()
95 fake._flags = fp->_flags & ~__SNBF; in __sbprintf()108 if (fake._flags & __SERR) fp->_flags |= __SERR; in __sbprintf()736 if ((fp->_flags & __SSTR) == 0) return __fputwc_unlock(wc, fp); in xfputwc()742 fp->_flags |= __SERR; in xfputwc()
53 if ((fp->_flags & __SWR) == 0) { in __swsetup()54 if ((fp->_flags & __SRW) == 0) in __swsetup()56 if (fp->_flags & __SRD) { in __swsetup()60 fp->_flags &= ~(__SRD|__SEOF); in __swsetup()64 fp->_flags |= __SWR; in __swsetup()71 if ((fp->_flags & (__SSTR | __SALC)) == __SSTR) in __swsetup()75 if (fp->_flags & __SLBF) { in __swsetup()84 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
87 if ((fp->_flags & __SRD) == 0) { in ungetc()92 if ((fp->_flags & __SRW) == 0) { in ungetc()96 if (fp->_flags & __SWR) { in ungetc()99 fp->_flags &= ~__SWR; in ungetc()103 fp->_flags |= __SRD; in ungetc()119 fp->_flags &= ~__SEOF; in ungetc()
56 if (fp->_flags & __SNBF) { in __smakebuf()63 fp->_flags |= __SNBF; in __smakebuf()73 fp->_flags |= flags; in __smakebuf()
47 if (!fp->_flags) { in fpurge()58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in fpurge()
71 flags = fp->_flags; in setvbuf()107 fp->_flags = flags | __SNBF; in setvbuf()138 fp->_flags = flags; in setvbuf()
88 fp->_flags |= __SMOD; in fgetln()118 if (fp->_flags & __SEOF) in fgetln()
52 f._flags = __SRD; in vsscanf()
80 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
62 f._flags = __SWR; in vdprintf()
135 fp->_flags = 0; in open_memstream()148 fp->_flags = __SWR; in open_memstream()
72 fp->_flags |= __SERR; in __fgetwc_unlock()
145 fp->_flags = 0; in open_wmemstream()159 fp->_flags = __SWR; in open_wmemstream()
65 fp->_flags |= __SERR; in __fputwc_unlock()
79 f._flags = __SRD; in vswscanf()
38 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
57 f._flags = __SWR | __SSTR | __SALC; in vswprintf()
139 oflags = statp->_flags; in res_nquery()152 if (n > 0 && (statp->_flags & RES_F_EDNS0ERR) == 0 && in res_nquery()169 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) { in res_nquery()170 statp->_flags |= RES_F_EDNS0ERR; in res_nquery()
67 sem_t* sem_open(const char* __name, int _flags, ...);
61 f._flags = __SRD; in wcstod()