/third_party/curl/docs/examples/ |
D | imap-append.c | 92 long infilesize; in main() local 111 infilesize = strlen(payload_text); in main() 112 curl_easy_setopt(curl, CURLOPT_INFILESIZE, infilesize); in main()
|
/third_party/curl/lib/vssh/ |
D | wolfssh.c | 671 if(data->state.infilesize > 0) { in wssh_statemach_act() 672 data->state.infilesize -= data->state.resume_from; in wssh_statemach_act() 673 data->req.size = data->state.infilesize; in wssh_statemach_act() 674 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act() 679 if(data->state.infilesize > 0) { in wssh_statemach_act() 680 data->req.size = data->state.infilesize; in wssh_statemach_act() 681 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act()
|
D | libssh.c | 1315 if(data->state.infilesize > 0) { in myssh_statemach_act() 1316 data->state.infilesize -= data->state.resume_from; in myssh_statemach_act() 1317 data->req.size = data->state.infilesize; in myssh_statemach_act() 1318 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1327 if(data->state.infilesize > 0) { in myssh_statemach_act() 1328 data->req.size = data->state.infilesize; in myssh_statemach_act() 1329 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1816 if(data->state.infilesize < 0) { in myssh_statemach_act() 1852 data->state.infilesize, in myssh_statemach_act()
|
D | libssh2.c | 1994 if(data->state.infilesize > 0) { in ssh_statemach_act() 1995 data->state.infilesize -= data->state.resume_from; in ssh_statemach_act() 1996 data->req.size = data->state.infilesize; in ssh_statemach_act() 1997 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act() 2002 if(data->state.infilesize > 0) { in ssh_statemach_act() 2003 data->req.size = data->state.infilesize; in ssh_statemach_act() 2004 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act() 2516 if(data->state.infilesize < 0) { in ssh_statemach_act() 2538 data->state.infilesize); in ssh_statemach_act() 2562 data->req.size = data->state.infilesize; in ssh_statemach_act() [all …]
|
/third_party/curl/lib/ |
D | transfer.c | 1061 if(data->state.infilesize != -1) in readwrite_upload() 1062 data->state.infilesize++; in readwrite_upload() 1128 (k->writebytecount == data->state.infilesize)) { in readwrite_upload() 1453 data->state.infilesize = data->set.filesize; in Curl_pretransfer() 1456 data->state.infilesize = data->set.postfieldsize; in Curl_pretransfer() 1457 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer() 1458 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer() 1461 data->state.infilesize = 0; in Curl_pretransfer()
|
D | http.c | 477 if(data->state.infilesize != -1) in http_perhapsrewind() 478 expectsend = data->state.infilesize; in http_perhapsrewind() 2357 data->state.infilesize == -1))) { in Curl_http_body() 2404 http->postsize = data->state.infilesize; in Curl_http_bodysend() 2461 data->state.infilesize = http->postsize; in Curl_http_bodysend() 2541 http->postsize = data->state.infilesize; in Curl_http_bodysend() 2669 else if(data->state.infilesize) { in Curl_http_bodysend() 2810 data->state.infilesize - 1, data->state.infilesize); in Curl_http_range() 2816 data->state.resume_from + data->state.infilesize; in Curl_http_range() 2828 data->state.range, data->state.infilesize); in Curl_http_range() [all …]
|
D | rtsp.c | 512 putsize = data->state.infilesize; in rtsp_do() 517 postsize = (data->state.infilesize != -1)? in rtsp_do() 518 data->state.infilesize: in rtsp_do()
|
D | file.c | 287 if(-1 != data->state.infilesize) in file_upload() 289 Curl_pgrsSetUploadSize(data, data->state.infilesize); in file_upload()
|
D | smtp.c | 696 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in smtp_perform_mail() 704 if(conn->proto.smtpc.size_supported && data->state.infilesize > 0) { in smtp_perform_mail() 705 size = aprintf("%" CURL_FORMAT_CURL_OFF_T, data->state.infilesize); in smtp_perform_mail() 1142 Curl_pgrsSetUploadSize(data, data->state.infilesize); in smtp_state_data_resp() 1403 if(smtp->trailing_crlf || !data->state.infilesize) { in smtp_done()
|
D | tftp.c | 456 if(data->state.infilesize != -1) in tftp_send_first() 457 Curl_pgrsSetUploadSize(data, data->state.infilesize); in tftp_send_first() 486 if(data->set.upload && (data->state.infilesize != -1)) in tftp_send_first() 488 data->state.infilesize); in tftp_send_first()
|
D | curl_rtmp.c | 265 Curl_pgrsSetUploadSize(data, data->state.infilesize); in rtmp_do()
|
D | imap.c | 776 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in imap_perform_append() 784 if(data->state.infilesize < 0) { in imap_perform_append() 797 mailbox, data->state.infilesize); in imap_perform_append() 1243 Curl_pgrsSetUploadSize(data, data->state.infilesize); in imap_state_append_resp()
|
D | ftp.c | 456 Curl_pgrsSetUploadSize(data, data->state.infilesize); in InitiateTransfer() 1647 if(data->state.infilesize>0) { in ftp_state_ul_setup() 1648 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup() 1650 if(data->state.infilesize <= 0) { in ftp_state_ul_setup() 3375 if((-1 != data->state.infilesize) && in ftp_done() 3376 (data->state.infilesize != data->req.writebytecount) && in ftp_done() 3381 data->req.bytecount, data->state.infilesize); in ftp_done()
|
D | http2.c | 1152 if(data_s->state.infilesize != -1) in data_source_read_callback() 2144 if(data->state.infilesize != -1) in http2_send() 2145 stream->upload_left = data->state.infilesize; in http2_send()
|
D | smb.c | 817 data->req.size = data->state.infilesize; in smb_request_state()
|
D | urldata.h | 1398 curl_off_t infilesize; /* size of file to upload, -1 means unknown. member
|
/third_party/curl/lib/vquic/ |
D | ngtcp2.c | 1336 vec[0].len = data->state.infilesize; in cb_h3_readfunction() 1364 if(data->state.infilesize != -1) { in cb_h3_readfunction() 1578 if(data->state.infilesize != -1) in http_request() 1579 stream->upload_left = data->state.infilesize; in http_request()
|
D | quiche.c | 798 if(data->state.infilesize != -1) in http_request() 799 stream->upload_left = data->state.infilesize; in http_request()
|