/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | iob.c | 35 { NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */ 36 { NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */ 40 { NULL, 0, NULL, 0, _IOWRT, 1 }, /* stdout */ 41 { NULL, 0, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */ 44 { 0, NULL, NULL, 0, _IOWRT, 1 }, /* stdout */ 45 { 0, NULL, NULL, 0, _IOWRT|_IONBF, 2 }, /* stderr */
|
H A D | stdiom.h | 36 #define _WRTCHK(iop) ((((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) \
|
H A D | ftell.c | 52 else if(iop->_flag & (_IOWRT | _IORW)) { 54 if(iop->_flag & _IOWRT && iop->_base &&
|
/titanic_41/usr/src/lib/libbc/libc/stdio/4.2/ |
H A D | flsbuf.c | 75 if(iop->_flag & (_IOREAD | _IOWRT | _IORW) in fclose() 102 if (!(iop->_flag & _IOWRT)) { in fflush() 105 while(!(iop->_flag & _IONBF) && (iop->_flag & _IOWRT) && in fflush() 130 if ( (iop->_flag & (_IOLBF | _IOWRT | _IOEOF)) == (_IOLBF | _IOWRT) ) { in _flsbuf() 138 if ( (iop->_flag & (_IONBF | _IOWRT | _IOEOF)) == (_IONBF | _IOWRT) ) { in _flsbuf() 204 if ( (iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT ) { in _wrtchk() 205 if (!(iop->_flag & (_IOWRT | _IORW))) in _wrtchk() 207 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
|
H A D | vprintf.c | 41 if (!(stdout->_flag & _IOWRT)) { in vprintf() 45 stdout->_flag |= _IOWRT; in vprintf()
|
H A D | printf.c | 45 if (!(stdout->_flag & _IOWRT)) { in printf() 49 stdout->_flag |= _IOWRT; in printf()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/sys5/ |
H A D | flsbuf.c | 73 if(iop->_flag & (_IOREAD | _IOWRT | _IORW) in fclose() 100 if (!(iop->_flag & _IOWRT)) { in fflush() 107 while(!(iop->_flag & _IONBF) && (iop->_flag & _IOWRT) && in fflush() 133 if ( (iop->_flag & (_IOLBF | _IOWRT | _IOEOF)) == (_IOLBF | _IOWRT) ) { in _flsbuf() 141 if ( (iop->_flag & (_IONBF | _IOWRT | _IOEOF)) == (_IONBF | _IOWRT) ) { in _flsbuf() 209 if ( (iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT ) { in _wrtchk() 210 if (!(iop->_flag & (_IOWRT | _IORW))) in _wrtchk() 212 iop->_flag = iop->_flag & ~_IOEOF | _IOWRT; /* fix flags */ in _wrtchk()
|
H A D | vprintf.c | 48 if (!(stdout->_flag & _IOWRT)) { in vprintf() 52 stdout->_flag |= _IOWRT; in vprintf()
|
H A D | printf.c | 44 if (!(stdout->_flag & _IOWRT)) { in printf() 48 stdout->_flag |= _IOWRT; in printf()
|
/titanic_41/usr/src/lib/libc/port/stdio/ |
H A D | _wrtchk.c | 45 if ((iop->_flag & (_IOWRT | _IOEOF)) != _IOWRT) { in _wrtchk() 46 if (!(iop->_flag & (_IOWRT | _IORW))) { in _wrtchk() 51 iop->_flag = (iop->_flag & ~_IOEOF) | _IOWRT; in _wrtchk()
|
H A D | _flsbuf.c | 53 _IOWRT | _IOEOF)) in _flsbuf() 55 case _IOFBF | _IOWRT: /* okay to do full-buffered case */ in _flsbuf() 59 case _IOLBF | _IOWRT: /* okay to do line-buffered case */ in _flsbuf() 71 case _IONBF | _IOWRT: /* okay to do no-buffered case */ in _flsbuf()
|
H A D | fopen.c | 91 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in _freopen_null() 148 iop->_flag |= _IOWRT; in _freopen_null() 151 iop->_flag |= _IOWRT; in _freopen_null() 155 iop->_flag = (iop->_flag & ~(_IOREAD | _IOWRT)) | _IORW; in _freopen_null() 162 iop->_flag = _IOWRT; in _freopen_null() 165 iop->_flag = _IOWRT; in _freopen_null()
|
H A D | ftell.c | 64 else if (iop->_flag & (_IOWRT | _IORW)) { in ftell() 66 if (((iop->_flag & (_IOWRT | _IONBF)) == _IOWRT) && in ftell()
|
H A D | fseek.c | 58 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseek() 68 } else if (iop->_flag & (_IOWRT | _IORW)) { in fseek() 77 iop->_flag &= ~(_IOREAD | _IOWRT); in fseek()
|
H A D | ftello.c | 72 else if (iop->_flag & (_IOWRT | _IORW)) { in ftello64() 74 if (((iop->_flag & (_IOWRT | _IONBF)) == _IOWRT) && in ftello64()
|
H A D | fseeko.c | 65 if (!(iop->_flag & _IOREAD) && !(iop->_flag & (_IOWRT | _IORW))) { in fseeko64() 75 } else if (iop->_flag & (_IOWRT | _IORW)) { in fseeko64() 84 iop->_flag &= ~(_IOREAD | _IOWRT); in fseeko64()
|
H A D | data.c | 69 { NULL, NULL, NULL, 0, 1, _IOWRT, RECURSIVEMUTEX, DEFAULTMBSTATE }, 70 { NULL, NULL, NULL, 0, 2, _IOWRT|_IONBF, RECURSIVEMUTEX, 134 { 0, NULL, NULL, _IOWRT, 1 }, 135 { 0, NULL, NULL, _IOWRT|_IONBF, 2 },
|
H A D | flush.c | 198 if ((fp->_flag & (_IOLBF | _IOWRT | _IONBF)) == in _flushlbf() 199 (_IOLBF | _IOWRT)) { in _flushlbf() 205 if ((fp->_flag & (_IOLBF | _IOWRT)) == in _flushlbf() 206 (_IOLBF | _IOWRT)) { in _flushlbf() 635 if (iop->_flag & _IOWRT) { in _fflush_l_iops() 664 if (!(iop->_flag & _IOWRT)) { in _fflush_u() 678 iop->_flag &= ~_IOWRT; in _fflush_u() 701 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fclose() 752 (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in fcloseall() 782 if (!(iop->_flag & _IONBF) && (iop->_flag & (_IOWRT | _IOREAD | _IORW))) in close_fd()
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | file_decim.c | 43 #define mygetc(iop) ((iop->_flag & _IOWRT) ? \ 47 #define myungetc(x, iop) ((iop->_flag & _IOWRT) ? *(--iop->_ptr) : \ 64 current = ((pf->_flag & _IOWRT) ? \ in file_to_decimal()
|
/titanic_41/usr/src/lib/libc/port/print/ |
H A D | vwprintf.c | 72 if (!(stdout->_flag & _IOWRT)) { in _vwprintf_c89() 76 stdout->_flag |= _IOWRT; in _vwprintf_c89() 119 if (!(iop->_flag & _IOWRT)) { in _vfwprintf_c89() 123 iop->_flag |= _IOWRT; in _vfwprintf_c89()
|
H A D | wprintf.c | 72 if (!(stdout->_flag & _IOWRT)) { in wprintf() 76 stdout->_flag |= _IOWRT; in wprintf() 115 if (!(iop->_flag & _IOWRT)) { in fwprintf() 119 iop->_flag |= _IOWRT; in fwprintf()
|
/titanic_41/usr/src/ucblib/libucb/port/stdio/ |
H A D | vprintf.c | 53 if (!(stdout->_flag & _IOWRT)) { in vprintf() 57 stdout->_flag |= _IOWRT; in vprintf()
|
H A D | vfprintf.c | 55 if (!(iop->_flag & _IOWRT)) { in vfprintf() 59 iop->_flag |= _IOWRT; in vfprintf()
|
H A D | printf.c | 48 if (!(stdout->_flag & _IOWRT)) { in printf() 52 stdout->_flag |= _IOWRT; in printf()
|
H A D | fprintf.c | 58 if (!(iop->_flag & _IOWRT)) { in fprintf() 62 iop->_flag |= _IOWRT; in fprintf()
|