Searched refs:_ub (Results 1 – 5 of 5) sorted by relevance
63 if (fp->_ub._base == fp->_ubuf) { in __submore()69 fp->_ub._base = p; in __submore()70 fp->_ub._size = BUFSIZ; in __submore()77 i = fp->_ub._size; in __submore()78 p = reallocarray(fp->_ub._base, i, 2); in __submore()84 fp->_ub._base = p; in __submore()85 fp->_ub._size = i * 2; in __submore()138 if (fp->_r >= fp->_ub._size && __submore(fp)) in __ungetc()164 fp->_ub._base = fp->_ubuf; in __ungetc()165 fp->_ub._size = sizeof(fp->_ubuf); in __ungetc()
114 #define HASUB(fp) ((fp)->_ub._base != NULL)116 if ((fp)->_ub._base != (fp)->_ubuf) \117 free((char *)(fp)->_ub._base); \118 (fp)->_ub._base = NULL; \
156 fp->_ub._base = NULL; /* no ungetc buffer */ in __sfp()157 fp->_ub._size = 0; in __sfp()
186 fp->_ub._size = 0; in freopen()
141 struct __sbuf _ub; /* ungetc buffer */ member