Home
last modified time | relevance | path

Searched refs:maxdownload (Results 1 – 11 of 11) sorted by relevance

/external/curl/lib/
Dcurl_range.c62 data->req.maxdownload = to; in Curl_range()
79 data->req.maxdownload = totalsize + 1; /* include last byte */ in Curl_range()
83 from, data->req.maxdownload)); in Curl_range()
88 from, to, data->req.maxdownload)); in Curl_range()
91 data->req.maxdownload = -1; in Curl_range()
Dtransfer.c684 (k->maxdownload <= 0 && nread > 0)) { in readwrite_data()
866 if((-1 != k->maxdownload) && in readwrite_data()
867 (k->bytecount + nread >= k->maxdownload)) { in readwrite_data()
869 excess = (size_t)(k->bytecount + nread - k->maxdownload); in readwrite_data()
878 k->size, k->maxdownload, k->bytecount, nread); in readwrite_data()
888 excess, k->size, k->maxdownload, k->bytecount); in readwrite_data()
892 nread = (ssize_t) (k->maxdownload - k->bytecount); in readwrite_data()
911 if(k->maxdownload == -1 || (curl_off_t)k->hbuflen <= k->maxdownload) in readwrite_data()
918 (size_t)k->maxdownload); in readwrite_data()
Dfile.c480 if(data->req.maxdownload > 0) in file_do()
481 expected_size = data->req.maxdownload; in file_do()
Dftp.c2445 if(size > data->req.maxdownload && data->req.maxdownload > 0) in ftp_state_get_resp()
2446 size = data->req.size = data->req.maxdownload; in ftp_state_get_resp()
2451 data->req.maxdownload); in ftp_state_get_resp()
3234 if(!result && ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3282 if(ftpc->dont_check && data->req.maxdownload > 0) { in ftp_done()
3325 (data->req.maxdownload != data->req.bytecount)) { in ftp_done()
3591 if(result == CURLE_OK && data->req.maxdownload >= 0) { in ftp_do_more()
Dssh-libssh.c1504 data->req.maxdownload = -1; in myssh_statemach_act()
1563 data->req.maxdownload = size; in myssh_statemach_act()
1592 data->req.maxdownload = size - data->state.resume_from; in myssh_statemach_act()
1775 data->req.maxdownload = (curl_off_t) bytecount; in myssh_statemach_act()
Dhttp.c3530 k->maxdownload = k->size = -1; in Curl_http_readwrite_headers()
3538 k->maxdownload = k->size; in Curl_http_readwrite_headers()
3546 if(0 == k->maxdownload in Curl_http_readwrite_headers()
3753 k->maxdownload = 0; in Curl_http_readwrite_headers()
3785 k->maxdownload = k->size; in Curl_http_readwrite_headers()
Dssh.c2158 data->req.maxdownload = -1; in ssh_statemach_act()
2209 data->req.maxdownload = size; in ssh_statemach_act()
2238 data->req.maxdownload = attrs.filesize - data->state.resume_from; in ssh_statemach_act()
2467 data->req.maxdownload = (curl_off_t)sb.st_size; in ssh_statemach_act()
Durldata.h547 curl_off_t maxdownload; /* in bytes, the maximum amount of data to fetch, member
Dimap.c1183 data->req.maxdownload = size; in imap_state_fetch_resp()
Dhttp2.c587 newhandle->req.maxdownload = -1; in push_promise()
Durl.c4197 data->req.maxdownload = -1; in Curl_connect()