Lines Matching refs:attrs
1700 LIBSSH2_SFTP_ATTRIBUTES attrs;
1704 LIBSSH2_SFTP_STAT, &attrs);
1709 data->info.filetime = (long)attrs.mtime;
1738 LIBSSH2_SFTP_ATTRIBUTES attrs;
1742 LIBSSH2_SFTP_STAT, &attrs);
1750 curl_off_t size = attrs.filesize;
1755 data->state.resume_from = attrs.filesize;
2207 LIBSSH2_SFTP_ATTRIBUTES attrs;
2211 LIBSSH2_SFTP_STAT, &attrs);
2216 !(attrs.flags & LIBSSH2_SFTP_ATTR_SIZE) ||
2217 (attrs.filesize == 0)) {
2229 curl_off_t size = attrs.filesize;
2255 CURL_FORMAT_CURL_OFF_T ")", from, attrs.filesize);
2277 if((curl_off_t)attrs.filesize < -data->state.resume_from) {
2281 data->state.resume_from, attrs.filesize);
2285 data->state.resume_from += attrs.filesize;
2288 if((curl_off_t)attrs.filesize < data->state.resume_from) {
2291 data->state.resume_from, attrs.filesize);
2297 data->req.size = attrs.filesize - data->state.resume_from;
2298 data->req.maxdownload = attrs.filesize - data->state.resume_from;
2300 attrs.filesize - data->state.resume_from);