Lines Matching refs:datastream
71 php_stream *datastream; member
406 php_stream *stream = NULL, *datastream = NULL; in php_stream_url_wrap_ftp() local
548 …datastream = php_stream_xport_create(transport, transport_len, REPORT_ERRORS, STREAM_XPORT_CLIENT … in php_stream_url_wrap_ftp()
550 if (datastream == NULL) { in php_stream_url_wrap_ftp()
560 php_stream_close(datastream); in php_stream_url_wrap_ftp()
561 datastream = NULL; in php_stream_url_wrap_ftp()
565 php_stream_context_set(datastream, context); in php_stream_url_wrap_ftp()
568 if (use_ssl_on_data && (php_stream_xport_crypto_setup(datastream, in php_stream_url_wrap_ftp()
570 php_stream_xport_crypto_enable(datastream, 1) < 0)) { in php_stream_url_wrap_ftp()
573 php_stream_close(datastream); in php_stream_url_wrap_ftp()
574 datastream = NULL; in php_stream_url_wrap_ftp()
580 datastream->wrapperthis = stream; in php_stream_url_wrap_ftp()
583 return datastream; in php_stream_url_wrap_ftp()
612 innerstream = ((php_ftp_dirstream_data *)stream->abstract)->datastream; in php_ftp_dirstream_read()
656 php_stream_close(data->datastream); in php_ftp_dirstream_close()
657 data->datastream = NULL; in php_ftp_dirstream_close()
684 php_stream *stream, *reuseid, *datastream = NULL; in php_stream_ftp_opendir() local
720 datastream = php_stream_sock_open_host(hoststart, portno, SOCK_STREAM, 0, 0); in php_stream_ftp_opendir()
721 if (datastream == NULL) { in php_stream_ftp_opendir()
732 php_stream_close(datastream); in php_stream_ftp_opendir()
733 datastream = NULL; in php_stream_ftp_opendir()
737 php_stream_context_set(datastream, context); in php_stream_ftp_opendir()
738 if (use_ssl_on_data && (php_stream_xport_crypto_setup(datastream, in php_stream_ftp_opendir()
740 php_stream_xport_crypto_enable(datastream, 1) < 0)) { in php_stream_ftp_opendir()
743 php_stream_close(datastream); in php_stream_ftp_opendir()
744 datastream = NULL; in php_stream_ftp_opendir()
751 dirsdata->datastream = datastream; in php_stream_ftp_opendir()