Lines Matching refs:_cookie
74 ._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()
706 fp->_cookie = const_cast<void*>(cookie); // The funopen(3) API is incoherent. in __funopen()
1137 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread_unlocked()