Lines Matching refs:outstream

976 	php_stream	*outstream;  in PHP_FUNCTION()  local
1000outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1001 if (outstream == NULL) { in PHP_FUNCTION()
1002outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1004 if (outstream != NULL) { in PHP_FUNCTION()
1007 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1008 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
1010 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1014outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1017 if (outstream == NULL) { in PHP_FUNCTION()
1022 if (!ftp_get(ftp, outstream, remote, remote_len, xtype, resumepos)) { in PHP_FUNCTION()
1023 php_stream_close(outstream); in PHP_FUNCTION()
1031 php_stream_close(outstream); in PHP_FUNCTION()
1043 php_stream *outstream; in PHP_FUNCTION() local
1066outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1067 if (outstream == NULL) { in PHP_FUNCTION()
1068outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1070 if (outstream != NULL) { in PHP_FUNCTION()
1073 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1074 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
1076 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1080outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1083 if (outstream == NULL) { in PHP_FUNCTION()
1092 if ((ret = ftp_nb_get(ftp, outstream, remote, remote_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
1093 php_stream_close(outstream); in PHP_FUNCTION()
1103 php_stream_close(outstream); in PHP_FUNCTION()