Lines Matching refs:cookie
528 int __sread(void* cookie, char* buf, int n) { in __sread() argument
529 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sread()
533 int __swrite(void* cookie, const char* buf, int n) { in __swrite() argument
534 FILE* fp = reinterpret_cast<FILE*>(cookie); in __swrite()
538 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { in __sseek() argument
539 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek()
543 off64_t __sseek64(void* cookie, off64_t offset, int whence) { in __sseek64() argument
544 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sseek64()
548 int __sclose(void* cookie) { in __sclose() argument
549 FILE* fp = reinterpret_cast<FILE*>(cookie); in __sclose()
685 static FILE* __funopen(const void* cookie, in __funopen() argument
706 fp->_cookie = const_cast<void*>(cookie); // The funopen(3) API is incoherent. in __funopen()
714 FILE* funopen(const void* cookie, in funopen() argument
719 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen()
726 FILE* funopen64(const void* cookie, in funopen64() argument
731 FILE* fp = __funopen(cookie, read_fn, write_fn, close_fn); in funopen64()