Lines Matching refs:outstream

907 	php_stream	*outstream;  in PHP_FUNCTION()  local
931outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
932 if (outstream == NULL) { in PHP_FUNCTION()
933outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
935 if (outstream != NULL) { in PHP_FUNCTION()
938 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
939 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
941 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
945outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
948 if (outstream == NULL) { in PHP_FUNCTION()
953 if (!ftp_get(ftp, outstream, remote, xtype, resumepos)) { in PHP_FUNCTION()
954 php_stream_close(outstream); in PHP_FUNCTION()
960 php_stream_close(outstream); in PHP_FUNCTION()
972 php_stream *outstream; in PHP_FUNCTION() local
995outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
996 if (outstream == NULL) { in PHP_FUNCTION()
997outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
999 if (outstream != NULL) { in PHP_FUNCTION()
1002 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1003 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
1005 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1009outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1012 if (outstream == NULL) { in PHP_FUNCTION()
1021 if ((ret = ftp_nb_get(ftp, outstream, remote, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
1022 php_stream_close(outstream); in PHP_FUNCTION()
1030 php_stream_close(outstream); in PHP_FUNCTION()