Searched refs:infilesize (Results 1 – 18 of 18) sorted by relevance
/curl/docs/examples/ |
H A 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()
|
/curl/lib/vssh/ |
H A 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()
|
H A D | libssh.c | 1336 if(data->state.infilesize > 0) { in myssh_statemach_act() 1337 data->state.infilesize -= data->state.resume_from; in myssh_statemach_act() 1338 data->req.size = data->state.infilesize; in myssh_statemach_act() 1339 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1348 if(data->state.infilesize > 0) { in myssh_statemach_act() 1349 data->req.size = data->state.infilesize; in myssh_statemach_act() 1350 Curl_pgrsSetUploadSize(data, data->state.infilesize); in myssh_statemach_act() 1804 if(data->state.infilesize < 0) { in myssh_statemach_act() 1840 data->state.infilesize, in myssh_statemach_act()
|
H A D | libssh2.c | 1259 if(data->state.infilesize > 0) { in sftp_upload_init() 1260 data->state.infilesize -= data->state.resume_from; in sftp_upload_init() 1261 data->req.size = data->state.infilesize; in sftp_upload_init() 1262 Curl_pgrsSetUploadSize(data, data->state.infilesize); in sftp_upload_init() 1267 if(data->state.infilesize > 0) { in sftp_upload_init() 1268 data->req.size = data->state.infilesize; in sftp_upload_init() 1269 Curl_pgrsSetUploadSize(data, data->state.infilesize); in sftp_upload_init() 2664 if(data->state.infilesize < 0) { in ssh_statemachine() 2686 data->state.infilesize); in ssh_statemachine() 2710 data->req.size = data->state.infilesize; in ssh_statemachine() [all …]
|
/curl/lib/ |
H A D | transfer.c | 600 data->state.infilesize = data->set.filesize; in Curl_pretransfer() 603 data->state.infilesize = data->set.postfieldsize; in Curl_pretransfer() 604 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer() 605 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer() 608 data->state.infilesize = 0; in Curl_pretransfer()
|
H A D | smtp.c | 714 data->state.infilesize = Curl_creader_total_length(data); in smtp_perform_mail() 719 result = Curl_creader_set_fread(data, data->state.infilesize); in smtp_perform_mail() 725 if(conn->proto.smtpc.size_supported && data->state.infilesize > 0) { in smtp_perform_mail() 726 size = aprintf("%" FMT_OFF_T, data->state.infilesize); in smtp_perform_mail() 1163 Curl_pgrsSetUploadSize(data, data->state.infilesize); in smtp_state_data_resp() 1855 if(data->state.infilesize > 0) in cr_eob_read() 1856 data->state.infilesize++; in cr_eob_read()
|
H A D | file.c | 338 if(-1 != data->state.infilesize) in file_upload() 340 Curl_pgrsSetUploadSize(data, data->state.infilesize); in file_upload()
|
H A D | tftp.c | 455 if(data->state.infilesize != -1) in tftp_send_first() 456 Curl_pgrsSetUploadSize(data, data->state.infilesize); in tftp_send_first() 486 data->state.upload && (data->state.infilesize != -1) ? in tftp_send_first() 487 data->state.infilesize : 0); in tftp_send_first()
|
H A D | rtsp.c | 507 req_clen = data->state.infilesize; in rtsp_do() 519 else if(data->state.infilesize >= 0) { in rtsp_do() 520 req_clen = data->state.infilesize; in rtsp_do()
|
H A D | curl_rtmp.c | 275 Curl_pgrsSetUploadSize(data, data->state.infilesize); in rtmp_do()
|
H A D | imap.c | 795 data->state.infilesize = Curl_creader_client_length(data); in imap_perform_append() 800 result = Curl_creader_set_fread(data, data->state.infilesize); in imap_perform_append() 806 if(data->state.infilesize < 0) { in imap_perform_append() 818 mailbox, data->state.infilesize); in imap_perform_append() 1267 Curl_pgrsSetUploadSize(data, data->state.infilesize); in imap_state_append_resp()
|
H A D | sendf.c | 1025 if(!data->set.crlf && (data->state.infilesize != -1)) { in cr_lc_read() 1028 data->state.infilesize++; in cr_lc_read() 1150 result = Curl_creader_set_fread(data, data->state.infilesize); in Curl_creader_add() 1190 result = Curl_creader_set_fread(data, data->state.infilesize); in Curl_client_read()
|
H A D | ftp.c | 520 Curl_pgrsSetUploadSize(data, data->state.infilesize); in InitiateTransfer() 1566 if(data->state.infilesize > 0) { in ftp_state_ul_setup() 1567 data->state.infilesize -= data->state.resume_from; in ftp_state_ul_setup() 1569 if(data->state.infilesize <= 0) { in ftp_state_ul_setup() 3363 if((-1 != data->state.infilesize) && in ftp_done() 3364 (data->state.infilesize != data->req.writebytecount) && in ftp_done() 3369 data->req.writebytecount, data->state.infilesize); in ftp_done()
|
H A D | smb.c | 949 if(data->state.upload && (data->state.infilesize < 0)) { in smb_request_state() 1001 data->req.size = data->state.infilesize; in smb_request_state()
|
H A D | http.c | 1954 data->state.infilesize = Curl_creader_total_length(data); in set_post_reader() 1967 curl_off_t postsize = data->state.infilesize; in set_reader() 2017 data->state.infilesize = 0; in set_reader() 2354 data->state.infilesize : in Curl_http_range()
|
H A D | urldata.h | 1279 curl_off_t infilesize; /* size of file to upload, -1 means unknown. member
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 1466 if(data->state.infilesize != -1) in h3_stream_open() 1467 stream->upload_left = data->state.infilesize; in h3_stream_open()
|
H A D | curl_osslq.c | 1864 if(data->state.infilesize != -1) in h3_stream_open() 1865 stream->upload_left = data->state.infilesize; in h3_stream_open()
|
Completed in 139 milliseconds