Home
last modified time | relevance | path

Searched refs:_UB (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dungetc.c52 if (_UB(fp)._base == fp->_ubuf) { in __submore()
58 _UB(fp)._base = p; in __submore()
59 _UB(fp)._size = BUFSIZ; in __submore()
66 i = _UB(fp)._size; in __submore()
67 p = reallocarray(_UB(fp)._base, i, 2); in __submore()
73 _UB(fp)._base = p; in __submore()
74 _UB(fp)._size = i * 2; in __submore()
112 if (fp->_r >= _UB(fp)._size && __submore(fp)) in ungetc()
138 _UB(fp)._base = fp->_ubuf; in ungetc()
139 _UB(fp)._size = sizeof(fp->_ubuf); in ungetc()
/bionic/libc/stdio/
Dlocal.h172 #define _UB(fp) _EXT(fp)->_ub macro
224 #define HASUB(fp) (_UB(fp)._base != NULL)
227 if (_UB(fp)._base != (fp)->_ubuf) free(_UB(fp)._base); \
228 _UB(fp)._base = NULL; \
Dstdio.cpp375 _UB(fp)._size = 0; in freopen()