Searched refs:_ub (Results 1 – 5 of 5) sorted by relevance
57 if (fp->_ub._base == fp->_ubuf) { in __submore()63 fp->_ub._base = p; in __submore()64 fp->_ub._size = BUFSIZ; in __submore()71 i = fp->_ub._size; in __submore()72 p = reallocarray(fp->_ub._base, i, 2); in __submore()78 fp->_ub._base = p; in __submore()79 fp->_ub._size = i * 2; in __submore()132 if (fp->_r >= fp->_ub._size && __submore(fp)) in __ungetc()158 fp->_ub._base = fp->_ubuf; in __ungetc()159 fp->_ub._size = sizeof(fp->_ubuf); in __ungetc()
111 #define HASUB(fp) ((fp)->_ub._base != NULL)113 if ((fp)->_ub._base != (fp)->_ubuf) \114 free((char *)(fp)->_ub._base); \115 (fp)->_ub._base = NULL; \
150 fp->_ub._base = NULL; /* no ungetc buffer */ in __sfp()151 fp->_ub._size = 0; in __sfp()
180 fp->_ub._size = 0; in freopen()
141 struct __sbuf _ub; /* ungetc buffer */ member