Lines Matching refs:outstream

858 	php_stream	*outstream;  in PHP_FUNCTION()  local
880outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
881 if (outstream == NULL) { in PHP_FUNCTION()
882outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
884 if (outstream != NULL) { in PHP_FUNCTION()
887 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
888 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
890 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
894outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
897 if (outstream == NULL) { in PHP_FUNCTION()
902 if (!ftp_get(ftp, outstream, remote, xtype, resumepos TSRMLS_CC)) { in PHP_FUNCTION()
903 php_stream_close(outstream); in PHP_FUNCTION()
909 php_stream_close(outstream); in PHP_FUNCTION()
921 php_stream *outstream; in PHP_FUNCTION() local
941outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
942 if (outstream == NULL) { in PHP_FUNCTION()
943outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
945 if (outstream != NULL) { in PHP_FUNCTION()
948 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
949 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
951 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
955outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
958 if (outstream == NULL) { in PHP_FUNCTION()
967 if ((ret = ftp_nb_get(ftp, outstream, remote, xtype, resumepos TSRMLS_CC)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
968 php_stream_close(outstream); in PHP_FUNCTION()
976 php_stream_close(outstream); in PHP_FUNCTION()