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

123

/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.c72 if (iop->_base == 0) {
113 iop->_ptr = iop->_base;
117 nbyte = endbuf - iop->_base;
118 if ((res = _xread(iop, (char *)iop->_base, nbyte)) > 0) {
H A D__extensions.c94 if ((stream->_ptr = stream->_base) != NULL)
109 amount = stream->_ptr - stream->_base;
124 size = _bufend(stream) - stream->_base;
H A Dsetbuf.c54 if ((iop->_base != NULL) && (iop->_flag & _IOMYBUF))
55 free((char *)iop->_base - PUSHBACK);
79 iop->_base = temp;
H A Dftell.c78 (iop->_base != 0)) {
79 adjust = iop->_ptr - iop->_base;
80 } else if ((iop->_flag & _IORW) && (iop->_base != 0)) {
H A Dfwrite.c84 iop->_cnt = iop->_base - iop->_ptr;
86 ssize_t buflen = bufend - iop->_base;
101 if (iop->_base != iop->_ptr) {
106 bytes = iop->_ptr - iop->_base;
107 data = (char *)iop->_base;
121 iop->_ptr = iop->_base;
H A Dsetvbuf.c100 if (iop->_base != NULL && sflag)
101 free((char *)iop->_base - PUSHBACK);
103 iop->_base = temp;
H A Drewind.c58 iop->_ptr = iop->_base;
H A D_findbuf.c97 iop->_base = buf + PUSHBACK; /* bytes for pushback */
99 endbuf = iop->_base + size;
H A D_flsbuf.c55 if (iop->_base != 0 && iop->_ptr > iop->_base)
H A Dfseek.c63 if (ptrname == 1 && iop->_base && !(iop->_flag&_IONBF)) {
73 iop->_ptr = iop->_base;
H A Dfseeko.c70 if (ptrname == 1 && iop->_base && !(iop->_flag&_IONBF)) {
80 iop->_ptr = iop->_base;
/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.h57 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;
H A Dvsprintf.c57 siop._base = siop._ptr = (unsigned char *)string;
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dsetbuffer.c57 if (iop->_base != 0 && iop->_flag & _IOMYBUF)
58 free((char *)iop->_base - PUSHBACK);
81 iop->_base = temp;
/illumos-gate/usr/src/lib/libc/port/print/
H A Dsnprintf.c54 siop._base = siop._ptr = (unsigned char *)string;
74 siop._base = siop._ptr = tmpbuf;
H A Dvsnprintf.c67 siop._base = siop._ptr = (unsigned char *)string;
87 siop._base = siop._ptr = tmpbuf;
H A Dsprintf.c52 siop._base = siop._ptr = (unsigned char *)string;
H A Dvsprintf.c65 siop._base = siop._ptr = (unsigned char *)string;
/illumos-gate/usr/src/ucblib/libucb/inc/
H A Dstdiom.h118 (iop->_base == 0) || \
119 (iop->_ptr == iop->_base && iop->_cnt == 0 && \
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewwin.c143 w->_base = (cchar_t *) malloc(
144 (size_t) (nlines * ncols) * sizeof *w->_base
146 if (w->_base == (cchar_t *) 0)
149 w->_line[y = 0] = w->_base;
164 w->_base = (cchar_t *) 0;
238 if (w->_base != (cchar_t *) 0)
239 free(w->_base);
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewwin.c146 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) *
147 sizeof (*w->_base));
148 if (w->_base == NULL)
151 w->_line[0] = w->_base;
169 w->_base = NULL;
251 if (w->_base != NULL)
252 free(w->_base);

Completed in 78 milliseconds

123