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)
1086 zend_long mode, startpos=0; in PHP_FUNCTION() local
1090 …s(ZEND_NUM_ARGS(), "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1101 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1102 startpos = 0; in PHP_FUNCTION()
1105 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1107 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1108 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1109 if (startpos < 0) { in PHP_FUNCTION()
1110 startpos = 0; in PHP_FUNCTION()
1113 if (startpos) { in PHP_FUNCTION()
1114 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1118 if (!ftp_put(ftp, remote, stream, xtype, startpos)) { in PHP_FUNCTION()
1136 zend_long mode, startpos=0; in PHP_FUNCTION() local
1140 …s(ZEND_NUM_ARGS(), "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1151 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1152 startpos = 0; in PHP_FUNCTION()
1155 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1157 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1158 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1159 if (startpos < 0) { in PHP_FUNCTION()
1160 startpos = 0; in PHP_FUNCTION()
1163 if (startpos) { in PHP_FUNCTION()
1164 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1172 if (((ret = ftp_nb_put(ftp, remote, stream, xtype, startpos)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1191 zend_long mode, startpos=0; in PHP_FUNCTION() local
1194 …ARGS(), "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1208 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1209 startpos = 0; in PHP_FUNCTION()
1212 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1214 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1215 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1216 if (startpos < 0) { in PHP_FUNCTION()
1217 startpos = 0; in PHP_FUNCTION()
1220 if (startpos) { in PHP_FUNCTION()
1221 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1225 if (!ftp_put(ftp, remote, instream, xtype, startpos)) { in PHP_FUNCTION()
1246 zend_long mode, startpos=0, ret; in PHP_FUNCTION() local
1249 …ARGS(), "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1263 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1264 startpos = 0; in PHP_FUNCTION()
1267 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1269 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1270 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1271 if (startpos < 0) { in PHP_FUNCTION()
1272 startpos = 0; in PHP_FUNCTION()
1275 if (startpos) { in PHP_FUNCTION()
1276 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1284 ret = ftp_nb_put(ftp, remote, instream, xtype, startpos); in PHP_FUNCTION()