Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
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, \
239 fp->_cookie = fp; in __FILE_init()
345 (*fp->_close)(fp->_cookie); in freopen()
355 (*fp->_close)(fp->_cookie); in freopen()
366 if (isopen && fd != wantfd) (*fp->_close)(fp->_cookie); in freopen()
416 if (fp->_close != nullptr && (*fp->_close)(fp->_cookie) < 0) { in __FILE_close()
511 int written = (*fp->_write)(fp->_cookie, reinterpret_cast<char*>(p), n); in __sflush()
554 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); in __seek_unlocked()
556 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); in __seek_unlocked()
704 fp->_cookie = const_cast<void*>(cookie); // The funopen(3) API is incoherent. in __funopen()
[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()