/PHP-7.3/sapi/fpm/fpm/ |
H A D | zlog.c | 270 struct zlog_stream stream; in zlog_msg_ex() local 320 struct zlog_stream *stream, const char *buf, size_t len, in zlog_stream_direct_write_ex() 342 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_direct_write() 349 struct zlog_stream *stream, const char *buf, size_t len) /* {{{ */ in zlog_stream_unbuffered_write() 415 struct zlog_stream *stream, const char *str, size_t str_len) /* {{{ */ in zlog_stream_buf_copy_cstr() 440 static ssize_t zlog_stream_buf_flush(struct zlog_stream *stream) /* {{{ */ in zlog_stream_buf_flush() 465 struct zlog_stream *stream, const char *str, size_t str_len) /* {{{ */ in zlog_stream_buf_append() 535 void zlog_stream_init(struct zlog_stream *stream, int flags) /* {{{ */ in zlog_stream_init() 823 zlog_bool zlog_stream_finish(struct zlog_stream *stream) /* {{{ */ in zlog_stream_finish() 847 void zlog_stream_destroy(struct zlog_stream *stream) /* {{{ */ in zlog_stream_destroy() [all …]
|
/PHP-7.3/main/streams/ |
H A D | memory.c | 105 static int php_stream_memory_close(php_stream *stream, int close_handle) in php_stream_memory_close() 120 static int php_stream_memory_flush(php_stream *stream) in php_stream_memory_flush() 193 static int php_stream_memory_cast(php_stream *stream, int castas, void **ret) in php_stream_memory_cast() 303 php_stream *stream; in _php_stream_memory_create() local 322 php_stream *stream; in _php_stream_memory_open() local 422 static int php_stream_temp_close(php_stream *stream, int close_handle) in php_stream_temp_close() 449 static int php_stream_temp_flush(php_stream *stream) in php_stream_temp_flush() 480 static int php_stream_temp_cast(php_stream *stream, int castas, void **ret) in php_stream_temp_cast() 577 php_stream *stream; in _php_stream_temp_create_ex() local 605 php_stream *stream; in _php_stream_temp_open() local [all …]
|
H A D | transports.c | 62 php_stream *stream = NULL; in _php_stream_xport_create() local 190 PHPAPI int php_stream_xport_bind(php_stream *stream, in php_stream_xport_bind() 218 PHPAPI int php_stream_xport_connect(php_stream *stream, in php_stream_xport_connect() 254 PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) in php_stream_xport_listen() 278 PHPAPI int php_stream_xport_accept(php_stream *stream, php_stream **client, in php_stream_xport_accept() 316 PHPAPI int php_stream_xport_get_name(php_stream *stream, int want_peer, in php_stream_xport_get_name() 346 PHPAPI int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto… in php_stream_xport_crypto_setup() 367 PHPAPI int php_stream_xport_crypto_enable(php_stream *stream, int activate) in php_stream_xport_crypto_enable() 389 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, in php_stream_xport_recvfrom() 458 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, in php_stream_xport_sendto() [all …]
|
H A D | xp_socket.c | 59 static size_t php_sockop_write(php_stream *stream, const char *buf, size_t count) in php_sockop_write() 119 static void php_sock_stream_wait_for_data(php_stream *stream, php_netstream_data_t *sock) in php_sock_stream_wait_for_data() 149 static size_t php_sockop_read(php_stream *stream, char *buf, size_t count) in php_sockop_read() 182 static int php_sockop_close(php_stream *stream, int close_handle) in php_sockop_close() 225 static int php_sockop_flush(php_stream *stream) in php_sockop_flush() 234 static int php_sockop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_sockop_stat() 456 static int php_sockop_cast(php_stream *stream, int castas, void **ret) in php_sockop_cast() 616 static inline int php_tcp_sockop_bind(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_bind() 695 static inline int php_tcp_sockop_connect(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_connect() 808 static inline int php_tcp_sockop_accept(php_stream *stream, php_netstream_data_t *sock, in php_tcp_sockop_accept() [all …]
|
H A D | php_stream_mmap.h | 61 #define php_stream_mmap_supported(stream) (_php_stream_set_option((stream), PHP_STREAM_OPTION_MMAP_… argument 65 #define php_stream_mmap_possible(stream) (!php_stream_is_filtered((stream)) && php_stream_mmap_su… argument 69 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((str… argument 73 #define php_stream_mmap_unmap(stream) _php_stream_mmap_unmap((stream)) argument 76 #define php_stream_mmap_unmap_ex(stream, readden) _php_stream_mmap_unmap_ex((stream), (readden)) argument
|
H A D | streams.c | 69 php_stream *stream; in forget_persistent_resource_id_numbers() local 738 PHPAPI int _php_stream_eof(php_stream *stream) in _php_stream_eof() 755 PHPAPI int _php_stream_putc(php_stream *stream, int c) in _php_stream_putc() 765 PHPAPI int _php_stream_getc(php_stream *stream) in _php_stream_getc() 963 #define STREAM_BUFFERED_AMOUNT(stream) \ argument 1243 PHPAPI zend_off_t _php_stream_tell(php_stream *stream) in _php_stream_tell() 1604 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_regular_dtor() local 1611 php_stream *stream = (php_stream*)rsrc->ptr; in stream_resource_persistent_dtor() local 1955 php_stream *stream = NULL; local 2004 php_stream *stream = NULL; local [all …]
|
H A D | php_stream_glob_wrapper.h | 25 #define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path((stream), (copy), (p… argument 28 #define php_glob_stream_get_pattern(stream, copy, plen) _php_glob_stream_get_pattern((stream), (cop… argument 31 #define php_glob_stream_get_count(stream, pflags) _php_glob_stream_get_count((stream), (pflags) STR… argument
|
H A D | mmap.c | 23 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mm… in _php_stream_mmap_range() 47 PHPAPI int _php_stream_mmap_unmap(php_stream *stream) in _php_stream_mmap_unmap() 52 PHPAPI int _php_stream_mmap_unmap_ex(php_stream *stream, zend_off_t readden) in _php_stream_mmap_unmap_ex()
|
H A D | glob_wrapper.c | 48 PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, size_t *plen STREAMS_DC) /* {{… in _php_glob_stream_get_path() 70 PHPAPI char* _php_glob_stream_get_pattern(php_stream *stream, int copy, size_t *plen STREAMS_DC) /*… in _php_glob_stream_get_pattern() 92 PHPAPI int _php_glob_stream_get_count(php_stream *stream, int *pflags STREAMS_DC) /* {{{ */ in _php_glob_stream_get_count() 138 static size_t php_glob_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in php_glob_stream_read() 162 static int php_glob_stream_close(php_stream *stream, int close_handle) /* {{{ */ in php_glob_stream_close() 181 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 D | plain_wrapper.c | 213 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() 494 static int php_stdiop_flush(php_stream *stream) in php_stdiop_flush() 540 static int php_stdiop_cast(php_stream *stream, int castas, void **ret) in php_stdiop_cast() 598 static int php_stdiop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_stdiop_stat() 979 php_stream *stream = NULL; in php_plain_files_dir_opener() local [all …]
|
H A D | userspace.c | 337 php_stream *stream = NULL; in user_wrapper_opener() local 432 php_stream *stream = NULL; in user_wrapper_opendir() local 592 static size_t php_userstreamop_write(php_stream *stream, const char *buf, size_t count) in php_userstreamop_write() 643 static size_t php_userstreamop_read(php_stream *stream, char *buf, size_t count) in php_userstreamop_read() 716 static int php_userstreamop_close(php_stream *stream, int close_handle) in php_userstreamop_close() 743 static int php_userstreamop_flush(php_stream *stream) in php_userstreamop_flush() 881 static int php_userstreamop_stat(php_stream *stream, php_stream_statbuf *ssb) in php_userstreamop_stat() 914 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam) { in php_userstreamop_set_option() 1402 static size_t php_userstreamop_readdir(php_stream *stream, char *buf, size_t count) in php_userstreamop_readdir() 1439 static int php_userstreamop_closedir(php_stream *stream, int close_handle) in php_userstreamop_closedir() [all …]
|
H A D | cast.c | 83 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local 125 php_stream *stream = (php_stream*)cookie; in stream_cookie_closer() local 146 void php_stream_mode_sanitize_fdopen_fopencookie(php_stream *stream, char *result) in php_stream_mode_sanitize_fdopen_fopencookie() 189 PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err) in _php_stream_cast() 346 php_stream *stream = NULL; in _php_stream_open_wrapper_as_file() local
|
/PHP-7.3/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) /* {{{ */ 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 D | image.c | 104 static struct gfxinfo *php_handle_gif (php_stream * stream) in php_handle_gif() 127 static struct gfxinfo *php_handle_psd (php_stream * stream) in php_handle_psd() 148 static struct gfxinfo *php_handle_bmp (php_stream * stream) in php_handle_bmp() 199 static struct gfxinfo *php_handle_swc(php_stream * stream) in php_handle_swc() 281 static struct gfxinfo *php_handle_swf (php_stream * stream) in php_handle_swf() 375 static unsigned short php_read2(php_stream * stream) in php_read2() 424 static int php_skip_variable(php_stream * stream) in php_skip_variable() 562 static unsigned int php_read4(php_stream * stream) in php_read4() 602 static struct gfxinfo *php_handle_jpc(php_stream * stream) in php_handle_jpc() 673 static struct gfxinfo *php_handle_jp2(php_stream *stream) in php_handle_jp2() [all …]
|
H A D | streamsfuncs.c | 315 php_stream *stream; in PHP_FUNCTION() local 347 php_stream *stream; in PHP_FUNCTION() local 380 php_stream *stream; in PHP_FUNCTION() local 432 php_stream *stream; in PHP_FUNCTION() local 524 php_stream *stream; in PHP_FUNCTION() local 627 php_stream *stream; in stream_array_to_fd_set() local 667 php_stream *stream; in stream_array_from_fd_set() local 716 php_stream *stream; in stream_array_emulate_read_fd_set() local 1176 php_stream *stream; in apply_filter_to_stream() local 1309 php_stream *stream; in PHP_FUNCTION() local [all …]
|
H A D | ftp_fopen_wrapper.c | 70 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line)) argument 135 php_stream *stream = NULL, *reuseid = NULL; in php_ftp_fopen_connect() local 416 php_stream *stream = NULL, *datastream = NULL; in php_stream_url_wrap_ftp() local 616 static size_t php_ftp_dirstream_read(php_stream *stream, char *buf, size_t count) in php_ftp_dirstream_read() 657 static int php_ftp_dirstream_close(php_stream *stream, int close_handle) in php_ftp_dirstream_close() 696 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local 788 php_stream *stream = NULL; in php_stream_ftp_url_stat() local 911 php_stream *stream = NULL; in php_stream_ftp_unlink() local 961 php_stream *stream = NULL; in php_stream_ftp_rename() local 1040 php_stream *stream = NULL; in php_stream_ftp_mkdir() local [all …]
|
H A D | file.c | 339 php_stream *stream; in PHP_FUNCTION() local 528 php_stream *stream; in PHP_FUNCTION() local 583 php_stream *stream; in PHP_FUNCTION() local 734 php_stream *stream; in PHP_FUNCTION() local 855 php_stream *stream; in PHP_NAMED_FUNCTION() local 879 php_stream *stream; in PHP_NAMED_FUNCTION() local 907 php_stream *stream; in PHP_FUNCTION() local 935 php_stream *stream; in PHP_FUNCTION() local 978 php_stream *stream; in PHP_FUNCTION() local 998 php_stream *stream; in PHP_FUNCTION() local [all …]
|
/PHP-7.3/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 30 php_stream *stream; member 33 static size_t php_gziop_read(php_stream *stream, char *buf, size_t count) in php_gziop_read() 48 static size_t php_gziop_write(php_stream *stream, const char *buf, size_t count) in php_gziop_write() 59 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek() 74 static int php_gziop_close(php_stream *stream, int close_handle) in php_gziop_close() 94 static int php_gziop_flush(php_stream *stream) in php_gziop_flush() 115 php_stream *stream = NULL, *innerstream = NULL; in php_stream_gzopen() local
|
/PHP-7.3/ext/zip/ |
H A D | zip_stream.c | 40 php_stream *stream; member 48 static size_t php_zip_ops_read(php_stream *stream, char *buf, size_t count) in php_zip_ops_read() 83 static size_t php_zip_ops_write(php_stream *stream, const char *buf, size_t count) in php_zip_ops_write() 94 static int php_zip_ops_close(php_stream *stream, int close_handle) in php_zip_ops_close() 115 static int php_zip_ops_flush(php_stream *stream) in php_zip_ops_flush() 125 static int php_zip_ops_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in php_zip_ops_stat() 218 php_stream *stream = NULL; in php_stream_zip_open() local 280 php_stream *stream = NULL; in php_stream_zip_opener() local
|
/PHP-7.3/main/ |
H A D | php_streams.h | 237 #define PHP_STREAM_CONTEXT(stream) \ argument 254 #define php_stream_auto_cleanup(stream) { (stream)->__exposed = 1; } argument 306 #define php_stream_tell(stream) _php_stream_tell((stream)) argument 324 #define php_stream_eof(stream) _php_stream_eof((stream)) argument 327 #define php_stream_getc(stream) _php_stream_getc((stream)) argument 330 #define php_stream_putc(stream, c) _php_stream_putc((stream), (c)) argument 333 #define php_stream_flush(stream) _php_stream_flush((stream), 0) argument 343 #define php_stream_puts(stream, buf) _php_stream_puts((stream), (buf)) argument 346 #define php_stream_stat(stream, ssb) _php_stream_stat((stream), (ssb)) argument 499 #define php_stream_is(stream, anops) ((stream)->ops == anops) argument [all …]
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 276 php_stream *stream; in verify_callback() local 587 php_stream *stream = (php_stream *)data; in php_openssl_passwd_callback() local 616 php_stream *stream; in php_openssl_win_cert_verify_callback() local 775 php_stream *stream; in php_openssl_load_stream_cafile() local 1093 php_stream *stream; in php_openssl_limit_handshake_reneg() local 1344 php_stream *stream; in php_openssl_server_sni_callback() local 1592 int php_openssl_setup_crypto(php_stream *stream, in php_openssl_setup_crypto() 1825 static int php_openssl_capture_peer_certs(php_stream *stream, in php_openssl_capture_peer_certs() 1872 static int php_openssl_enable_crypto(php_stream *stream, in php_openssl_enable_crypto() 2306 static int php_openssl_sockop_flush(php_stream *stream) /* {{{ */ in php_openssl_sockop_flush() [all …]
|
/PHP-7.3/ext/bz2/ |
H A D | bz2.c | 131 php_stream *stream; member 136 static size_t php_bz2iop_read(php_stream *stream, char *buf, size_t count) in php_bz2iop_read() 163 static size_t php_bz2iop_write(php_stream *stream, const char *buf, size_t count) in php_bz2iop_write() 187 static int php_bz2iop_close(php_stream *stream, int close_handle) in php_bz2iop_close() 205 static int php_bz2iop_flush(php_stream *stream) in php_bz2iop_flush() 246 php_stream *retstream = NULL, *stream = NULL; in _php_stream_bz2open() local 371 php_stream *stream; in PHP_FUNCTION() local 401 php_stream *stream = NULL; in PHP_FUNCTION() local 635 php_stream *stream; in php_bz2_error() local
|
/PHP-7.3/ext/phar/ |
H A D | dirstream.c | 43 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 D | stream.c | 350 static int phar_stream_close(php_stream *stream, int close_handle) /* {{{ */ in phar_stream_close() 364 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count) /* {{{ */ in phar_stream_read() 395 static int phar_stream_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffse… in phar_stream_seek() 439 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count) /* {{{ */ in phar_stream_write() 462 static int phar_stream_flush(php_stream *stream) /* {{{ */ in phar_stream_flush() 536 static int phar_stream_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ in phar_stream_stat()
|
/PHP-7.3/ext/gd/ |
H A D | gd_ctx.c | 47 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putc() local 53 php_stream * stream = (php_stream *)ctx->data; in _php_image_stream_putbuf() local 93 php_stream *stream; in _php_image_output_ctx() local
|