Lines Matching refs:stream

572 	php_stream	*stream;  in PHP_FUNCTION()  local
581 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
592 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
593 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
595 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
599 if (!ftp_get(ftp, stream, file, file_len, xtype, resumepos)) { in PHP_FUNCTION()
616 php_stream *stream; in PHP_FUNCTION() local
625 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
636 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
637 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
639 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
647 if ((ret = ftp_nb_get(ftp, stream, file, file_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
795 ftp->stream = NULL; in PHP_FUNCTION()
805 ftp->stream = NULL; in PHP_FUNCTION()
836 php_stream_close(ftp->stream); in PHP_FUNCTION()
837 ftp->stream = NULL; in PHP_FUNCTION()
856 php_stream *stream; in PHP_FUNCTION() local
863 php_stream_from_zval(stream, z_file); in PHP_FUNCTION()
880 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
884 if (!ftp_put(ftp, remote, remote_len, stream, xtype, startpos)) { in PHP_FUNCTION()
904 php_stream *stream; in PHP_FUNCTION() local
911 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
928 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
936 if (((ret = ftp_nb_put(ftp, remote, remote_len, stream, xtype, startpos)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1081 ftp->stream = NULL; in PHP_FUNCTION()