Home
last modified time | relevance | path

Searched refs:_cookie (Results 1 – 14 of 14) 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()
Dfunopen.c62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */ in funopen()
Dvdprintf.c66 f._cookie = &fd; in vdprintf()
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()
Dftell.c62 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR); in ftello()
Dfdopen.c77 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()
Dvfwprintf.c108 fake._cookie = fp->_cookie; in __sbprintf()
Dvfprintf.c130 fake._cookie = fp->_cookie; in __sbprintf()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dfclose.c59 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0) in fclose()
Dfopen.c81 fp->_cookie = fp; in fopen()
/bionic/libc/include/
Dstdio.h115 void *_cookie; /* cookie passed to io functions */ member