Home
last modified time | relevance | path

Searched refs:_cookie (Results 1 – 18 of 18) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfreopen.c84 (void) (*fp->_close)(fp->_cookie); in freopen()
94 (void) (*fp->_close)(fp->_cookie); in freopen()
107 (void) (*fp->_close)(fp->_cookie); in freopen()
153 fp->_cookie = fp; in freopen()
Dfseek.c86 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in fseeko()
155 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in fseeko()
209 if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko()
232 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) { in fseeko()
Dfclose.c51 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0) in fclose()
Dfunopen.c62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */ in funopen()
Dfvwrite.c85 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ)); in __sfvwrite()
141 w = (*fp->_write)(fp->_cookie, p, w); in __sfvwrite()
180 w = (*fp->_write)(fp->_cookie, p, w); in __sfvwrite()
Dfopen.c69 fp->_cookie = fp; in fopen()
Dvdprintf.c66 f._cookie = &fd; in vdprintf()
Dftell.c62 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR); in ftello()
Dfdopen.c85 fp->_cookie = fp; in fdopen()
Dfflush.c79 t = (*fp->_write)(fp->_cookie, (char *)p, n); in __sflush()
Drefill.c116 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
Dopen_memstream.c150 fp->_cookie = st; in open_memstream()
Dfmemopen.c176 fp->_cookie = (void *)st; in fmemopen()
Dopen_wmemstream.c161 fp->_cookie = st; in open_wmemstream()
Dvfwprintf.c108 fake._cookie = fp->_cookie; in __sbprintf()
Dvfprintf.c130 fake._cookie = fp->_cookie; in __sbprintf()
/bionic/libc/stdio/
Dfread.c127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread()
/bionic/libc/include/
Dstdio.h123 void *_cookie; /* cookie passed to io functions */ member