Searched refs:_ub (Results 1 – 5 of 5) sorted by relevance
60 if (fp->_ub._base == fp->_ubuf) { in __submore()66 fp->_ub._base = p; in __submore()67 fp->_ub._size = BUFSIZ; in __submore()74 i = fp->_ub._size; in __submore()75 p = reallocarray(fp->_ub._base, i, 2); in __submore()81 fp->_ub._base = p; in __submore()82 fp->_ub._size = i * 2; in __submore()135 if (fp->_r >= fp->_ub._size && __submore(fp)) in __ungetc()161 fp->_ub._base = fp->_ubuf; in __ungetc()162 fp->_ub._size = sizeof(fp->_ubuf); in __ungetc()
113 #define HASUB(fp) ((fp)->_ub._base != NULL)115 if ((fp)->_ub._base != (fp)->_ubuf) \116 free((char *)(fp)->_ub._base); \117 (fp)->_ub._base = NULL; \
153 fp->_ub._base = NULL; /* no ungetc buffer */ in __sfp()154 fp->_ub._size = 0; in __sfp()
183 fp->_ub._size = 0; in freopen()
140 struct __sbuf _ub; /* ungetc buffer */ member