Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 96) sorted by relevance

1234

/PHP-7.0/main/streams/
H A Dmemory.c110 static int php_stream_memory_close(php_stream *stream, int close_handle) in php_stream_memory_close()
125 static int php_stream_memory_flush(php_stream *stream) in php_stream_memory_flush()
198 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) in php_stream_memory_cast()
296 php_stream *stream; in _php_stream_memory_create() local
315 php_stream *stream; in _php_stream_memory_open() local
415 static int php_stream_temp_close(php_stream *stream, int close_handle) in php_stream_temp_close()
442 static int php_stream_temp_flush(php_stream *stream) in php_stream_temp_flush()
473 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast()
570 php_stream *stream; in _php_stream_temp_create_ex() local
598 php_stream *stream; in _php_stream_temp_open() local
[all …]
H A Dtransports.c60 php_stream *stream = NULL; in _php_stream_xport_create() local
196 PHPAPI int php_stream_xport_bind(php_stream *stream, in php_stream_xport_bind()
224 PHPAPI int php_stream_xport_connect(php_stream *stream, in php_stream_xport_connect()
260 PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) in php_stream_xport_listen()
284 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, in php_stream_xport_accept()
322 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, in php_stream_xport_get_name()
352 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… in php_stream_xport_crypto_setup()
373 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate) in php_stream_xport_crypto_enable()
395 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, in php_stream_xport_recvfrom()
464 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, in php_stream_xport_sendto()
[all …]
H A Dphp_stream_mmap.h63 #define php_stream_mmap_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_MMAP_… argument
67 #define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_su… argument
71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((str… argument
75 #define php_stream_mmap_unmap(stream) _php_stream_mmap_unmap((stream)) argument
78 #define php_stream_mmap_unmap_ex(stream, readden) _php_stream_mmap_unmap_ex((stream), (readden)) argument
H A Dxp_socket.c61 static size_t php_sockop_write(php_stream *stream, const char *buf, size_t count) in php_sockop_write()
121 static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock) in php_sock_stream_wait_for_data()
151 static size_t php_sockop_read(php_stream *stream, char *buf, size_t count) in php_sockop_read()
184 static int php_sockop_close(php_stream *stream, int close_handle) in php_sockop_close()
227 static int php_sockop_flush(php_stream *stream) in php_sockop_flush()
236 static int php_sockop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_sockop_stat()
452 static int php_sockop_cast(php_stream *stream, int castas, void **ret) in php_sockop_cast()
612 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind()
691 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect()
792 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept()
[all …]
H A Dstreams.c70 php_stream *stream; in forget_persistent_resource_id_numbers() local
756 PHPAPI int _php_stream_eof(php_stream *stream) in _php_stream_eof()
773 PHPAPI int _php_stream_putc(php_stream *stream, int c) in _php_stream_putc()
783 PHPAPI int _php_stream_getc(php_stream *stream) in _php_stream_getc()
981 #define STREAM_BUFFERED_AMOUNT(stream) \ argument
1261 PHPAPI zend_off_t _php_stream_tell(php_stream *stream) in _php_stream_tell()
1617 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor() local
1624 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor() local
1964 php_stream *stream = NULL; local
2013 php_stream *stream = NULL; local
[all …]
H A Dphp_stream_glob_wrapper.h27 #define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path((stream), (copy), (p… argument
30 #define php_glob_stream_get_pattern(stream, copy, plen) _php_glob_stream_get_pattern((stream), (cop… argument
33 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STR… argument
H A Dmmap.c25 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range()
49 PHPAPI int _php_stream_mmap_unmap(php_stream *stream) in _php_stream_mmap_unmap()
54 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) in _php_stream_mmap_unmap_ex()
H A Dglob_wrapper.c50 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, size_t *plen STREAMS_DC) /* {{… in _php_glob_stream_get_path()
72 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, size_t *plen STREAMS_DC) /*… in _php_glob_stream_get_pattern()
94 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC) /* {{{ */ in _php_glob_stream_get_count()
140 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read()
164 static int php_glob_stream_close(php_stream *stream, int close_handle) /* {{{ */ in php_glob_stream_close()
183 static int php_glob_stream_rewind(php_stream *stream, zend_off_t offset, int whence, zend_off_t *ne… in php_glob_stream_rewind()
H A Dplain_wrapper.c213 php_stream *stream; in _php_stream_fopen_temporary_file() local
246 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); in _php_stream_fopen_from_fd() local
285 php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); in _php_stream_fopen_from_file() local
318 php_stream *stream; in _php_stream_fopen_from_pipe() local
368 static size_t php_stdiop_read(php_stream *stream, char *buf, size_t count) in php_stdiop_read()
429 static int php_stdiop_close(php_stream *stream, int close_handle) in php_stdiop_close()
490 static int php_stdiop_flush(php_stream *stream) in php_stdiop_flush()
536 static int php_stdiop_cast(php_stream *stream, int castas, void **ret) in php_stdiop_cast()
594 static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_stdiop_stat()
934 php_stream *stream = NULL; in php_plain_files_dir_opener() local
[all …]
H A Duserspace.c340 php_stream *stream = NULL; in user_wrapper_opener() local
435 php_stream *stream = NULL; in user_wrapper_opendir() local
595 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count) in php_userstreamop_write()
646 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count) in php_userstreamop_read()
719 static int php_userstreamop_close(php_stream *stream, int close_handle) in php_userstreamop_close()
746 static int php_userstreamop_flush(php_stream *stream) in php_userstreamop_flush()
890 static int php_userstreamop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_userstreamop_stat()
923 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { in php_userstreamop_set_option()
1411 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count) in php_userstreamop_readdir()
1449 static int php_userstreamop_closedir(php_stream *stream, int close_handle) in php_userstreamop_closedir()
[all …]
H A Dcast.c85 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local
127 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local
148 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) in php_stream_mode_sanitize_fdopen_fopencookie()
191 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) in _php_stream_cast()
348 php_stream *stream = NULL; in _php_stream_open_wrapper_as_file() local
/PHP-7.0/ext/standard/
H A Dphp_fopen_wrapper.c34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_output_write()
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_output_read()
48 static int php_stream_output_close(php_stream *stream, int close_handle) /* {{{ */ in php_stream_output_close()
72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in php_stream_input_write()
78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_stream_input_read()
110 static int php_stream_input_close(php_stream *stream, int close_handle) /* {{{ */ in php_stream_input_close()
119 static int php_stream_input_flush(php_stream *stream) /* {{{ */ in php_stream_input_flush()
125 static int php_stream_input_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *new… in php_stream_input_seek()
151 static void php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int … in php_stream_apply_filter_list()
183 php_stream * stream = NULL; in php_stream_url_wrap_php() local
H A Dimage.c103 static struct gfxinfo *php_handle_gif (php_stream * stream) in php_handle_gif()
126 static struct gfxinfo *php_handle_psd (php_stream * stream) in php_handle_psd()
147 static struct gfxinfo *php_handle_bmp (php_stream * stream) in php_handle_bmp()
198 static struct gfxinfo *php_handle_swc(php_stream * stream) in php_handle_swc()
276 static struct gfxinfo *php_handle_swf (php_stream * stream) in php_handle_swf()
370 static unsigned short php_read2(php_stream * stream) in php_read2()
419 static int php_skip_variable(php_stream * stream) in php_skip_variable()
557 static unsigned int php_read4(php_stream * stream) in php_read4()
597 static struct gfxinfo *php_handle_jpc(php_stream * stream) in php_handle_jpc()
668 static struct gfxinfo *php_handle_jp2(php_stream *stream) in php_handle_jp2()
[all …]
H A Dftp_fopen_wrapper.c73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line)) argument
138 php_stream *stream = NULL, *reuseid = NULL; in php_ftp_fopen_connect() local
419 php_stream *stream = NULL, *datastream = NULL; in php_stream_url_wrap_ftp() local
611 static size_t php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count) in php_ftp_dirstream_read()
652 static int php_ftp_dirstream_close(php_stream *stream, int close_handle) in php_ftp_dirstream_close()
691 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local
783 php_stream *stream = NULL; in php_stream_ftp_url_stat() local
906 php_stream *stream = NULL; in php_stream_ftp_unlink() local
956 php_stream *stream = NULL; in php_stream_ftp_rename() local
1035 php_stream *stream = NULL; in php_stream_ftp_mkdir() local
[all …]
H A Dstreamsfuncs.c298 php_stream *stream; in PHP_FUNCTION() local
330 php_stream *stream; in PHP_FUNCTION() local
359 php_stream *stream; in PHP_FUNCTION() local
407 php_stream *stream; in PHP_FUNCTION() local
487 php_stream *stream; in PHP_FUNCTION() local
590 php_stream *stream; in stream_array_to_fd_set() local
629 php_stream *stream; in stream_array_from_fd_set() local
680 php_stream *stream; in stream_array_emulate_read_fd_set() local
1132 php_stream *stream; in apply_filter_to_stream() local
1262 php_stream *stream; in PHP_FUNCTION() local
[all …]
H A Dfile.c341 php_stream *stream; in PHP_FUNCTION() local
525 php_stream *stream; in PHP_FUNCTION() local
575 php_stream *stream; in PHP_FUNCTION() local
721 php_stream *stream; in PHP_FUNCTION() local
837 php_stream *stream; in PHP_NAMED_FUNCTION() local
861 php_stream *stream; in PHP_NAMED_FUNCTION() local
885 php_stream *stream; in PHP_FUNCTION() local
913 php_stream *stream; in PHP_FUNCTION() local
955 php_stream *stream; in PHP_FUNCTION() local
975 php_stream *stream; in PHP_FUNCTION() local
[all …]
/PHP-7.0/ext/zlib/
H A Dzlib_fopen_wrapper.c32 php_stream *stream; member
35 static size_t php_gziop_read(php_stream *stream, char *buf, size_t count) in php_gziop_read()
50 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count) in php_gziop_write()
61 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek()
76 static int php_gziop_close(php_stream *stream, int close_handle) in php_gziop_close()
96 static int php_gziop_flush(php_stream *stream) in php_gziop_flush()
117 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen() local
/PHP-7.0/ext/zip/
H A Dzip_stream.c38 php_stream *stream; member
46 static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) in php_zip_ops_read()
81 static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) in php_zip_ops_write()
92 static int php_zip_ops_close(php_stream *stream, int close_handle) in php_zip_ops_close()
113 static int php_zip_ops_flush(php_stream *stream) in php_zip_ops_flush()
123 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_zip_ops_stat()
216 php_stream *stream = NULL; in php_stream_zip_open() local
278 php_stream *stream = NULL; in php_stream_zip_opener() local
/PHP-7.0/main/
H A Dphp_streams.h235 #define PHP_STREAM_CONTEXT(stream) \ argument
252 #define php_stream_auto_cleanup(stream) { (stream)->__exposed++; } argument
304 #define php_stream_tell(stream) _php_stream_tell((stream)) argument
322 #define php_stream_eof(stream) _php_stream_eof((stream)) argument
325 #define php_stream_getc(stream) _php_stream_getc((stream)) argument
328 #define php_stream_putc(stream, c) _php_stream_putc((stream), (c)) argument
331 #define php_stream_flush(stream) _php_stream_flush((stream), 0) argument
341 #define php_stream_puts(stream, buf) _php_stream_puts((stream), (buf)) argument
344 #define php_stream_stat(stream, ssb) _php_stream_stat((stream), (ssb)) argument
497 #define php_stream_is(stream, anops) ((stream)->ops == anops) argument
[all …]
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c166 static int is_http_stream_talking_to_iis(php_stream *stream) /* {{{ */ in is_http_stream_talking_to_iis()
273 php_stream *stream; in verify_callback() local
574 php_stream *stream = (php_stream *)data; in passwd_callback() local
598 php_stream *stream; in win_cert_verify_callback() local
757 php_stream *stream; in load_stream_cafile() local
1048 php_stream *stream; in limit_handshake_reneg() local
1307 php_stream *stream; in server_sni_callback() local
1506 int php_openssl_setup_crypto(php_stream *stream, in php_openssl_setup_crypto()
1787 static int php_openssl_enable_crypto(php_stream *stream, in php_openssl_enable_crypto()
2225 static int php_openssl_sockop_flush(php_stream *stream) /* {{{ */ in php_openssl_sockop_flush()
[all …]
/PHP-7.0/ext/bz2/
H A Dbz2.c133 php_stream *stream; member
138 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count) in php_bz2iop_read()
165 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count) in php_bz2iop_write()
189 static int php_bz2iop_close(php_stream *stream, int close_handle) in php_bz2iop_close()
207 static int php_bz2iop_flush(php_stream *stream) in php_bz2iop_flush()
248 php_stream *retstream = NULL, *stream = NULL; in _php_stream_bz2open() local
372 php_stream *stream; in PHP_FUNCTION() local
402 php_stream *stream = NULL; in PHP_FUNCTION() local
638 php_stream *stream; in php_bz2_error() local
/PHP-7.0/ext/phar/
H A Ddirstream.c43 static int phar_dir_close(php_stream *stream, int close_handle) /* {{{ */ in phar_dir_close()
61 static int phar_dir_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset) … in phar_dir_seek()
93 static size_t phar_dir_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in phar_dir_read()
122 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in phar_dir_write()
131 static int phar_dir_flush(php_stream *stream) /* {{{ */ in phar_dir_flush()
H A Dstream.c348 static int phar_stream_close(php_stream *stream, int close_handle) /* {{{ */ in phar_stream_close()
362 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in phar_stream_read()
393 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek()
437 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in phar_stream_write()
460 static int phar_stream_flush(php_stream *stream) /* {{{ */ in phar_stream_flush()
552 static int phar_stream_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in phar_stream_stat()
/PHP-7.0/ext/gd/
H A Dgd_ctx.c49 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putc() local
55 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putbuf() local
94 php_stream *stream; in _php_image_output_ctx() local
/PHP-7.0/TSRM/
H A Dtsrm_nw.c60 FILE *stream = NULL; local
226 TSRM_API int pclose(FILE* stream)

Completed in 131 milliseconds

1234