Home
last modified time | relevance | path

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

/bionic/libc/stdio/
Dstdio.cpp188 fp->_cookie = fp; in __fopen()
287 (*fp->_close)(fp->_cookie); in freopen()
297 (*fp->_close)(fp->_cookie); in freopen()
308 if (isopen && fd != wantfd) (*fp->_close)(fp->_cookie); in freopen()
347 fp->_cookie = fp; in freopen()
374 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0) { in fclose()
429 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); in __seek_unlocked()
431 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); in __seek_unlocked()
570 fp->_cookie = const_cast<void*>(cookie); // The funopen(3) API is incoherent. in __funopen()
Dfread.c127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread()
Drefill.c113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
Dlocal.h77 void* _cookie; /* cookie passed to io functions */ member
/bionic/libc/upstream-openbsd/lib/libc/stdio/
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()
Dvdprintf.c66 f._cookie = &fd; in vdprintf()
Dfflush.c79 t = (*fp->_write)(fp->_cookie, (char *)p, n); in __sflush()
Dopen_memstream.c150 fp->_cookie = st; in open_memstream()
Dopen_wmemstream.c161 fp->_cookie = st; in open_wmemstream()
Dfmemopen.c176 fp->_cookie = (void *)st; in fmemopen()
Dvfwprintf.c108 fake._cookie = fp->_cookie; in __sbprintf()
Dvfprintf.c130 fake._cookie = fp->_cookie; in __sbprintf()