Home
last modified time | relevance | path

Searched refs:_ub (Results 1 – 7 of 7) sorted by last modified time

/original-bsd/lib/libc/stdio/
H A Dfindfp.c93 fp->_ub._base = NULL; /* no ungetc buffer */ in __sfp()
94 fp->_ub._size = 0; in __sfp()
H A Dungetc.c33 if (fp->_ub._base == fp->_ubuf) {
39 fp->_ub._base = p;
40 fp->_ub._size = BUFSIZ;
47 i = fp->_ub._size;
48 p = realloc(fp->_ub._base, i << 1);
54 fp->_ub._base = p;
55 fp->_ub._size = i << 1;
90 if (fp->_r >= fp->_ub._size && __submore(fp))
116 fp->_ub._base = fp->_ubuf;
117 fp->_ub._size = sizeof(fp->_ubuf);
H A Dfreopen.c98 fp->_ub._size = 0;
H A Dlocal.h47 #define HASUB(fp) ((fp)->_ub._base != NULL)
49 if ((fp)->_ub._base != (fp)->_ubuf) \
50 free((char *)(fp)->_ub._base); \
51 (fp)->_ub._base = NULL; \
H A Dvsscanf.c41 f._ub._base = NULL;
H A Dsscanf.c52 f._ub._base = NULL;
/original-bsd/include/
H A Dstdio.h108 struct __sbuf _ub; /* ungetc buffer */ member