Lines Matching refs:attrs
1124 LIBSSH2_SFTP_ATTRIBUTES attrs; in sftp_upload_init() local
1128 LIBSSH2_SFTP_STAT, &attrs); in sftp_upload_init()
1137 curl_off_t size = attrs.filesize; in sftp_upload_init()
1142 data->state.resume_from = attrs.filesize; in sftp_upload_init()
1499 LIBSSH2_SFTP_ATTRIBUTES attrs; in sftp_download_stat() local
1502 LIBSSH2_SFTP_STAT, &attrs); in sftp_download_stat()
1508 !(attrs.flags & LIBSSH2_SFTP_ATTR_SIZE) || in sftp_download_stat()
1509 (attrs.filesize == 0)) { in sftp_download_stat()
1521 curl_off_t size = attrs.filesize; in sftp_download_stat()
1553 FMT_OFF_T ")", from, (curl_off_t)attrs.filesize); in sftp_download_stat()
1577 if((curl_off_t)attrs.filesize < -data->state.resume_from) { in sftp_download_stat()
1580 data->state.resume_from, (curl_off_t)attrs.filesize); in sftp_download_stat()
1584 data->state.resume_from += attrs.filesize; in sftp_download_stat()
1587 if((curl_off_t)attrs.filesize < data->state.resume_from) { in sftp_download_stat()
1590 data->state.resume_from, (curl_off_t)attrs.filesize); in sftp_download_stat()
1595 data->req.size = attrs.filesize - data->state.resume_from; in sftp_download_stat()
1596 data->req.maxdownload = attrs.filesize - data->state.resume_from; in sftp_download_stat()
1598 attrs.filesize - data->state.resume_from); in sftp_download_stat()
2366 LIBSSH2_SFTP_ATTRIBUTES attrs; in ssh_statemachine() local
2370 LIBSSH2_SFTP_STAT, &attrs); in ssh_statemachine()
2375 data->info.filetime = (time_t)attrs.mtime; in ssh_statemachine()