Lines Matching refs:startpos

174 	ZEND_ARG_INFO(0, startpos)
182 ZEND_ARG_INFO(0, startpos)
190 ZEND_ARG_INFO(0, startpos)
198 ZEND_ARG_INFO(0, startpos)
1030 long mode, startpos=0; in PHP_FUNCTION() local
1034 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1043 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1044 startpos = 0; in PHP_FUNCTION()
1047 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1049 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1050 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1051 if (startpos < 0) { in PHP_FUNCTION()
1052 startpos = 0; in PHP_FUNCTION()
1055 if (startpos) { in PHP_FUNCTION()
1056 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1060 if (!ftp_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1077 long mode, startpos=0; in PHP_FUNCTION() local
1081 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1090 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1091 startpos = 0; in PHP_FUNCTION()
1094 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1096 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1097 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1098 if (startpos < 0) { in PHP_FUNCTION()
1099 startpos = 0; in PHP_FUNCTION()
1102 if (startpos) { in PHP_FUNCTION()
1103 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1111 if (((ret = ftp_nb_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1130 long mode, startpos=0; in PHP_FUNCTION() local
1133 …MLS_CC, "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1145 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1146 startpos = 0; in PHP_FUNCTION()
1149 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1151 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1152 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1153 if (startpos < 0) { in PHP_FUNCTION()
1154 startpos = 0; in PHP_FUNCTION()
1157 if (startpos) { in PHP_FUNCTION()
1158 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1162 if (!ftp_put(ftp, remote, instream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1183 long mode, startpos=0, ret; in PHP_FUNCTION() local
1186 …MLS_CC, "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1198 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1199 startpos = 0; in PHP_FUNCTION()
1202 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1204 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1205 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1206 if (startpos < 0) { in PHP_FUNCTION()
1207 startpos = 0; in PHP_FUNCTION()
1210 if (startpos) { in PHP_FUNCTION()
1211 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1219 ret = ftp_nb_put(ftp, remote, instream, xtype, startpos TSRMLS_CC); in PHP_FUNCTION()