Searched refs:_ub (Results 1 - 5 of 5) sorted by relevance

/freebsd-10-stable/lib/libc/stdio/
H A Dungetc.c61 if (fp->_ub._base == fp->_ubuf) {
67 fp->_ub._base = p;
68 fp->_ub._size = BUFSIZ;
75 i = fp->_ub._size;
76 p = realloc(fp->_ub._base, (size_t)(i << 1));
82 fp->_ub._base = p;
83 fp->_ub._size = i << 1;
136 if (fp->_r >= fp->_ub._size && __submore(fp))
162 fp->_ub._base = fp->_ubuf;
163 fp->_ub
[all...]
H A Dlocal.h112 #define HASUB(fp) ((fp)->_ub._base != NULL)
114 if ((fp)->_ub._base != (fp)->_ubuf) \
115 free((char *)(fp)->_ub._base); \
116 (fp)->_ub._base = NULL; \
H A Dfindfp.c151 fp->_ub._base = NULL; /* no ungetc buffer */
152 fp->_ub._size = 0;
H A Dfreopen.c184 fp->_ub._size = 0;
/freebsd-10-stable/include/
H A Dstdio.h100 * _ub, _up, and _ur are used when ungetc() pushes back more characters
103 * _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
104 * _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
127 struct __sbuf _ub; /* ungetc buffer */ member in struct:__sFILE

Completed in 70 milliseconds