Searched refs:_cnt (Results 26 - 50 of 98) sorted by relevance

1234

/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dsprintf.c57 siop._cnt = MAXINT;
H A Dvsprintf.c56 siop._cnt = MAXINT;
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_filbuf.c103 * therefore iop->_cnt was set to 0, and the EOF
105 * iop->_cnt to 0; it has likely been changed by
108 iop->_cnt = 0;
121 iop->_cnt = res - 1;
125 iop->_cnt = 0;
H A Dftello.c68 if (iop->_cnt < 0)
69 iop->_cnt = 0;
71 adjust = (ptrdiff_t)-iop->_cnt;
H A D_wrtchk.c59 iop->_cnt = _bufend(iop) - iop->_ptr;
H A Drewind.c59 iop->_cnt = 0;
H A D_flsbuf.c69 iop->_cnt = 0;
72 iop->_cnt = 0;
H A Dfseek.c66 offset -= iop->_cnt;
74 iop->_cnt = 0;
H A Dfseeko.c73 offset -= iop->_cnt;
81 iop->_cnt = 0;
/illumos-gate/usr/src/ucblib/libucb/inc/
H A Dstdiom.h115 ((p)->_cnt < 0 ? 0 : (p)->_cnt))
119 (iop->_ptr == iop->_base && iop->_cnt == 0 && \
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dstdio.h102 int _cnt; member in struct:__anon2749
104 int _cnt;
159 #define getc(p) (--(p)->_cnt >= 0 ? ((int) *(p)->_ptr++) : _filbuf(p))
160 #define putc(x, p) (--(p)->_cnt >= 0 ?\
162 (((p)->_flag & _IOLBF) && -(p)->_cnt < (p)->_bufsiz ?\
/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/
H A Dflsbuf.c61 * field. The _flags and the _cnt field will be zeroed.
86 iop->_cnt = 0;
112 * the file is line-buffered, the fact that iop->_cnt has run below zero
140 iop->_cnt = 0;
162 * iop->_cnt is reset appropriately, but its value on entry to _xflsbuf
186 iop->_cnt = (iop->_flag &(_IONBF | _IOLBF)) ? 0 : iop->_bufsiz;
214 iop->_cnt = iop->_bufsiz; /* first write since seek--set cnt */
267 * which occur in between the decrementing of iop->_cnt and the incrementing
269 * of iop->_cnt and iop->ptr. If this happens, calling _bufsync should
284 else if (spaceleft < iop->_cnt)
[all...]
H A Dsetbuf.c59 iop->_cnt = 0;
H A Dfprintf.c65 iop->_cnt = 0;
H A Dvfprintf.c63 iop->_cnt = 0;
/illumos-gate/usr/src/lib/libc/inc/
H A Dfile64.h67 ssize_t _cnt; /* number of available characters in buffer */ member in struct:__FILE_TAG
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dflsbuf.c60 * field. The _flags and the _cnt field will be zeroed.
84 iop->_cnt = 0;
101 if ((iop->_base != NULL) && iop->_cnt) {
102 lseek(iop->_file, -(iop->_cnt), SEEK_CUR);
103 iop->_cnt = 0;
115 * the file is line-buffered, the fact that iop->_cnt has run below zero
143 iop->_cnt = 0;
166 * iop->_cnt is reset appropriately, but its value on entry to _xflsbuf
190 iop->_cnt = (iop->_flag &(_IONBF | _IOLBF)) ? 0 : iop->_bufsiz;
219 iop->_cnt
[all...]
H A Dfprintf.c65 iop->_cnt = 0;
H A Dsetbuf.c62 iop->_cnt = 0;
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dungetwc.c83 if (iop->_ptr == iop->_base && iop->_cnt == 0) {
94 ++(iop)->_cnt;
/illumos-gate/usr/src/lib/libc/port/print/
H A Dsnprintf.c53 siop._cnt = n - 1;
75 siop._cnt = 0;
H A Dvsnprintf.c66 siop._cnt = n - 1;
88 siop._cnt = 0;
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dfdopen.c65 iop->_cnt = 0;
H A Dputs.c62 stdout->_cnt -= n;
H A Dsetbuffer.c65 iop->_cnt = 0;

Completed in 160 milliseconds

1234