Home
last modified time | relevance | path

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

/freebsd-12-stable/lib/libc/stdio/
Dungetc.c63 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()
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; \
Dfindfp.c156 fp->_ub._base = NULL; /* no ungetc buffer */ in __sfp()
157 fp->_ub._size = 0; in __sfp()
Dfreopen.c186 fp->_ub._size = 0; in freopen()
/freebsd-12-stable/include/
Dstdio.h141 struct __sbuf _ub; /* ungetc buffer */ member