Searched refs:_base (Results 1 - 25 of 93) sorted by relevance

1234

/illumos-gate/usr/src/lib/libbc/libc/stdio/4.2/
H A Dsetbuf.c47 if(iop->_base != NULL && iop->_flag & _IOMYBUF)
48 free((char*)iop->_base);
50 if((iop->_base = (unsigned char*)buf) == NULL) {
53 iop->_base = _smbuf[fno];
58 iop->_ptr = iop->_base;
H A Dflsbuf.c59 * _base field will be reset to NULL for any but stdin and
60 * stdout, the _ptr field will be set the same as the _base
82 free((char*)iop->_base);
83 iop->_base = NULL;
87 iop->_ptr = iop->_base;
106 (iop->_base != NULL) && (iop->_ptr > iop->_base) )
117 * iop->_base + iop->_bufsiz. If it is full, or if an output line is
131 if ( iop->_ptr >= iop->_base + iop->_bufsiz ) /* if buffer full, */
161 * buffer delimited by iop->_base an
[all...]
H A Dfprintf.c58 iop->_ptr = iop->_base = localbuf;
63 iop->_base = NULL;
H A Dvfprintf.c56 iop->_ptr = iop->_base = localbuf;
61 iop->_base = NULL;
H A Dsprintf.c46 siop._base = siop._ptr = (unsigned char *)string;
H A Dvsprintf.c45 siop._base = siop._ptr = (unsigned char *)string;
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dstdiom.h33 #define _BUFSYNC(iop) if ((iop->_base + iop->_bufsiz) - iop->_ptr < \
37 || (iop->_base == NULL) \
38 || (iop->_ptr == iop->_base && iop->_cnt == 0 \
H A Dsetbuffer.c50 if (iop->_base != NULL && iop->_flag&_IOMYBUF)
51 free((char *)iop->_base);
53 if ((iop->_base = (unsigned char *)buf) == NULL) {
56 iop->_base = _smbuf[fno];
64 iop->_ptr = iop->_base;
H A Dungetc.c45 if (iop->_base == NULL) /* get buffer if we don't have one */
48 if((iop->_flag & _IOREAD) == 0 || iop->_ptr <= iop->_base)
49 if(iop->_ptr == iop->_base && iop->_cnt == 0)
H A Dsetvbuf.c49 if(iop->_base != NULL && iop->_flag & _IOMYBUF)
50 free((char*)iop->_base);
58 iop->_base = _smbuf[fno];
79 iop->_base = (unsigned char *)buf;
85 iop->_ptr = iop->_base;
H A Dftell.c54 if(iop->_flag & _IOWRT && iop->_base &&
56 adjust = iop->_ptr - iop->_base;
H A Dfseek.c52 if(ptrname < 2 && iop->_base && !(iop->_flag&_IONBF)) {
66 p >= iop->_base - iop->_ptr) {
74 iop->_ptr = iop->_base;
88 iop->_ptr = iop->_base;
H A Drew.c40 iop->_ptr = iop->_base;
/illumos-gate/usr/src/lib/libbc/libc/stdio/sys5/
H A Dsetbuf.c47 if(iop->_base != NULL && iop->_flag & _IOMYBUF)
48 free((char*)iop->_base);
50 if((iop->_base = (unsigned char*)buf) == NULL) {
53 iop->_base = _smbuf[fno];
61 iop->_ptr = iop->_base;
H A Dflsbuf.c58 * _base field will be reset to NULL for any but stdin and
59 * stdout, the _ptr field will be set the same as the _base
80 free((char*)iop->_base);
81 iop->_base = NULL;
85 iop->_ptr = iop->_base;
101 if ((iop->_base != NULL) && iop->_cnt) {
108 (iop->_base != NULL) && (iop->_ptr > iop->_base) )
120 * iop->_base + iop->_bufsiz. If it is full, or if an output line is
134 if ( iop->_ptr >= iop->_base
[all...]
H A Dfprintf.c58 iop->_ptr = iop->_base = localbuf;
63 iop->_base = NULL;
H A Dvfprintf.c56 iop->_ptr = iop->_base = localbuf;
61 iop->_base = NULL;
H A Dsprintf.c47 siop._base = siop._ptr = (unsigned char *)string;
H A Dvsprintf.c52 siop._base = siop._ptr = (unsigned char *)string;
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dungetc.c59 if (iop->_ptr <= iop->_base) {
60 if (iop->_base == 0) {
63 } else if (iop->_ptr <= iop->_base - PUSHBACK)
H A D_wrtchk.c55 if (iop->_base == NULL && _findbuf(iop) == NULL)
57 else if ((iop->_ptr == iop->_base) &&
H A D_filbuf.c76 if (iop->_base == 0) {
115 iop->_ptr = iop->_base;
119 nbyte = endbuf - iop->_base;
120 if ((res = read(GET_FD(iop), (char *)iop->_base, nbyte)) > 0) {
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dungetwc.c78 if (iop->_ptr <= iop->_base) {
79 if (iop->_base == NULL) {
83 if (iop->_ptr == iop->_base && iop->_cnt == 0) {
85 } else if ((iop->_ptr - n) < (iop->_base - PUSHBACK)) {
/illumos-gate/usr/src/head/
H A Dstdio_impl.h59 unsigned char *_base; /* the buffer */ member in struct:__FILE_TAG
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Dsprintf.c58 siop._base = siop._ptr = (unsigned char *)string;

Completed in 67 milliseconds

1234