Searched refs:_lb (Results 1 – 10 of 10) sorted by relevance
/openbsd/lib/libc/stdio/ |
H A D | fgetwln.c | 42 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 D | fgetln.c | 47 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 D | local.h | 92 #define HASLB(fp) ((fp)->_lb._base != NULL) 94 free((char *)(fp)->_lb._base); \ 95 (fp)->_lb._base = NULL; \
|
H A D | findfp.c | 137 fp->_lb._base = NULL; /* no line buffer */ in __sfp() 138 fp->_lb._size = 0; in __sfp()
|
H A D | vsscanf.c | 56 f._lb._base = NULL; in vsscanf()
|
H A D | sscanf.c | 59 f._lb._base = NULL; in sscanf()
|
H A D | vswscanf.c | 83 f._lb._base = NULL; in vswscanf()
|
H A D | freopen.c | 122 fp->_lb._size = 0; in freopen()
|
/openbsd/lib/libelf/ |
H A D | _elftc.h | 216 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 D | stdio.h | 126 struct __sbuf _lb; /* buffer for fgetln() */ member
|