Home
last modified time | relevance | path

Searched refs:_UB (Results 1 – 4 of 4) 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()
Dfreopen.c118 _UB(fp)._size = 0; in freopen()
/bionic/libc/stdio/
Dfileext.h56 #define _UB(fp) _EXT(fp)->_ub macro
61 _UB(fp)._base = NULL; \
62 _UB(fp)._size = 0; \
Dlocal.h98 #define HASUB(fp) (_UB(fp)._base != NULL)
100 if (_UB(fp)._base != (fp)->_ubuf) \
101 free(_UB(fp)._base); \
102 _UB(fp)._base = NULL; \