Home
last modified time | relevance | path

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

/openbsd/lib/libc/stdio/
H A Dfgetwln.c42 if (fp->_lb._size / sizeof(wchar_t) >= newsize) in __slbexpand()
44 if ((p = reallocarray(fp->_lb._base, newsize, sizeof(wchar_t))) == NULL) in __slbexpand()
46 fp->_lb._base = p; in __slbexpand()
47 fp->_lb._size = newsize * sizeof(wchar_t); in __slbexpand()
63 if (len >= fp->_lb._size / sizeof(wchar_t) && in fgetwln()
68 *((wchar_t *)fp->_lb._base + len++) = wc; in fgetwln()
87 return (wchar_t *)fp->_lb._base; in fgetwln()
H A Dfgetln.c47 if (fp->_lb._size >= newsize) in __slbexpand()
49 if ((p = recallocarray(fp->_lb._base, fp->_lb._size, newsize, 1)) == NULL) in __slbexpand()
51 fp->_lb._base = p; in __slbexpand()
52 fp->_lb._size = newsize; in __slbexpand()
115 (void)memcpy(fp->_lb._base + off, fp->_p, len - off); in fgetln()
131 (void)memcpy(fp->_lb._base + off, fp->_p, diff); in fgetln()
137 ret = (char *)fp->_lb._base; in fgetln()
H A Dlocal.h92 #define HASLB(fp) ((fp)->_lb._base != NULL)
94 free((char *)(fp)->_lb._base); \
95 (fp)->_lb._base = NULL; \
H A Dfindfp.c137 fp->_lb._base = NULL; /* no line buffer */ in __sfp()
138 fp->_lb._size = 0; in __sfp()
H A Dvsscanf.c56 f._lb._base = NULL; in vsscanf()
H A Dsscanf.c59 f._lb._base = NULL; in sscanf()
H A Dvswscanf.c83 f._lb._base = NULL; in vswscanf()
H A Dfreopen.c122 fp->_lb._size = 0; in freopen()
/openbsd/lib/libelf/
H A 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; \
/openbsd/include/
H A Dstdio.h126 struct __sbuf _lb; /* buffer for fgetln() */ member