Home
last modified time | relevance | path

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

1234

/PHP-5.5/main/streams/
H A Dmemory.c85 static size_t php_stream_memory_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_stream_memory_read()
110 static int php_stream_memory_close(php_stream *stream, int close_handle TSRMLS_DC) in php_stream_memory_close()
198 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) 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
393 static size_t php_stream_temp_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_stream_temp_read()
414 static int php_stream_temp_close(php_stream *stream, int close_handle TSRMLS_DC) in php_stream_temp_close()
470 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_stream_temp_cast()
562 php_stream *stream; in _php_stream_temp_create() local
581 php_stream *stream; in _php_stream_temp_open() local
[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) TSRMLS_CC) argument
78 #define php_stream_mmap_unmap_ex(stream, readden) _php_stream_mmap_unmap_ex((stream), (readden) T… argument
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, char **error_text TSRMLS_DC) in php_stream_xport_listen()
284 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, in php_stream_xport_accept()
323 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, in php_stream_xport_get_name()
354 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… in php_stream_xport_crypto_setup()
375 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate TSRMLS_DC) in php_stream_xport_crypto_enable()
397 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, in php_stream_xport_recvfrom()
467 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_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 Dxp_socket.c54 static size_t php_sockop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_sockop_write()
114 static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock TSRMLS_DC) in php_sock_stream_wait_for_data()
144 static size_t php_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_sockop_read()
175 static int php_sockop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_sockop_close()
223 static int php_sockop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_sockop_stat()
268 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_D… in php_sockop_set_option()
412 static int php_sockop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_sockop_cast()
568 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind()
615 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect()
704 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept()
[all …]
H A Dglob_wrapper.c50 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS_DC… in _php_glob_stream_get_path()
72 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, int *plen STREAMS_DC TSRMLS… in _php_glob_stream_get_pattern()
94 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC TSRMLS_DC) /* {{{ … in _php_glob_stream_get_count()
140 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_glob_stream_read()
164 static int php_glob_stream_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_glob_stream_close()
183 static int php_glob_stream_rewind(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRM… in php_glob_stream_rewind()
H A Dstreams.c78 php_stream *stream; in forget_persistent_resource_id_numbers() local
790 PHPAPI int _php_stream_putc(php_stream *stream, int c TSRMLS_DC) in _php_stream_putc()
810 PHPAPI int _php_stream_puts(php_stream *stream, char *buf TSRMLS_DC) in _php_stream_puts()
998 #define STREAM_BUFFERED_AMOUNT(stream) \ argument
1001 static char *_php_stream_search_delim(php_stream *stream, in _php_stream_search_delim()
1220 PHPAPI int _php_stream_flush(php_stream *stream, int closing TSRMLS_DC) in _php_stream_flush()
1618 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor() local
1625 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor() local
1973 php_stream *stream = NULL; local
2022 php_stream *stream = NULL; local
[all …]
H A Dplain_wrapper.c192 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, "r+b", NULL); in _php_stream_fopen_temporary_file() local
211 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, "r+b", NULL); in _php_stream_fopen_tmpfile() local
233 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); in _php_stream_fopen_from_fd() local
272 php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); in _php_stream_fopen_from_file() local
305 php_stream *stream; in _php_stream_fopen_from_pipe() local
344 static size_t php_stdiop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_stdiop_read()
405 static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_stdiop_close()
512 static int php_stdiop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_stdiop_cast()
570 static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_stdiop_stat()
889 php_stream *stream = NULL; in php_plain_files_dir_opener() local
[all …]
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()
54 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, off_t readden TSRMLS_DC) in _php_stream_mmap_unmap_ex()
H A Dcast.c88 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local
135 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local
157 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) in php_stream_mode_sanitize_fdopen_fopencookie()
200 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err TSRMLS_DC) in _php_stream_cast()
357 php_stream *stream = NULL; in _php_stream_open_wrapper_as_file() local
H A Duserspace.c342 php_stream *stream = NULL; in user_wrapper_opener() local
448 php_stream *stream = NULL; in user_wrapper_opendir() local
621 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_userstreamop_write()
675 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_read()
754 static int php_userstreamop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_userstreamop_close()
808 static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRML… in php_userstreamop_seek()
935 static int php_userstreamop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_userstreamop_stat()
968 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TS… in php_userstreamop_set_option()
1515 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_readdir()
1553 static int php_userstreamop_closedir(php_stream *stream, int close_handle TSRMLS_DC) in php_userstreamop_closedir()
[all …]
/PHP-5.5/ext/standard/
H A Dphp_fopen_wrapper.c34 static size_t php_stream_output_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) … in php_stream_output_write()
41 static size_t php_stream_output_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ … in php_stream_output_read()
48 static int php_stream_output_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_stream_output_close()
66 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /… in php_stream_input_write()
72 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_stream_input_read()
107 static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_stream_input_close()
133 static void php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int … in php_stream_apply_filter_list()
164 php_stream * stream = NULL; in php_stream_url_wrap_php() local
H A Dftp_fopen_wrapper.c73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line) TSRMLS_CC) argument
136 php_stream *stream = NULL, *reuseid = NULL; in php_ftp_fopen_connect() local
415 php_stream *stream = NULL, *datastream = NULL; in php_stream_url_wrap_ftp() local
607 static size_t php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_ftp_dirstream_read()
658 static int php_ftp_dirstream_close(php_stream *stream, int close_handle TSRMLS_DC) in php_ftp_dirstream_close()
696 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local
785 php_stream *stream = NULL; in php_stream_ftp_url_stat() local
908 php_stream *stream = NULL; in php_stream_ftp_unlink() local
958 php_stream *stream = NULL; in php_stream_ftp_rename() local
1037 php_stream *stream = NULL; in php_stream_ftp_mkdir() local
[all …]
H A Dstreamsfuncs.c299 php_stream *stream; in PHP_FUNCTION() local
327 php_stream *stream; in PHP_FUNCTION() local
356 php_stream *stream; in PHP_FUNCTION() local
406 php_stream *stream; in PHP_FUNCTION() local
489 php_stream *stream; in PHP_FUNCTION() local
607 php_stream *stream; in stream_array_to_fd_set() local
649 php_stream *stream; in stream_array_from_fd_set() local
722 php_stream *stream; in stream_array_emulate_read_fd_set() local
1195 php_stream *stream; in apply_filter_to_stream() local
1324 php_stream *stream; in PHP_FUNCTION() local
[all …]
H A Dfile.c336 php_stream *stream; in PHP_FUNCTION() local
521 php_stream *stream; in PHP_FUNCTION() local
573 php_stream *stream; in PHP_FUNCTION() local
728 php_stream *stream; in PHP_FUNCTION() local
844 php_stream *stream; in PHP_NAMED_FUNCTION() local
868 php_stream *stream; in PHP_NAMED_FUNCTION() local
892 php_stream *stream; in PHP_FUNCTION() local
922 php_stream *stream; in PHP_FUNCTION() local
964 php_stream *stream; in PHP_FUNCTION() local
984 php_stream *stream; in PHP_FUNCTION() local
[all …]
H A Dimage.c377 static unsigned int php_next_marker(php_stream * stream, int last_marker, int comment_correction, i… in php_next_marker()
440 static int php_read_APP(php_stream * stream, unsigned int marker, zval *info TSRMLS_DC) in php_read_APP()
474 static struct gfxinfo *php_handle_jpeg (php_stream * stream, zval *info TSRMLS_DC) in php_handle_jpeg()
802 static struct gfxinfo *php_handle_tiff (php_stream * stream, zval *info, int motorola_intel TSRMLS_… in php_handle_tiff()
944 static int php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check TSRMLS_DC) in php_get_wbmp()
1014 static int php_get_xbm(php_stream *stream, struct gfxinfo **result TSRMLS_DC) in php_get_xbm()
1223 PHPAPI int php_getimagetype(php_stream * stream, char *filetype TSRMLS_DC) in php_getimagetype()
1296 static void php_getimagesize_from_stream(php_stream *stream, zval **info, INTERNAL_FUNCTION_PARAMET… in php_getimagesize_from_stream()
1393 php_stream *stream = NULL; in php_getimagesize_from_any() local
/PHP-5.5/ext/zlib/
H A Dzlib_fopen_wrapper.c30 php_stream *stream; member
33 static size_t php_gziop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_gziop_read()
47 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_gziop_write()
57 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) in php_gziop_seek()
72 static int php_gziop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_gziop_close()
113 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen() local
/PHP-5.5/main/
H A Dphp_streams.h245 #define php_stream_get_resource_id(stream) (stream)->rsrc_id argument
248 # define php_stream_auto_cleanup(stream) { (stream)->__exposed++; } argument
291 #define php_stream_tell(stream) _php_stream_tell((stream) TSRMLS_CC) argument
313 #define php_stream_eof(stream) _php_stream_eof((stream) TSRMLS_CC) argument
316 #define php_stream_getc(stream) _php_stream_getc((stream) TSRMLS_CC) argument
319 #define php_stream_putc(stream, c) _php_stream_putc((stream), (c) TSRMLS_CC) argument
322 #define php_stream_flush(stream) _php_stream_flush((stream), 0 TSRMLS_CC) argument
332 #define php_stream_puts(stream, buf) _php_stream_puts((stream), (buf) TSRMLS_CC) argument
335 #define php_stream_stat(stream, ssb) _php_stream_stat((stream), (ssb) TSRMLS_CC) argument
486 #define php_stream_is(stream, anops) ((stream)->ops == anops) argument
[all …]
/PHP-5.5/ext/zip/
H A Dzip_stream.c23 php_stream *stream; member
31 static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_zip_ops_read()
58 static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_zip_ops_write()
69 static int php_zip_ops_close(php_stream *stream, int close_handle TSRMLS_DC) in php_zip_ops_close()
100 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) /* {{{ */ in php_zip_ops_stat()
193 php_stream *stream = NULL; in php_stream_zip_open() local
256 php_stream *stream = NULL; in php_stream_zip_opener() local
/PHP-5.5/ext/openssl/
H A Dxp_ssl.c94 static int handle_ssl_error(php_stream *stream, int nr_bytes, zend_bool is_init TSRMLS_DC) in handle_ssl_error()
177 static size_t php_openssl_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_openssl_sockop_read()
182 static size_t php_openssl_sockop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_openssl_sockop_write()
194 static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_openssl_sockop_io()
369 static int php_openssl_sockop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_openssl_sockop_close()
425 static int php_openssl_sockop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_openssl_sockop_stat()
431 static inline int php_openssl_setup_crypto(php_stream *stream, in php_openssl_setup_crypto()
568 static inline int php_openssl_enable_crypto(php_stream *stream, in php_openssl_enable_crypto()
736 static inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *s… in php_openssl_tcp_sockop_accept()
930 static int php_openssl_sockop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_openssl_sockop_cast()
[all …]
/PHP-5.5/ext/bz2/
H A Dbz2.c132 php_stream *stream; member
137 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_bz2iop_read()
155 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_bz2iop_write()
162 static int php_bz2iop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_bz2iop_close()
218 php_stream *retstream = NULL, *stream = NULL; in _php_stream_bz2open() local
342 php_stream *stream; in PHP_FUNCTION() local
378 php_stream *stream = NULL; in PHP_FUNCTION() local
599 php_stream *stream; in php_bz2_error() local
/PHP-5.5/ext/gd/
H A Dgd_ctx.c51 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putc() local
58 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putbuf() local
89 php_stream *stream; in _php_image_output_ctx() local
/PHP-5.5/TSRM/
H A Dtsrm_nw.c60 FILE *stream = NULL; local
226 TSRM_API int pclose(FILE* stream)
/PHP-5.5/ext/phar/
H A Dstream.c348 static int phar_stream_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in phar_stream_close()
359 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_stream_read()
390 static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_D… in phar_stream_seek()
434 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{… in phar_stream_write()
549 static int phar_stream_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) /* {{{ */ in phar_stream_stat()
H A Ddirstream.c43 static int phar_dir_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in phar_dir_close()
61 static int phar_dir_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) … in phar_dir_seek()
93 static size_t phar_dir_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_dir_read()
131 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_dir_write()

Completed in 128 milliseconds

1234