Lines Matching refs:cookie

47 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs)  in fopencookie()  argument
49 return funopen(cookie, funcs->reader, funcs->writer, funcs->seeker, funcs->closer); in fopencookie()
61 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument
65 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
69 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument
72 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
75 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
78 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
81 static int stream_cookie_closer(void *cookie) in stream_cookie_closer() argument
83 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer()
91 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument
95 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
99 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument
102 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
106 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument
109 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
117 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
120 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
124 static int stream_cookie_closer(void *cookie) in stream_cookie_closer() argument
126 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer()