/third_party/curl/docs/examples/ |
D | imap-append.c | 95 long infilesize = LONG_MAX; in main() local 114 infilesize = (long)filesize; in main() 115 curl_easy_setopt(curl, CURLOPT_INFILESIZE, infilesize); in main()
|
/third_party/curl/lib/vssh/ |
D | wolfssh.c | 675 if(data->state.infilesize > 0) { in wssh_statemach_act() 676 data->state.infilesize -= data->state.resume_from; in wssh_statemach_act() 677 data->req.size = data->state.infilesize; in wssh_statemach_act() 678 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act() 683 if(data->state.infilesize > 0) { in wssh_statemach_act() 684 data->req.size = data->state.infilesize; in wssh_statemach_act() 685 Curl_pgrsSetUploadSize(data, data->state.infilesize); in wssh_statemach_act()
|
D | libssh.c | 1333 if(data->state.infilesize > 0) { in myssh_statemach_act() 1334 data->state.infilesize -= data->state.resume_from; in myssh_statemach_act() 1335 data->req.size = data->state.infilesize; in myssh_statemach_act() 1336 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1345 if(data->state.infilesize > 0) { in myssh_statemach_act() 1346 data->req.size = data->state.infilesize; in myssh_statemach_act() 1347 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1814 if(data->state.infilesize < 0) { in myssh_statemach_act() 1850 data->state.infilesize, in myssh_statemach_act()
|
D | libssh2.c | 2178 if(data->state.infilesize > 0) { in ssh_statemach_act() 2179 data->state.infilesize -= data->state.resume_from; in ssh_statemach_act() 2180 data->req.size = data->state.infilesize; in ssh_statemach_act() 2181 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act() 2186 if(data->state.infilesize > 0) { in ssh_statemach_act() 2187 data->req.size = data->state.infilesize; in ssh_statemach_act() 2188 Curl_pgrsSetUploadSize(data, data->state.infilesize); in ssh_statemach_act() 2701 if(data->state.infilesize < 0) { in ssh_statemach_act() 2723 data->state.infilesize); in ssh_statemach_act() 2747 data->req.size = data->state.infilesize; in ssh_statemach_act() [all …]
|
/third_party/curl/lib/ |
D | transfer.c | 835 data->state.infilesize)) { in readwrite_upload() 937 if(data->state.infilesize != -1) in readwrite_upload() 938 data->state.infilesize++; in readwrite_upload() 1012 (k->writebytecount == data->state.infilesize)) { in readwrite_upload() 1379 data->state.infilesize = data->set.filesize; in Curl_pretransfer() 1382 data->state.infilesize = data->set.postfieldsize; in Curl_pretransfer() 1383 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer() 1384 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer() 1387 data->state.infilesize = 0; in Curl_pretransfer()
|
D | rtsp.c | 497 putsize = data->state.infilesize; in rtsp_do() 502 postsize = (data->state.infilesize != -1)? in rtsp_do() 503 data->state.infilesize: in rtsp_do()
|
D | http.c | 543 if(data->state.infilesize != -1) in http_perhapsrewind() 544 expectsend = data->state.infilesize; in http_perhapsrewind() 2472 data->state.infilesize == -1))) { in Curl_http_body() 2522 http->postsize = data->state.infilesize; in Curl_http_bodysend() 2591 data->state.infilesize = http->postsize; in Curl_http_bodysend() 2672 http->postsize = data->state.infilesize; in Curl_http_bodysend() 2796 else if(data->state.infilesize) { in Curl_http_bodysend() 2951 data->state.infilesize - 1, data->state.infilesize); in Curl_http_range() 2957 data->state.resume_from + data->state.infilesize; in Curl_http_range() 2969 data->state.range, data->state.infilesize); in Curl_http_range() [all …]
|
D | file.c | 327 if(-1 != data->state.infilesize) in file_upload() 329 Curl_pgrsSetUploadSize(data, data->state.infilesize); in file_upload()
|
D | smtp.c | 719 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in smtp_perform_mail() 727 if(conn->proto.smtpc.size_supported && data->state.infilesize > 0) { in smtp_perform_mail() 728 size = aprintf("%" CURL_FORMAT_CURL_OFF_T, data->state.infilesize); in smtp_perform_mail() 1166 Curl_pgrsSetUploadSize(data, data->state.infilesize); in smtp_state_data_resp() 1428 if(smtp->trailing_crlf || !data->state.infilesize) { in smtp_done()
|
D | tftp.c | 459 if(data->state.infilesize != -1) in tftp_send_first() 460 Curl_pgrsSetUploadSize(data, data->state.infilesize); in tftp_send_first() 489 if(data->state.upload && (data->state.infilesize != -1)) in tftp_send_first() 491 data->state.infilesize); in tftp_send_first()
|
D | imap.c | 794 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in imap_perform_append() 802 if(data->state.infilesize < 0) { in imap_perform_append() 815 mailbox, data->state.infilesize); in imap_perform_append() 1271 Curl_pgrsSetUploadSize(data, data->state.infilesize); in imap_state_append_resp()
|
D | curl_rtmp.c | 267 Curl_pgrsSetUploadSize(data, data->state.infilesize); in rtmp_do()
|
D | ftp.c | 449 Curl_pgrsSetUploadSize(data, data->state.infilesize); in InitiateTransfer() 1611 if(data->state.infilesize>0) { in ftp_state_ul_setup() 1612 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup() 1614 if(data->state.infilesize <= 0) { in ftp_state_ul_setup() 3408 if((-1 != data->state.infilesize) && in ftp_done() 3409 (data->state.infilesize != data->req.writebytecount) && in ftp_done() 3414 data->req.writebytecount, data->state.infilesize); in ftp_done()
|
D | smb.c | 954 if(data->state.upload && (data->state.infilesize < 0)) { in smb_request_state() 1006 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
|
D | http2.c | 2097 if(data->state.infilesize != -1) in h2_submit() 2098 stream->upload_left = data->state.infilesize; in h2_submit()
|
/third_party/curl/lib/vquic/ |
D | curl_quiche.c | 1018 if(data->state.infilesize != -1) in h3_open_stream() 1019 stream->upload_left = data->state.infilesize; in h3_open_stream()
|
D | curl_ngtcp2.c | 1727 if(data->state.infilesize != -1) in h3_stream_open() 1728 stream->upload_left = data->state.infilesize; in h3_stream_open()
|