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)
1024 long mode, startpos=0; in PHP_FUNCTION() local
1028 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1037 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1038 startpos = 0; in PHP_FUNCTION()
1041 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1043 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1044 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1045 if (startpos < 0) { in PHP_FUNCTION()
1046 startpos = 0; in PHP_FUNCTION()
1049 if (startpos) { in PHP_FUNCTION()
1050 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1054 if (!ftp_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1071 long mode, startpos=0; in PHP_FUNCTION() local
1075 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1084 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1085 startpos = 0; in PHP_FUNCTION()
1088 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1090 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1091 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1092 if (startpos < 0) { in PHP_FUNCTION()
1093 startpos = 0; in PHP_FUNCTION()
1096 if (startpos) { in PHP_FUNCTION()
1097 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1105 if (((ret = ftp_nb_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1124 long mode, startpos=0; in PHP_FUNCTION() local
1127 …MLS_CC, "rssl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1139 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1140 startpos = 0; in PHP_FUNCTION()
1143 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1145 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1146 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1147 if (startpos < 0) { in PHP_FUNCTION()
1148 startpos = 0; in PHP_FUNCTION()
1151 if (startpos) { in PHP_FUNCTION()
1152 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1156 if (!ftp_put(ftp, remote, instream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1177 long mode, startpos=0; in PHP_FUNCTION() local
1180 …MLS_CC, "rssl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1192 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1193 startpos = 0; in PHP_FUNCTION()
1196 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1198 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1199 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1200 if (startpos < 0) { in PHP_FUNCTION()
1201 startpos = 0; in PHP_FUNCTION()
1204 if (startpos) { in PHP_FUNCTION()
1205 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1213 ret = ftp_nb_put(ftp, remote, instream, xtype, startpos TSRMLS_CC); in PHP_FUNCTION()