Lines Matching refs:_cookie
74 ._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()
1132 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked()