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)
1027 long mode, startpos=0; in PHP_FUNCTION() local
1031 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1040 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1041 startpos = 0; in PHP_FUNCTION()
1044 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1046 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1047 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1048 if (startpos < 0) { in PHP_FUNCTION()
1049 startpos = 0; in PHP_FUNCTION()
1052 if (startpos) { in PHP_FUNCTION()
1053 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1057 if (!ftp_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1074 long mode, startpos=0; in PHP_FUNCTION() local
1078 …_ARGS() TSRMLS_CC, "rsrl|l", &z_ftp, &remote, &remote_len, &z_file, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1087 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1088 startpos = 0; in PHP_FUNCTION()
1091 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1093 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1094 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1095 if (startpos < 0) { in PHP_FUNCTION()
1096 startpos = 0; in PHP_FUNCTION()
1099 if (startpos) { in PHP_FUNCTION()
1100 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1108 if (((ret = ftp_nb_put(ftp, remote, stream, xtype, startpos TSRMLS_CC)) == PHP_FTP_FAILED)) { in PHP_FUNCTION()
1127 long mode, startpos=0; in PHP_FUNCTION() local
1130 …MLS_CC, "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1142 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1143 startpos = 0; in PHP_FUNCTION()
1146 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1148 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1149 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1150 if (startpos < 0) { in PHP_FUNCTION()
1151 startpos = 0; in PHP_FUNCTION()
1154 if (startpos) { in PHP_FUNCTION()
1155 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1159 if (!ftp_put(ftp, remote, instream, xtype, startpos TSRMLS_CC)) { in PHP_FUNCTION()
1180 long mode, startpos=0, ret; in PHP_FUNCTION() local
1183 …MLS_CC, "rppl|l", &z_ftp, &remote, &remote_len, &local, &local_len, &mode, &startpos) == FAILURE) { in PHP_FUNCTION()
1195 if (!ftp->autoseek && startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1196 startpos = 0; in PHP_FUNCTION()
1199 if (ftp->autoseek && startpos) { in PHP_FUNCTION()
1201 if (startpos == PHP_FTP_AUTORESUME) { in PHP_FUNCTION()
1202 startpos = ftp_size(ftp, remote); in PHP_FUNCTION()
1203 if (startpos < 0) { in PHP_FUNCTION()
1204 startpos = 0; in PHP_FUNCTION()
1207 if (startpos) { in PHP_FUNCTION()
1208 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1216 ret = ftp_nb_put(ftp, remote, instream, xtype, startpos TSRMLS_CC); in PHP_FUNCTION()