Home
last modified time | relevance | path

Searched refs:size (Results 126 – 150 of 325) sorted by relevance

12345678910>>...13

/curl/tests/libtest/
H A Dlib1901.c41 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
44 (void)size; in read_callback()
H A Dlib554.c37 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
41 (void)size; in read_callback()
49 if(size*nmemb < 1) in read_callback()
H A Dlib1518.c30 static size_t writecb(char *buffer, size_t size, size_t nitems, in writecb() argument
34 (void)size; in writecb()
H A Dlib1948.c33 static size_t put_callback(char *ptr, size_t size, size_t nmemb, void *stream) in put_callback() argument
36 size_t totalsize = size * nmemb; in put_callback()
H A Dlib667.c36 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
41 if(size*nmemb < 1) in read_callback()
H A Dlibntlmconnect.c41 static size_t callback(char *ptr, size_t size, size_t nmemb, void *data) in callback() argument
47 const size_t failure = (size && nmemb) ? 0 : 1; in callback()
50 counter[idx] += (int)(size * nmemb); in callback()
83 return size * nmemb; in callback()
H A Dlib1662.c32 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
37 if(size*nmemb < len) in read_callback()
H A Dlib1517.c35 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
38 size_t tocopy = size * nmemb; in read_callback()
H A Dlib1525.c37 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback()
H A Dlib1156.c76 static size_t writedata(char *data, size_t size, size_t nmemb, void *userdata) in writedata() argument
81 if(size && nmemb) in writedata()
83 return size * nmemb; in writedata()
/curl/docs/cmdline-opts/
H A Dignore-content-length.md5 Help: Ignore the size of the remote resource
22 For FTP, this makes curl skip the SIZE command to figure out the size before
H A Dprogress-bar.md23 shows a percentage if the transfer size is known. For transfers without a
24 known size, there is a space ship (-=o=-) that moves back and forth but only
/curl/docs/examples/
H A Dftpuploadfrommem.c48 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
51 size_t max = size*nmemb; in read_callback()
H A Dsynctime.c132 size_t SyncTime_CURL_WriteOutput(void *ptr, size_t size, size_t nmemb, in SyncTime_CURL_WriteOutput() argument
135 fwrite(ptr, size, nmemb, stream); in SyncTime_CURL_WriteOutput()
136 return (nmemb*size); in SyncTime_CURL_WriteOutput()
139 size_t SyncTime_CURL_WriteHeader(void *ptr, size_t size, size_t nmemb, in SyncTime_CURL_WriteHeader() argument
188 return (nmemb*size); in SyncTime_CURL_WriteHeader()
H A Dftpupload.c53 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
59 size_t retcode = fread(ptr, size, nmemb, stream); in read_callback()
H A Danyauthput.c70 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
74 nread = fread(ptr, size, nmemb, stream); in read_callback()
H A Dpost-callback.c46 static size_t read_callback(char *dest, size_t size, size_t nmemb, void *userp) in read_callback() argument
49 size_t buffer_size = size*nmemb; in read_callback()
/curl/lib/
H A Dmd5.c297 unsigned long size);
448 } while(size -= 64); in my_md5_body()
472 unsigned long size) in my_md5_update() argument
478 ctx->lo = (saved_lo + size) & 0x1fffffff; in my_md5_update()
481 ctx->hi += (MD5_u32plus)size >> 29; in my_md5_update()
488 if(size < available) { in my_md5_update()
489 memcpy(&ctx->buffer[used], data, size); in my_md5_update()
495 size -= available; in my_md5_update()
499 if(size >= 64) { in my_md5_update()
501 size &= 0x3f; in my_md5_update()
[all …]
H A Dhash.c78 h->size = 0; in Curl_hash_init()
125 --h->size; in Curl_hash_add2()
133 ++h->size; in Curl_hash_add2()
173 --h->size; in Curl_hash_delete()
223 h->size = 0; in Curl_hash_destroy()
259 --h->size; /* one less entry in the hash now */ in Curl_hash_clean_with_criterium()
/curl/docs/libcurl/opts/
H A DCURLOPT_POST.md35 CURLOPT_POSTFIELDSIZE_LARGE(3) to set the data size.
41 transfer-encoding or you must set the size of the data with the
53 size before starting the POST if you use chunked encoding. You enable this by
56 must specify the size in the request. (Since 7.66.0, libcurl automatically
57 uses chunked encoding for POSTs if the size is unknown.)
H A DCURLOPT_HEADERDATA.md54 static size_t header_callback(char *buffer, size_t size,
58 printf("shoe size: %d\n", i->shoesize);
61 return nitems * size;
/curl/src/
H A Dtool_cb_dbg.h33 char *data, size_t size,
/curl/tests/server/
H A Dtftpd.c925 while(cp < &buf.storage[size]) { in do_tftp()
938 if((cp + 1) < &buf.storage[size]) { in do_tftp()
1170 int size; in sendtftp() local
1183 if(size < 0) { in sendtftp()
1195 size); in sendtftp()
1201 if(swrite(peer, sdp, size + 4) != size + 4) { in sendtftp()
1243 } while(size == SEGSIZE); in sendtftp()
1251 ssize_t n, size; in recvtftp() local
1310 if(size != (n-4)) { /* ahem */ in recvtftp()
1311 if(size < 0) in recvtftp()
[all …]
/curl/lib/vssh/
H A Dwolfssh.c579 if(size < 0) { in wssh_statemach_act()
583 data->state.resume_from = size; in wssh_statemach_act()
672 data->req.size = data->state.infilesize; in wssh_statemach_act()
679 data->req.size = data->state.infilesize; in wssh_statemach_act()
739 curl_off_t size; in wssh_statemach_act() local
759 data->req.size = -1; in wssh_statemach_act()
765 size = ((curl_off_t)attrs.sz[1] <<32) | attrs.sz[0]; in wssh_statemach_act()
767 data->req.size = size; in wssh_statemach_act()
768 data->req.maxdownload = size; in wssh_statemach_act()
769 Curl_pgrsSetDownloadSize(data, size); in wssh_statemach_act()
[all …]
/curl/tests/data/
H A Dtest103617 <size>
19 </size>

Completed in 85 milliseconds

12345678910>>...13