Searched refs:resume_from (Results 1 – 12 of 12) sorted by relevance
/external/curl/lib/ |
D | file.c | 152 data->state.resume_from = from; in file_range() 159 data->state.resume_from = from; in file_range() 167 data->state.resume_from = from; in file_range() 332 if(data->state.resume_from) in file_upload() 348 if(data->state.resume_from < 0) { in file_upload() 355 data->state.resume_from = (curl_off_t)file_stat.st_size; in file_upload() 370 if(data->state.resume_from) { in file_upload() 371 if((curl_off_t)nread <= data->state.resume_from ) { in file_upload() 372 data->state.resume_from -= nread; in file_upload() 377 buf2 = buf + data->state.resume_from; in file_upload() [all …]
|
D | ssh.c | 1629 if(data->state.resume_from != 0) { in ssh_statemach_act() 1631 if(data->state.resume_from < 0) { in ssh_statemach_act() 1639 data->state.resume_from = 0; in ssh_statemach_act() 1647 data->state.resume_from = attrs.filesize; in ssh_statemach_act() 1655 else if(data->state.resume_from > 0) in ssh_statemach_act() 1718 if(data->state.resume_from > 0) { in ssh_statemach_act() 1721 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ssh_statemach_act() 1736 (data->state.resume_from - passed > CURL_OFF_T_C(BUFSIZE)) ? in ssh_statemach_act() 1737 BUFSIZE : curlx_sotouz(data->state.resume_from - passed); in ssh_statemach_act() 1750 } while(passed < data->state.resume_from); in ssh_statemach_act() [all …]
|
D | ftp.c | 1628 if((data->state.resume_from && !sizechecked) || in ftp_state_ul_setup() 1629 ((data->state.resume_from > 0) && sizechecked)) { in ftp_state_ul_setup() 1643 if(data->state.resume_from < 0 ) { in ftp_state_ul_setup() 1655 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in ftp_state_ul_setup() 1669 (data->state.resume_from - passed > CURL_OFF_T_C(BUFSIZE)) ? in ftp_state_ul_setup() 1670 BUFSIZE : curlx_sotouz(data->state.resume_from - passed); in ftp_state_ul_setup() 1683 } while(passed < data->state.resume_from); in ftp_state_ul_setup() 1688 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup() 2286 if(data->state.resume_from) { in ftp_state_retr() 2299 if(data->state.resume_from< 0) { in ftp_state_retr() [all …]
|
D | http.c | 2127 data->state.resume_from) { in Curl_http() 2136 if(data->state.resume_from < 0 ) { in Curl_http() 2141 data->state.resume_from = 0; in Curl_http() 2144 if(data->state.resume_from && !data->state.this_is_a_follow) { in Curl_http() 2150 seekerr = conn->seek_func(conn->seek_client, data->state.resume_from, in Curl_http() 2164 (data->state.resume_from - passed > CURL_OFF_T_C(BUFSIZE)) ? in Curl_http() 2165 BUFSIZE : curlx_sotouz(data->state.resume_from - passed); in Curl_http() 2179 } while(passed < data->state.resume_from); in Curl_http() 2185 data->state.infilesize -= data->state.resume_from; in Curl_http() 2224 else if(data->state.resume_from) { in Curl_http() [all …]
|
D | progress.c | 402 if(data->state.resume_from) { in Curl_pgrsUpdate() 405 CURL_FORMAT_CURL_OFF_T "\n", data->state.resume_from); in Curl_pgrsUpdate()
|
D | transfer.c | 545 if(data->state.resume_from && !k->content_range && in readwrite_data() 549 if(k->size == data->state.resume_from) { in readwrite_data()
|
D | urldata.h | 1298 curl_off_t resume_from; /* continue [ftp] transfer from here */ member
|
D | url.c | 4266 s->resume_from = data->set.set_resume_from; in setup_range() 4267 if(s->resume_from || data->set.str[STRING_SET_RANGE]) { in setup_range() 4271 if(s->resume_from) in setup_range() 4272 s->range = aprintf("%" CURL_FORMAT_CURL_OFF_TU "-", s->resume_from); in setup_range()
|
/external/curl/src/ |
D | tool_operate.c | 599 config->resume_from = fileinfo.st_size; in operate_do() 602 config->resume_from = 0; in operate_do() 605 if(config->resume_from) { in operate_do() 609 FILE *file = fopen(outfile, config->resume_from?"ab":"wb", in operate_do() 613 FILE *file = fopen(outfile, config->resume_from?"ab":"wb"); in operate_do() 622 outs.init = config->resume_from; in operate_do() 731 config->resume_from = -1; /* -1 will then force get-it-yourself */ in operate_do() 997 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in operate_do()
|
D | tool_cb_prg.c | 118 bar->initial_size = config->resume_from; in progressbarinit()
|
D | tool_cfgable.h | 54 curl_off_t resume_from; member
|
D | tool_getparam.c | 1094 err = str2offset(&config->resume_from, nextarg); in getparameter() 1101 config->resume_from = 0; in getparameter()
|