Searched refs:_ubuf (Results 1 – 4 of 4) sorted by relevance
66 if (_UB(fp)._base == fp->_ubuf) { in __submore()74 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()75 for (i = sizeof(fp->_ubuf); --i >= 0;) in __submore()76 p[i] = fp->_ubuf[i]; in __submore()161 _UB(fp)._base = fp->_ubuf; in ungetc()162 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()163 fp->_ubuf[sizeof(fp->_ubuf) - 1] = c; in ungetc()164 fp->_p = &fp->_ubuf[sizeof(fp->_ubuf) - 1]; in ungetc()
101 if (_UB(fp)._base != (fp)->_ubuf) \
75 ._ubuf = { [0] = '\0', [1] = '\0', [2] = '\0' }, \
137 unsigned char _ubuf[3]; /* guarantee an ungetc() buffer */ member