Home
last modified time | relevance | path

Searched refs:_lb (Results 1 – 7 of 7) sorted by relevance

/freebsd-12-stable/lib/libc/stdio/
Dfgetln.c66 if (fp->_lb._size >= newsize) in __slbexpand()
72 if ((p = realloc(fp->_lb._base, newsize)) == NULL) in __slbexpand()
74 fp->_lb._base = p; in __slbexpand()
75 fp->_lb._size = newsize; in __slbexpand()
139 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
156 (void)memcpy((void *)(fp->_lb._base + off), (void *)fp->_p, in fgetln()
164 fp->_lb._base[len] = '\0'; in fgetln()
166 ret = (char *)fp->_lb._base; in fgetln()
Dfgetwln.c66 if (len * sizeof(wchar_t) >= fp->_lb._size && in fgetwln_l()
71 *((wchar_t *)fp->_lb._base + len++) = wc; in fgetwln_l()
84 ret = (wchar_t *)fp->_lb._base; in fgetwln_l()
Dlocal.h124 #define HASLB(fp) ((fp)->_lb._base != NULL)
126 free((char *)(fp)->_lb._base); \
127 (fp)->_lb._base = NULL; \
Dfindfp.c158 fp->_lb._base = NULL; /* no line buffer */ in __sfp()
159 fp->_lb._size = 0; in __sfp()
Dfreopen.c189 fp->_lb._size = 0; in freopen()
/freebsd-12-stable/contrib/elftoolchain/common/
D_elftc.h216 STAILQ_HEAD(, type) _la, _lb; \
223 STAILQ_INIT(&_lb); \
264 STAILQ_INSERT_TAIL(&_lb, _e, field); \
267 (head)->stqh_first = _lb.stqh_first; \
268 (head)->stqh_last = _lb.stqh_last; \
/freebsd-12-stable/include/
Dstdio.h150 struct __sbuf _lb; /* buffer for fgetln() */ member