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

/freebsd-13-stable/lib/libc/stdio/
H A Dungetc.c63 if (fp->_ub._base == fp->_ubuf) {
69 fp->_ub._base = p;
70 fp->_ub._size = BUFSIZ;
77 i = fp->_ub._size;
78 p = reallocarray(fp->_ub._base, i, 2);
84 fp->_ub._base = p;
85 fp->_ub._size = i * 2;
138 if (fp->_r >= fp->_ub._size && __submore(fp))
164 fp->_ub._base = fp->_ubuf;
165 fp->_ub
[all...]
H A Dlocal.h114 #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; \
H A Dfindfp.c156 fp->_ub._base = NULL; /* no ungetc buffer */
157 fp->_ub._size = 0;
H A Dfreopen.c186 fp->_ub._size = 0;
/freebsd-13-stable/include/
H A Dstdio.h114 * _ub, _up, and _ur are used when ungetc() pushes back more characters
117 * _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
118 * _ub._base!=NULL) and _up and _ur save the current values of _p and _r.
141 struct __sbuf _ub; /* ungetc buffer */ member in struct:__sFILE

Completed in 114 milliseconds