Lines Matching refs:resumepos

586 	zend_long		mode=FTPTYPE_IMAGE, resumepos=0;  in PHP_FUNCTION()  local
588 …ters(ZEND_NUM_ARGS(), "rrs|ll", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { in PHP_FUNCTION()
599 if (!ftp->autoseek && resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
600 resumepos = 0; in PHP_FUNCTION()
603 if (ftp->autoseek && resumepos) { in PHP_FUNCTION()
605 if (resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
607 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
609 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
613 if (!ftp_get(ftp, stream, file, file_len, xtype, resumepos)) { in PHP_FUNCTION()
633 zend_long mode=FTPTYPE_IMAGE, resumepos=0, ret; in PHP_FUNCTION() local
635 …ters(ZEND_NUM_ARGS(), "rrs|ll", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) { in PHP_FUNCTION()
646 if (!ftp->autoseek && resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
647 resumepos = 0; in PHP_FUNCTION()
650 if (ftp->autoseek && resumepos) { in PHP_FUNCTION()
652 if (resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
654 resumepos = php_stream_tell(stream); in PHP_FUNCTION()
656 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
664 if ((ret = ftp_nb_get(ftp, stream, file, file_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()
707 zend_long mode=FTPTYPE_IMAGE, resumepos=0; in PHP_FUNCTION() local
709 …RGS(), "rpp|ll", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAILURE) { in PHP_FUNCTION()
719 if (!ftp->autoseek && resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
720 resumepos = 0; in PHP_FUNCTION()
727 if (ftp->autoseek && resumepos) { in PHP_FUNCTION()
734 if (resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
736 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
738 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
750 if (!ftp_get(ftp, outstream, remote, remote_len, xtype, resumepos)) { in PHP_FUNCTION()
774 zend_long mode=FTPTYPE_IMAGE, resumepos=0; in PHP_FUNCTION() local
776 …RGS(), "rss|ll", &z_ftp, &local, &local_len, &remote, &remote_len, &mode, &resumepos) == FAILURE) { in PHP_FUNCTION()
786 if (!ftp->autoseek && resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
787 resumepos = 0; in PHP_FUNCTION()
792 if (ftp->autoseek && resumepos) { in PHP_FUNCTION()
799 if (resumepos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
801 resumepos = php_stream_tell(outstream); in PHP_FUNCTION()
803 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
819 if ((ret = ftp_nb_get(ftp, outstream, remote, remote_len, xtype, resumepos)) == PHP_FTP_FAILED) { in PHP_FUNCTION()