Home
last modified time | relevance | path

Searched refs:resume_from (Results 1 – 16 of 16) sorted by relevance

/curl/lib/
H A Dfile.c327 if(data->state.resume_from) in file_upload()
343 if(data->state.resume_from < 0) { in file_upload()
371 if(data->state.resume_from) { in file_upload()
373 data->state.resume_from -= nread; in file_upload()
380 data->state.resume_from = 0; in file_upload()
518 if(data->state.resume_from < 0) { in file_do()
526 if(data->state.resume_from > 0) { in file_do()
530 if(data->state.resume_from <= expected_size) in file_do()
531 expected_size -= data->state.resume_from; in file_do()
554 if(data->state.resume_from) { in file_do()
[all …]
H A Dcurl_range.c57 data->state.resume_from = from; in Curl_range()
63 data->state.resume_from = -to; in Curl_range()
79 data->state.resume_from = from; in Curl_range()
H A Dftp.c1503 if((data->state.resume_from && !sizechecked) || in ftp_state_ul_setup()
1519 if(data->state.resume_from < 0) { in ftp_state_ul_setup()
1563 } while(passed < data->state.resume_from); in ftp_state_ul_setup()
2205 if(data->state.resume_from) { in ftp_state_retr()
2218 if(data->state.resume_from < 0) { in ftp_state_retr()
2220 if(filesize < -data->state.resume_from) { in ftp_state_retr()
2223 data->state.resume_from, filesize); in ftp_state_retr()
2232 if(filesize < data->state.resume_from) { in ftp_state_retr()
2235 data->state.resume_from, filesize); in ftp_state_retr()
2257 data->state.resume_from); in ftp_state_retr()
[all …]
H A Dhttp.c1029 if(data->state.resume_from && data->state.httpreq == HTTPREQ_GET && in http_should_fail()
2026 data->state.resume_from) { in http_resume()
2036 if(data->state.resume_from < 0) { in http_resume()
2041 data->state.resume_from = 0; in http_resume()
2044 if(data->state.resume_from && !data->req.authneg) { in http_resume()
2050 data->state.resume_from); in http_resume()
2348 else if(data->state.resume_from) { in Curl_http_range()
2392 if(data->state.resume_from && !k->content_range && in Curl_http_firstwrite()
2396 if(k->size == data->state.resume_from) { in Curl_http_firstwrite()
2949 if(data->state.resume_from == k->offset) in Curl_http_header()
[all …]
H A Dsendf.h217 CURLcode (*resume_from)(struct Curl_easy *data, member
H A Dprogress.c518 if(data->state.resume_from) { in progress_meter()
521 data->state.resume_from); in progress_meter()
H A Durl.c1951 s->resume_from = data->set.set_resume_from;
1952 if(s->resume_from || data->set.str[STRING_SET_RANGE]) {
1956 if(s->resume_from)
1957 s->range = aprintf("%" FMT_OFF_T "-", s->resume_from);
H A Durldata.h1267 curl_off_t resume_from; /* continue [ftp] transfer from here */ member
H A Dsendf.c1395 return r ? r->crt->resume_from(data, r, offset) : CURLE_READ_ERROR; in Curl_creader_resume_from()
/curl/lib/vssh/
H A Dwolfssh.c567 if(data->state.resume_from) { in wssh_statemach_act()
569 if(data->state.resume_from < 0) { in wssh_statemach_act()
576 data->state.resume_from = 0; in wssh_statemach_act()
584 data->state.resume_from = size; in wssh_statemach_act()
592 else if(data->state.resume_from > 0) in wssh_statemach_act()
628 if(data->state.resume_from > 0) { in wssh_statemach_act()
649 (data->state.resume_from - passed > in wssh_statemach_act()
667 } while(passed < data->state.resume_from); in wssh_statemach_act()
672 data->state.infilesize -= data->state.resume_from; in wssh_statemach_act()
677 sshc->offset += data->state.resume_from; in wssh_statemach_act()
[all …]
H A Dlibssh.c1236 if(data->state.resume_from) { in myssh_statemach_act()
1239 if(data->state.resume_from < 0) { in myssh_statemach_act()
1248 data->state.resume_from = attrs->size; in myssh_statemach_act()
1253 data->state.resume_from = 0; in myssh_statemach_act()
1261 else if(data->state.resume_from > 0) in myssh_statemach_act()
1294 if(data->state.resume_from > 0) { in myssh_statemach_act()
1314 (data->state.resume_from - passed > in myssh_statemach_act()
1685 if(data->state.resume_from) { in myssh_statemach_act()
1686 if(data->state.resume_from < 0) { in myssh_statemach_act()
1694 data->state.resume_from += size; in myssh_statemach_act()
[all …]
H A Dlibssh2.c1123 if(data->state.resume_from) { in sftp_upload_init()
1125 if(data->state.resume_from < 0) { in sftp_upload_init()
1134 data->state.resume_from = 0; in sftp_upload_init()
1142 data->state.resume_from = attrs.filesize; in sftp_upload_init()
1150 else if(data->state.resume_from > 0) in sftp_upload_init()
1216 if(data->state.resume_from > 0) { in sftp_upload_init()
1237 (data->state.resume_from - passed > in sftp_upload_init()
1255 } while(passed < data->state.resume_from); in sftp_upload_init()
1574 if(data->state.resume_from) { in sftp_download_stat()
1575 if(data->state.resume_from < 0) { in sftp_download_stat()
[all …]
/curl/src/
H A Dtool_cb_prg.c243 bar->initial_size = config->resume_from; in progressbarinit()
H A Dtool_cfgable.h69 curl_off_t resume_from; member
H A Dtool_operate.c1036 if(config->resume_from) { in config2setopts()
1051 if(config->resume_from) { in config2setopts()
1144 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in config2setopts()
2202 config->resume_from = fileinfo.st_size; in single_transfer()
2205 config->resume_from = 0; in single_transfer()
2208 if(config->resume_from) { in single_transfer()
2225 outs->init = config->resume_from; in single_transfer()
2281 config->resume_from = -1; /* -1 will then force get-it-yourself */ in single_transfer()
H A Dtool_getparam.c1850 err = str2offset(&config->resume_from, nextarg); in getparameter()
1855 config->resume_from = 0; in getparameter()

Completed in 85 milliseconds