/PHP-5.6/main/streams/ |
H A D | memory.c | 85 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 394 static size_t php_stream_temp_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_stream_temp_read() 415 static int php_stream_temp_close(php_stream *stream, int close_handle TSRMLS_DC) in php_stream_temp_close() 475 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_stream_temp_cast() 567 php_stream *stream; in _php_stream_temp_create_ex() local 594 php_stream *stream; in _php_stream_temp_open() local [all …]
|
H A D | php_stream_mmap.h | 63 #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 D | transports.c | 60 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 D | php_stream_glob_wrapper.h | 27 #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 D | xp_socket.c | 54 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() 279 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_D… in php_sockop_set_option() 433 static int php_sockop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_sockop_cast() 589 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind() 636 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect() 725 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept() [all …]
|
H A D | glob_wrapper.c | 50 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 D | streams.c | 78 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, const char *buf TSRMLS_DC) in _php_stream_puts() 998 #define STREAM_BUFFERED_AMOUNT(stream) \ argument 1001 static const 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 1968 php_stream *stream = NULL; local 2017 php_stream *stream = NULL; local [all …]
|
H A D | plain_wrapper.c | 194 php_stream *stream; in _php_stream_fopen_temporary_file() local 227 php_stream *stream = php_stream_fopen_from_fd_int_rel(fd, mode, persistent_id); in _php_stream_fopen_from_fd() local 266 php_stream *stream = php_stream_fopen_from_file_int_rel(file, mode); in _php_stream_fopen_from_file() local 299 php_stream *stream; in _php_stream_fopen_from_pipe() local 315 static size_t php_stdiop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_stdiop_write() 338 static size_t php_stdiop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_stdiop_read() 399 static int php_stdiop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_stdiop_close() 506 static int php_stdiop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC) in php_stdiop_cast() 564 static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_stdiop_stat() 895 php_stream *stream = NULL; in php_plain_files_dir_opener() local [all …]
|
H A D | mmap.c | 25 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 D | cast.c | 88 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 D | userspace.c | 343 php_stream *stream = NULL; in user_wrapper_opener() local 454 php_stream *stream = NULL; in user_wrapper_opendir() local 627 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_userstreamop_write() 681 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_read() 760 static int php_userstreamop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_userstreamop_close() 814 static int php_userstreamop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRML… in php_userstreamop_seek() 941 static int php_userstreamop_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) in php_userstreamop_stat() 974 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TS… in php_userstreamop_set_option() 1526 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_userstreamop_readdir() 1564 static int php_userstreamop_closedir(php_stream *stream, int close_handle TSRMLS_DC) in php_userstreamop_closedir() [all …]
|
/PHP-5.6/ext/standard/ |
H A D | php_fopen_wrapper.c | 34 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() 72 static size_t php_stream_input_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /… in php_stream_input_write() 78 static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in php_stream_input_read() 110 static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */ in php_stream_input_close() 125 static int php_stream_input_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSR… 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 D | ftp_fopen_wrapper.c | 73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line) TSRMLS_CC) 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 TSRMLS_DC) in php_ftp_dirstream_read() 661 static int php_ftp_dirstream_close(php_stream *stream, int close_handle TSRMLS_DC) in php_ftp_dirstream_close() 700 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local 793 php_stream *stream = NULL; in php_stream_ftp_url_stat() local 916 php_stream *stream = NULL; in php_stream_ftp_unlink() local 966 php_stream *stream = NULL; in php_stream_ftp_rename() local 1045 php_stream *stream = NULL; in php_stream_ftp_mkdir() local [all …]
|
H A D | streamsfuncs.c | 301 php_stream *stream; in PHP_FUNCTION() local 329 php_stream *stream; in PHP_FUNCTION() local 358 php_stream *stream; in PHP_FUNCTION() local 408 php_stream *stream; in PHP_FUNCTION() local 491 php_stream *stream; in PHP_FUNCTION() local 609 php_stream *stream; in stream_array_to_fd_set() local 646 php_stream *stream; in stream_array_from_fd_set() local 713 php_stream *stream; in stream_array_emulate_read_fd_set() local 1186 php_stream *stream; in apply_filter_to_stream() local 1315 php_stream *stream; in PHP_FUNCTION() local [all …]
|
H A D | file.c | 344 php_stream *stream; in PHP_FUNCTION() local 529 php_stream *stream; in PHP_FUNCTION() local 581 php_stream *stream; in PHP_FUNCTION() local 736 php_stream *stream; in PHP_FUNCTION() local 852 php_stream *stream; in PHP_NAMED_FUNCTION() local 876 php_stream *stream; in PHP_NAMED_FUNCTION() local 900 php_stream *stream; in PHP_FUNCTION() local 930 php_stream *stream; in PHP_FUNCTION() local 972 php_stream *stream; in PHP_FUNCTION() local 992 php_stream *stream; in PHP_FUNCTION() local [all …]
|
H A D | image.c | 377 static unsigned int php_next_marker(php_stream * stream, int last_marker, int ff_read TSRMLS_DC) in php_next_marker() 428 static int php_read_APP(php_stream * stream, unsigned int marker, zval *info TSRMLS_DC) in php_read_APP() 462 static struct gfxinfo *php_handle_jpeg (php_stream * stream, zval *info TSRMLS_DC) in php_handle_jpeg() 790 static struct gfxinfo *php_handle_tiff (php_stream * stream, zval *info, int motorola_intel TSRMLS_… in php_handle_tiff() 932 static int php_get_wbmp(php_stream *stream, struct gfxinfo **result, int check TSRMLS_DC) in php_get_wbmp() 1009 static int php_get_xbm(php_stream *stream, struct gfxinfo **result TSRMLS_DC) in php_get_xbm() 1218 PHPAPI int php_getimagetype(php_stream * stream, char *filetype TSRMLS_DC) in php_getimagetype() 1295 static void php_getimagesize_from_stream(php_stream *stream, zval **info, INTERNAL_FUNCTION_PARAMET… in php_getimagesize_from_stream() 1392 php_stream *stream = NULL; in php_getimagesize_from_any() local
|
/PHP-5.6/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 32 php_stream *stream; member 35 static size_t php_gziop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_gziop_read() 49 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_gziop_write() 59 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) in php_gziop_seek() 74 static int php_gziop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_gziop_close() 115 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen() local
|
/PHP-5.6/main/ |
H A D | php_streams.h | 245 #define php_stream_get_resource_id(stream) ((php_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.6/ext/zip/ |
H A D | zip_stream.c | 38 php_stream *stream; member 46 static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_zip_ops_read() 73 static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_zip_ops_write() 84 static int php_zip_ops_close(php_stream *stream, int close_handle TSRMLS_DC) in php_zip_ops_close() 115 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) /* {{{ */ in php_zip_ops_stat() 208 php_stream *stream = NULL; in php_stream_zip_open() local 271 php_stream *stream = NULL; in php_stream_zip_opener() local
|
/PHP-5.6/ext/bz2/ |
H A D | bz2.c | 133 php_stream *stream; member 138 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) in php_bz2iop_read() 156 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) in php_bz2iop_write() 163 static int php_bz2iop_close(php_stream *stream, int close_handle TSRMLS_DC) in php_bz2iop_close() 219 php_stream *retstream = NULL, *stream = NULL; in _php_stream_bz2open() local 343 php_stream *stream; in PHP_FUNCTION() local 379 php_stream *stream = NULL; in PHP_FUNCTION() local 610 php_stream *stream; in php_bz2_error() local
|
/PHP-5.6/ext/openssl/ |
H A D | xp_ssl.c | 236 php_stream *stream; in verify_callback() local 553 php_stream *stream = (php_stream *)data; in passwd_callback() local 577 php_stream *stream; in win_cert_verify_callback() local 737 php_stream *stream; in load_stream_cafile() local 1014 php_stream *stream; in limit_handshake_reneg() local 1129 static int set_server_rsa_key(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) /* {{{ */ in set_server_rsa_key() 1192 static int set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx TSRMLS_DC) /* {{{ */ in set_server_ecdh_curve() 1288 php_stream *stream; in server_sni_callback() local 1438 int php_openssl_setup_crypto(php_stream *stream, in php_openssl_setup_crypto() 1670 static int php_openssl_enable_crypto(php_stream *stream, in php_openssl_enable_crypto() [all …]
|
/PHP-5.6/ext/gd/ |
H A D | gd_ctx.c | 51 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 99 php_stream *stream; in _php_image_output_ctx() local
|
/PHP-5.6/TSRM/ |
H A D | tsrm_nw.c | 60 FILE *stream = NULL; local 226 TSRM_API int pclose(FILE* stream)
|
/PHP-5.6/ext/phar/ |
H A D | dirstream.c | 43 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() 123 static size_t phar_dir_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_dir_write()
|
H A D | stream.c | 348 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()
|