/bionic/libc/stdio/ |
D | refill.c | 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 …]
|
D | stdio_ext.cpp | 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() 82 fp->_flags |= __SERR; in __fseterr()
|
D | stdio.cpp | 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 …]
|
D | local.h | 66 int _flags; /* flags, below; this FILE is free if 0 */ member 69 short _flags; /* flags, below; this FILE is free if 0 */ member 218 #define cantwrite(fp) ((((fp)->_flags & __SWR) == 0 || (fp)->_bf._base == NULL) && __swsetup(fp)) 237 #define __sferror(p) (((p)->_flags & __SERR) != 0) 238 #define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR | __SEOF)))
|
D | vfscanf.cpp | 322 fp->_flags |= __SERR; in __svfscanf() 331 fp->_flags |= __SERR; in __svfscanf() 343 fp->_flags |= __SERR; in __svfscanf() 411 fp->_flags |= __SERR; in __svfscanf() 421 fp->_flags |= __SERR; in __svfscanf() 447 fp->_flags |= __SERR; in __svfscanf() 454 fp->_flags |= __SERR; in __svfscanf()
|
D | printf_common.h | 95 fake._flags = fp->_flags & ~__SNBF; in __sbprintf() 108 if (fake._flags & __SERR) fp->_flags |= __SERR; in __sbprintf() 761 if ((fp->_flags & __SSTR) == 0) return __fputwc_unlock(wc, fp); in xfputwc() 767 fp->_flags |= __SERR; in xfputwc()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | wsetup.c | 54 if ((fp->_flags & __SWR) == 0) { in __swsetup() 55 if ((fp->_flags & __SRW) == 0) { in __swsetup() 57 fp->_flags |= __SERR; in __swsetup() 60 if (fp->_flags & __SRD) { in __swsetup() 64 fp->_flags &= ~(__SRD|__SEOF); in __swsetup() 68 fp->_flags |= __SWR; in __swsetup() 75 if ((fp->_flags & (__SSTR | __SALC)) == __SSTR) { in __swsetup() 77 fp->_flags |= __SERR; in __swsetup() 82 if (fp->_flags & __SLBF) { in __swsetup() 91 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
|
D | ungetc.c | 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()
|
D | fvwrite.c | 78 if (fp->_flags & __SNBF) { in __sfvwrite() 91 } else if ((fp->_flags & __SLBF) == 0) { in __sfvwrite() 106 if ((fp->_flags & (__SALC | __SSTR)) == in __sfvwrite() 125 if (fp->_flags & __SSTR) { in __sfvwrite() 210 fp->_flags |= __SERR; in __sfvwrite()
|
D | makebuf.c | 56 if (fp->_flags & __SNBF) { in __smakebuf() 63 fp->_flags |= __SNBF; in __smakebuf() 73 fp->_flags |= flags; in __smakebuf()
|
D | fpurge.c | 47 if (!fp->_flags) { in fpurge() 58 fp->_w = fp->_flags & (__SLBF|__SNBF) ? 0 : fp->_bf._size; in fpurge()
|
D | setvbuf.c | 72 flags = fp->_flags; in setvbuf() 108 fp->_flags = flags | __SNBF; in setvbuf() 140 fp->_flags = flags; in setvbuf()
|
D | fgetln.c | 88 fp->_flags |= __SMOD; in fgetln() 118 if (fp->_flags & __SEOF) in fgetln()
|
D | open_memstream.c | 134 fp->_flags = 0; in open_memstream() 146 fp->_flags = __SWR; in open_memstream()
|
D | open_wmemstream.c | 144 fp->_flags = 0; in open_wmemstream() 157 fp->_flags = __SWR; in open_wmemstream()
|
D | vsscanf.c | 52 f._flags = __SRD; in vsscanf()
|
D | wbuf.c | 77 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
|
D | vdprintf.c | 62 f._flags = __SWR; in vdprintf()
|
D | fgetwc.c | 72 fp->_flags |= __SERR; in __fgetwc_unlock()
|
D | fputwc.c | 65 fp->_flags |= __SERR; in __fputwc_unlock()
|
D | vswscanf.c | 79 f._flags = __SRD; in vswscanf()
|
D | vasprintf.c | 38 f._flags = __SWR | __SSTR | __SALC; in vasprintf()
|
/bionic/libc/dns/resolv/ |
D | res_query.c | 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()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | siginfo.h | 66 __u32 _flags; member 112 #define si_perf_flags _sifields._sigfault._perf._flags
|
/bionic/libc/include/ |
D | semaphore.h | 67 sem_t* _Nullable sem_open(const char* _Nonnull __name, int _flags, ...);
|