Searched defs:_base (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/stdio/
H A Dasprintf.c32 unsigned char *_base; local
36 f._bf._base = f._p = (unsigned char *)malloc(128);
37 if (f._bf._base == NULL)
46 _base = realloc(f._bf._base, ret + 1);
47 if (_base == NULL)
49 *str = (char *)_base;
53 free(f._bf._base);
H A Dvasprintf.c31 unsigned char *_base; local
36 f._bf._base = f._p = (unsigned char *)malloc(128);
37 if (f._bf._base == NULL)
44 _base = realloc(f._bf._base, ret + 1);
45 if (_base == NULL)
47 *str = (char *)_base;
51 free(f._bf._base);
H A Dfvwrite.c111 size_t blen = fp->_p - fp->_bf._base;
112 unsigned char *_base; local
120 _base = realloc(fp->_bf._base, _size + 1);
121 if (_base == NULL)
124 fp->_bf._base = _base;
126 fp->_p = _base + blen;
136 } else if (fp->_p > fp->_bf._base && (int)len > w) {
177 if (fp->_p > fp->_bf._base
[all...]
/bionic/libc/include/
H A Dstdio.h62 unsigned char *_base; member in struct:__sbuf
87 * _ub._base becomes non-nil (i.e., a stream has ungetc() data iff
88 * _ub._base!=NULL) and _up and _ur save the current values of _p and _r.

Completed in 81 milliseconds