Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dfile.c316 if(data->state.resume_from) in file_upload()
332 if(data->state.resume_from < 0) { in file_upload()
338 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload()
355 if(data->state.resume_from) { in file_upload()
356 if((curl_off_t)nread <= data->state.resume_from) { in file_upload()
357 data->state.resume_from -= nread; in file_upload()
362 buf2 = buf + data->state.resume_from; in file_upload()
363 nread -= (size_t)data->state.resume_from; in file_upload()
364 data->state.resume_from = 0; in file_upload()
502 if(data->state.resume_from < 0) { in file_do()
[all …]
Dcurl_range.c57 data->state.resume_from = from; in Curl_range()
64 data->state.resume_from = -to; in Curl_range()
81 data->state.resume_from = from; in Curl_range()
Dftp.c1549 if((data->state.resume_from && !sizechecked) || in ftp_state_ul_setup()
1550 ((data->state.resume_from > 0) && sizechecked)) { in ftp_state_ul_setup()
1565 if(data->state.resume_from < 0) { in ftp_state_ul_setup()
1579 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ftp_state_ul_setup()
1593 (data->state.resume_from - passed > data->set.buffer_size) ? in ftp_state_ul_setup()
1595 curlx_sotouz(data->state.resume_from - passed); in ftp_state_ul_setup()
1608 } while(passed < data->state.resume_from); in ftp_state_ul_setup()
1612 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup()
2246 if(data->state.resume_from) { in ftp_state_retr()
2259 if(data->state.resume_from< 0) { in ftp_state_retr()
[all …]
Dhttp.c1191 if(data->state.resume_from && data->state.httpreq == HTTPREQ_GET && in http_should_fail()
2954 else if(data->state.resume_from) { in Curl_http_range()
2957 data->state.resume_from + data->state.infilesize; in Curl_http_range()
2983 data->state.resume_from) { in Curl_http_resume()
2993 if(data->state.resume_from < 0) { in Curl_http_resume()
2998 data->state.resume_from = 0; in Curl_http_resume()
3001 if(data->state.resume_from && !data->state.followlocation) { in Curl_http_resume()
3009 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in Curl_http_resume()
3024 (data->state.resume_from - passed > data->set.buffer_size) ? in Curl_http_resume()
3026 curlx_sotouz(data->state.resume_from - passed); in Curl_http_resume()
[all …]
Dprogress.c491 if(data->state.resume_from) { in progress_meter()
494 CURL_FORMAT_CURL_OFF_T "\n", data->state.resume_from); in progress_meter()
Durl.c1967 s->resume_from = data->set.set_resume_from;
1968 if(s->resume_from || data->set.str[STRING_SET_RANGE]) {
1972 if(s->resume_from)
1973 s->range = aprintf("%" CURL_FORMAT_CURL_OFF_T "-", s->resume_from);
Durldata.h1386 curl_off_t resume_from; /* continue [ftp] transfer from here */ member
/third_party/curl/lib/vssh/
Dwolfssh.c572 if(data->state.resume_from) { in wssh_statemach_act()
574 if(data->state.resume_from < 0) { in wssh_statemach_act()
581 data->state.resume_from = 0; in wssh_statemach_act()
589 data->state.resume_from = size; in wssh_statemach_act()
597 else if(data->state.resume_from > 0) in wssh_statemach_act()
633 if(data->state.resume_from > 0) { in wssh_statemach_act()
638 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in wssh_statemach_act()
653 (data->state.resume_from - passed > data->set.buffer_size) ? in wssh_statemach_act()
655 curlx_sotouz(data->state.resume_from - passed); in wssh_statemach_act()
671 } while(passed < data->state.resume_from); in wssh_statemach_act()
[all …]
Dlibssh.c1234 if(data->state.resume_from) { in myssh_statemach_act()
1237 if(data->state.resume_from < 0) { in myssh_statemach_act()
1246 data->state.resume_from = attrs->size; in myssh_statemach_act()
1251 data->state.resume_from = 0; in myssh_statemach_act()
1259 else if(data->state.resume_from > 0) in myssh_statemach_act()
1292 if(data->state.resume_from > 0) { in myssh_statemach_act()
1296 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in myssh_statemach_act()
1311 (data->state.resume_from - passed > data->set.buffer_size) ? in myssh_statemach_act()
1313 curlx_sotouz(data->state.resume_from - passed); in myssh_statemach_act()
1327 } while(passed < data->state.resume_from); in myssh_statemach_act()
[all …]
Dlibssh2.c2047 if(data->state.resume_from) { in ssh_statemach_act()
2049 if(data->state.resume_from < 0) { in ssh_statemach_act()
2057 data->state.resume_from = 0; in ssh_statemach_act()
2065 data->state.resume_from = attrs.filesize; in ssh_statemach_act()
2073 else if(data->state.resume_from > 0) in ssh_statemach_act()
2137 if(data->state.resume_from > 0) { in ssh_statemach_act()
2141 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ssh_statemach_act()
2156 (data->state.resume_from - passed > data->set.buffer_size) ? in ssh_statemach_act()
2158 curlx_sotouz(data->state.resume_from - passed); in ssh_statemach_act()
2174 } while(passed < data->state.resume_from); in ssh_statemach_act()
[all …]
/third_party/curl/src/
Dtool_operate.c1335 config->resume_from = fileinfo.st_size; in single_transfer()
1338 config->resume_from = 0; in single_transfer()
1341 if(config->resume_from) { in single_transfer()
1358 outs->init = config->resume_from; in single_transfer()
1414 config->resume_from = -1; /* -1 will then force get-it-yourself */ in single_transfer()
1620 if(config->resume_from) { in single_transfer()
1635 if(config->resume_from) { in single_transfer()
1728 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in single_transfer()
Dtool_cfgable.h69 curl_off_t resume_from; member
Dtool_cb_prg.c229 bar->initial_size = config->resume_from; in progressbarinit()
Dtool_getparam.c1698 err = str2offset(&config->resume_from, nextarg); in getparameter()
1705 config->resume_from = 0; in getparameter()