Lines Matching refs:startpos

884 	zend_long		mode=FTPTYPE_IMAGE, startpos=0;  in PHP_FUNCTION()  local
888 …s(ZEND_NUM_ARGS(), "rsr|ll", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
899 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
900 startpos = 0; in PHP_FUNCTION()
903 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
905 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
906 startpos = ftp_size(ftp, remote, remote_len); in PHP_FUNCTION()
907 if (startpos < 0) { in PHP_FUNCTION()
908 startpos = 0; in PHP_FUNCTION()
911 if (startpos) { in PHP_FUNCTION()
912 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
916 if (!ftp_put(ftp, remote, remote_len, stream, xtype, startpos)) { in PHP_FUNCTION()
935 zend_long mode=FTPTYPE_IMAGE, startpos=0; in PHP_FUNCTION() local
939 …s(ZEND_NUM_ARGS(), "rsr|ll", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
950 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
951 startpos = 0; in PHP_FUNCTION()
954 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
956 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
957 startpos = ftp_size(ftp, remote, remote_len); in PHP_FUNCTION()
958 if (startpos < 0) { in PHP_FUNCTION()
959 startpos = 0; in PHP_FUNCTION()
962 if (startpos) { in PHP_FUNCTION()
963 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
971 if (((ret = ftp_nb_put(ftp, remote, remote_len, stream, xtype, startpos)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
991 zend_long mode=FTPTYPE_IMAGE, startpos=0; in PHP_FUNCTION() local
994 …ARGS(), "rpp|ll", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1008 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1009 startpos = 0; in PHP_FUNCTION()
1012 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1014 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1015 startpos = ftp_size(ftp, remote, remote_len); in PHP_FUNCTION()
1016 if (startpos < 0) { in PHP_FUNCTION()
1017 startpos = 0; in PHP_FUNCTION()
1020 if (startpos) { in PHP_FUNCTION()
1021 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1025 if (!ftp_put(ftp, remote, remote_len, instream, xtype, startpos)) { in PHP_FUNCTION()
1083 zend_long mode=FTPTYPE_IMAGE, startpos=0, ret; in PHP_FUNCTION() local
1086 …ARGS(), "rpp|ll", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1100 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1101 startpos = 0; in PHP_FUNCTION()
1104 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1106 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1107 startpos = ftp_size(ftp, remote, remote_len); in PHP_FUNCTION()
1108 if (startpos < 0) { in PHP_FUNCTION()
1109 startpos = 0; in PHP_FUNCTION()
1112 if (startpos) { in PHP_FUNCTION()
1113 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1121 ret = ftp_nb_put(ftp, remote, remote_len, instream, xtype, startpos); in PHP_FUNCTION()