Lines Matching refs:stream

591 	php_stream	*stream;  in PHP_FUNCTION()  local
600 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
611 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
612 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
614 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
618 if (!ftp_get(ftp, stream, file, file_len, xtype, resumepos)) { in PHP_FUNCTION()
635 php_stream *stream; in PHP_FUNCTION() local
644 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
655 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
656 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
658 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
666 if ((ret = ftp_nb_get(ftp, stream, file, file_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
814 ftp->stream = NULL; in PHP_FUNCTION()
824 ftp->stream = NULL; in PHP_FUNCTION()
855 php_stream_close(ftp->stream); in PHP_FUNCTION()
856 ftp->stream = NULL; in PHP_FUNCTION()
875 php_stream *stream; in PHP_FUNCTION() local
882 php_stream_from_zval(stream, z_file); in PHP_FUNCTION()
899 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
903 if (!ftp_put(ftp, remote, remote_len, stream, xtype, startpos)) { in PHP_FUNCTION()
923 php_stream *stream; in PHP_FUNCTION() local
930 php_stream_from_res(stream, Z_RES_P(z_file)); in PHP_FUNCTION()
947 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
955 if (((ret = ftp_nb_put(ftp, remote, remote_len, stream, xtype, startpos)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1100 ftp->stream = NULL; in PHP_FUNCTION()