Home
last modified time | relevance | path

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

/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()
Dopen_memstream.c150 fp->_cookie = st; in open_memstream()
Dopen_wmemstream.c161 fp->_cookie = st; in open_wmemstream()
/bionic/libc/stdio/
Dstdio.cpp74 ._flags = flags, ._file = fd, ._cookie = __sF + fd, ._close = __sclose, \
242 fp->_cookie = fp; in __fopen()
335 (*fp->_close)(fp->_cookie); in freopen()
345 (*fp->_close)(fp->_cookie); in freopen()
356 if (isopen && fd != wantfd) (*fp->_close)(fp->_cookie); in freopen()
396 fp->_cookie = fp; in freopen()
418 if (fp->_close != nullptr && (*fp->_close)(fp->_cookie) < 0) { in __FILE_close()
513 int written = (*fp->_write)(fp->_cookie, reinterpret_cast<char*>(p), n); in __sflush()
556 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); in __seek_unlocked()
558 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); in __seek_unlocked()
[all …]
Drefill.c113 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
Dlocal.h79 void* _cookie; /* cookie passed to io functions */ member
Dprintf_common.h97 fake._cookie = fp->_cookie; in __sbprintf()