Searched refs:resume_from (Results 1 – 15 of 15) sorted by relevance
/external/curl/lib/ |
D | file.c | 281 if(data->state.resume_from) in file_upload() 297 if(data->state.resume_from < 0) { in file_upload() 303 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload() 320 if(data->state.resume_from) { in file_upload() 321 if((curl_off_t)nread <= data->state.resume_from) { in file_upload() 322 data->state.resume_from -= nread; in file_upload() 327 buf2 = buf + data->state.resume_from; in file_upload() 328 nread -= (size_t)data->state.resume_from; in file_upload() 329 data->state.resume_from = 0; in file_upload() 464 if(data->state.resume_from < 0) { in file_do() [all …]
|
D | curl_range.c | 56 data->state.resume_from = from; in Curl_range() 63 data->state.resume_from = -to; in Curl_range() 80 data->state.resume_from = from; in Curl_range()
|
D | ftp.c | 1563 if((data->state.resume_from && !sizechecked) || in ftp_state_ul_setup() 1564 ((data->state.resume_from > 0) && sizechecked)) { in ftp_state_ul_setup() 1579 if(data->state.resume_from < 0) { in ftp_state_ul_setup() 1593 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ftp_state_ul_setup() 1607 (data->state.resume_from - passed > data->set.buffer_size) ? in ftp_state_ul_setup() 1609 curlx_sotouz(data->state.resume_from - passed); in ftp_state_ul_setup() 1622 } while(passed < data->state.resume_from); in ftp_state_ul_setup() 1626 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup() 2176 if(data->state.resume_from) { in ftp_state_retr() 2189 if(data->state.resume_from< 0) { in ftp_state_retr() [all …]
|
D | http.c | 2360 data->state.resume_from) { in Curl_http() 2370 if(data->state.resume_from < 0) { in Curl_http() 2375 data->state.resume_from = 0; in Curl_http() 2378 if(data->state.resume_from && !data->state.this_is_a_follow) { in Curl_http() 2386 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in Curl_http() 2401 (data->state.resume_from - passed > data->set.buffer_size) ? in Curl_http() 2403 curlx_sotouz(data->state.resume_from - passed); in Curl_http() 2417 } while(passed < data->state.resume_from); in Curl_http() 2422 data->state.infilesize -= data->state.resume_from; in Curl_http() 2461 else if(data->state.resume_from) { in Curl_http() [all …]
|
D | progress.c | 489 if(data->state.resume_from) { in progress_meter() 492 CURL_FORMAT_CURL_OFF_T "\n", data->state.resume_from); in progress_meter()
|
D | transfer.c | 725 if(data->state.resume_from && !k->content_range && in readwrite_data() 729 if(k->size == data->state.resume_from) { in readwrite_data()
|
D | url.c | 2017 s->resume_from = data->set.set_resume_from; 2018 if(s->resume_from || data->set.str[STRING_SET_RANGE]) { 2022 if(s->resume_from) 2023 s->range = aprintf("%" CURL_FORMAT_CURL_OFF_T "-", s->resume_from);
|
D | urldata.h | 1361 curl_off_t resume_from; /* continue [ftp] transfer from here */ member
|
/external/curl/lib/vssh/ |
D | wolfssh.c | 557 if(data->state.resume_from) { in wssh_statemach_act() 559 if(data->state.resume_from < 0) { in wssh_statemach_act() 566 data->state.resume_from = 0; in wssh_statemach_act() 574 data->state.resume_from = size; in wssh_statemach_act() 582 else if(data->state.resume_from > 0) in wssh_statemach_act() 618 if(data->state.resume_from > 0) { in wssh_statemach_act() 623 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in wssh_statemach_act() 638 (data->state.resume_from - passed > data->set.buffer_size) ? in wssh_statemach_act() 640 curlx_sotouz(data->state.resume_from - passed); in wssh_statemach_act() 656 } while(passed < data->state.resume_from); in wssh_statemach_act() [all …]
|
D | libssh.c | 1203 if(data->state.resume_from != 0) { in myssh_statemach_act() 1206 if(data->state.resume_from < 0) { in myssh_statemach_act() 1214 data->state.resume_from = attrs->size; in myssh_statemach_act() 1219 data->state.resume_from = 0; in myssh_statemach_act() 1227 else if(data->state.resume_from > 0) in myssh_statemach_act() 1259 if(data->state.resume_from > 0) { in myssh_statemach_act() 1263 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in myssh_statemach_act() 1278 (data->state.resume_from - passed > data->set.buffer_size) ? in myssh_statemach_act() 1280 curlx_sotouz(data->state.resume_from - passed); in myssh_statemach_act() 1293 } while(passed < data->state.resume_from); in myssh_statemach_act() [all …]
|
D | libssh2.c | 1868 if(data->state.resume_from != 0) { in ssh_statemach_act() 1870 if(data->state.resume_from < 0) { in ssh_statemach_act() 1878 data->state.resume_from = 0; in ssh_statemach_act() 1886 data->state.resume_from = attrs.filesize; in ssh_statemach_act() 1894 else if(data->state.resume_from > 0) in ssh_statemach_act() 1958 if(data->state.resume_from > 0) { in ssh_statemach_act() 1962 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ssh_statemach_act() 1977 (data->state.resume_from - passed > data->set.buffer_size) ? in ssh_statemach_act() 1979 curlx_sotouz(data->state.resume_from - passed); in ssh_statemach_act() 1995 } while(passed < data->state.resume_from); in ssh_statemach_act() [all …]
|
/external/curl/src/ |
D | tool_cfgable.h | 75 curl_off_t resume_from; member
|
D | tool_cb_prg.c | 222 bar->initial_size = config->resume_from; in progressbarinit()
|
D | tool_operate.c | 1089 config->resume_from = fileinfo.st_size; in single_transfer() 1092 config->resume_from = 0; in single_transfer() 1095 if(config->resume_from) { in single_transfer() 1112 outs->init = config->resume_from; in single_transfer() 1170 config->resume_from = -1; /* -1 will then force get-it-yourself */ in single_transfer() 1459 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in single_transfer()
|
D | tool_getparam.c | 1318 err = str2offset(&config->resume_from, nextarg); in getparameter() 1325 config->resume_from = 0; in getparameter()
|