Home
last modified time | relevance | path

Searched refs:infilesize (Results 1 – 17 of 17) sorted by relevance

/external/curl/docs/examples/
Dimap-append.c89 long infilesize; in main() local
112 infilesize = 0; in main()
114 infilesize += (long)strlen(*p); in main()
116 curl_easy_setopt(curl, CURLOPT_INFILESIZE, infilesize); in main()
/external/curl/lib/
Dtransfer.c1150 if(data->state.infilesize != -1) in readwrite_upload()
1151 data->state.infilesize++; in readwrite_upload()
1204 (k->writebytecount == data->state.infilesize)) { in readwrite_upload()
1526 data->state.infilesize = data->set.filesize; in Curl_pretransfer()
1529 data->state.infilesize = data->set.postfieldsize; in Curl_pretransfer()
1530 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer()
1531 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer()
1534 data->state.infilesize = 0; in Curl_pretransfer()
Dhttp.c435 if(data->state.infilesize != -1) in http_perhapsrewind()
436 expectsend = data->state.infilesize; in http_perhapsrewind()
439 if(data->state.infilesize != -1) in http_perhapsrewind()
440 expectsend = data->state.infilesize; in http_perhapsrewind()
2187 (data->set.upload && data->state.infilesize == -1))) { in Curl_http()
2435 if(data->state.infilesize>0) { in Curl_http()
2436 data->state.infilesize -= data->state.resume_from; in Curl_http()
2438 if(data->state.infilesize <= 0) { in Curl_http()
2472 data->state.infilesize - 1, data->state.infilesize); in Curl_http()
2478 data->state.resume_from + data->state.infilesize; in Curl_http()
[all …]
Drtsp.c521 putsize = data->state.infilesize; in rtsp_do()
526 postsize = (data->state.infilesize != -1)? in rtsp_do()
527 data->state.infilesize: in rtsp_do()
Dssh-libssh.c1187 if(data->state.infilesize > 0) { in myssh_statemach_act()
1188 data->state.infilesize -= data->state.resume_from; in myssh_statemach_act()
1189 data->req.size = data->state.infilesize; in myssh_statemach_act()
1190 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act()
1198 if(data->state.infilesize > 0) { in myssh_statemach_act()
1199 data->req.size = data->state.infilesize; in myssh_statemach_act()
1200 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act()
1690 if(data->state.infilesize < 0) { in myssh_statemach_act()
1724 data->state.infilesize, in myssh_statemach_act()
Dsmtp.c570 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in smtp_perform_mail()
578 if(conn->proto.smtpc.size_supported && data->state.infilesize > 0) { in smtp_perform_mail()
579 size = aprintf("%" CURL_FORMAT_CURL_OFF_T, data->state.infilesize); in smtp_perform_mail()
959 Curl_pgrsSetUploadSize(data, data->state.infilesize); in smtp_state_data_resp()
1220 if(smtp->trailing_crlf || !conn->data->state.infilesize) { in smtp_done()
Dfile.c292 if(-1 != data->state.infilesize) in file_upload()
294 Curl_pgrsSetUploadSize(data, data->state.infilesize); in file_upload()
Dtftp.c478 if(data->state.infilesize != -1) in tftp_send_first()
479 Curl_pgrsSetUploadSize(data, data->state.infilesize); in tftp_send_first()
508 if(data->set.upload && (data->state.infilesize != -1)) in tftp_send_first()
510 data->state.infilesize); in tftp_send_first()
Dssh.c1798 if(data->state.infilesize > 0) { in ssh_statemach_act()
1799 data->state.infilesize -= data->state.resume_from; in ssh_statemach_act()
1800 data->req.size = data->state.infilesize; in ssh_statemach_act()
1801 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act()
1806 if(data->state.infilesize > 0) { in ssh_statemach_act()
1807 data->req.size = data->state.infilesize; in ssh_statemach_act()
1808 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act()
2351 if(data->state.infilesize < 0) { in ssh_statemach_act()
2373 data->state.infilesize); in ssh_statemach_act()
Dcurl_rtmp.c249 Curl_pgrsSetUploadSize(data, data->state.infilesize); in rtmp_do()
Dimap.c764 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in imap_perform_append()
772 if(data->state.infilesize < 0) { in imap_perform_append()
784 mailbox, data->state.infilesize); in imap_perform_append()
1231 Curl_pgrsSetUploadSize(data, data->state.infilesize); in imap_state_append_resp()
Dftp.c465 Curl_pgrsSetUploadSize(data, data->state.infilesize); in InitiateTransfer()
1648 if(data->state.infilesize>0) { in ftp_state_ul_setup()
1649 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup()
1651 if(data->state.infilesize <= 0) { in ftp_state_ul_setup()
3304 if((-1 != data->state.infilesize) && in ftp_done()
3305 (data->state.infilesize != data->req.writebytecount) && in ftp_done()
3310 data->req.bytecount, data->state.infilesize); in ftp_done()
Dhttp2.c1133 if(data_s->state.infilesize != -1) in data_source_read_callback()
2092 if(conn->data->state.infilesize != -1) in http2_send()
2093 stream->upload_left = conn->data->state.infilesize; in http2_send()
Durldata.h1327 curl_off_t infilesize; /* size of file to upload, -1 means unknown. member
Dsmb.c795 conn->data->req.size = conn->data->state.infilesize; in smb_request_state()
/external/curl/
DRELEASE-NOTES75 o http: set state.infilesize when sending multipart formposts [57]
DCHANGES549 - http: set state.infilesize when sending formposts