Lines Matching refs:outstream

954 	php_stream	*outstream;  in PHP_FUNCTION()  local
978outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
979 if (outstream == NULL) { in PHP_FUNCTION()
980outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
982 if (outstream != NULL) { in PHP_FUNCTION()
985 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
986 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
988 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
992outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
995 if (outstream == NULL) { in PHP_FUNCTION()
1000 if (!ftp_get(ftp, outstream, remote, remote_len, xtype, resumepos)) { in PHP_FUNCTION()
1001 php_stream_close(outstream); in PHP_FUNCTION()
1007 php_stream_close(outstream); in PHP_FUNCTION()
1019 php_stream *outstream; in PHP_FUNCTION() local
1042outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt+" : "rb+", REPORT_ERRORS, N… in PHP_FUNCTION()
1043 if (outstream == NULL) { in PHP_FUNCTION()
1044outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1046 if (outstream != NULL) { in PHP_FUNCTION()
1049 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1050 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
1052 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1056outstream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "wt" : "wb", REPORT_ERRORS, NUL… in PHP_FUNCTION()
1059 if (outstream == NULL) { in PHP_FUNCTION()
1068 if ((ret = ftp_nb_get(ftp, outstream, remote, remote_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
1069 php_stream_close(outstream); in PHP_FUNCTION()
1077 php_stream_close(outstream); in PHP_FUNCTION()