Home
last modified time | relevance | path

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

12345678910>>...13

/curl/tests/libtest/
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 ntlm_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()
H A Dlib554.c36 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument
40 (void)size; in read_callback()
48 if(size*nmemb < 1) in read_callback()
H A Dlib1591.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 Dlib1527.c36 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *stream) in read_callback() argument
38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback()
/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/tests/data/
H A Dtest103912 <size>
14 </size>
/curl/tests/http/clients/
H A Dhx-upload.c69 char *data, size_t size, in debug_cb() argument
96 if(size > 0) { in debug_cb()
99 for(i = 0; i < size - 1; i++) { in debug_cb()
113 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb()
120 (void)fwrite(data, size, 1, output); in debug_cb()
121 newl = (size && (data[size - 1] != '\n')) ? 1 : 0; in debug_cb()
131 fprintf(output, "[%ld bytes data]\n", (long)size); in debug_cb()
/curl/lib/
H A Dhash.c82 h->size = 0; in Curl_hash_init()
133 --h->size; in Curl_hash_add2()
141 ++h->size; in Curl_hash_add2()
180 --h->size; in Curl_hash_delete()
231 h->size = 0; in Curl_hash_destroy()
248 return h->size; in Curl_hash_count()
272 --h->size; /* one less entry in the hash now */ in Curl_hash_clean_with_criterium()
/curl/docs/libcurl/opts/
H A DCURLOPT_POST.md36 CURLOPT_POSTFIELDSIZE_LARGE(3) to set the data size.
42 transfer-encoding or you must set the size of the data with the
54 size before starting the POST if you use chunked encoding. You enable this by
57 must specify the size in the request. (Since 7.66.0, libcurl automatically
58 uses chunked encoding for POSTs if the size is unknown.)
H A DCURLOPT_PROXY_SSLKEY_BLOB.md34 size) about the private key for connecting to the HTTPS proxy. Compatible with
53 extern size_t filesize; /* size of data */
56 extern size_t privateKeySize; /* size */
H A DCURLOPT_HEADERDATA.md57 static size_t header_callback(char *buffer, size_t size,
61 printf("shoe size: %d\n", i->shoesize);
64 return nitems * size;
/curl/docs/cmdline-opts/
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/src/
H A Dtool_cb_dbg.h33 char *data, size_t size,
/curl/tests/server/
H A Dtftpd.c922 while(cp < &buf.storage[size]) { in do_tftp()
935 if((cp + 1) < &buf.storage[size]) { in do_tftp()
1167 int size; in sendtftp() local
1180 if(size < 0) { in sendtftp()
1192 size); in sendtftp()
1198 if(swrite(peer, sdp, size + 4) != size + 4) { in sendtftp()
1240 } while(size == SEGSIZE); in sendtftp()
1248 ssize_t n, size; in recvtftp() local
1307 if(size != (n-4)) { /* ahem */ in recvtftp()
1308 if(size < 0) in recvtftp()
[all …]
/curl/lib/vssh/
H A Dwolfssh.c580 if(size < 0) { in wssh_statemach_act()
584 data->state.resume_from = size; in wssh_statemach_act()
673 data->req.size = data->state.infilesize; in wssh_statemach_act()
680 data->req.size = data->state.infilesize; in wssh_statemach_act()
740 curl_off_t size; in wssh_statemach_act() local
760 data->req.size = -1; in wssh_statemach_act()
766 size = ((curl_off_t)attrs.sz[1] << 32) | attrs.sz[0]; in wssh_statemach_act()
768 data->req.size = size; in wssh_statemach_act()
769 data->req.maxdownload = size; in wssh_statemach_act()
770 Curl_pgrsSetDownloadSize(data, size); in wssh_statemach_act()
[all …]

Completed in 30 milliseconds

12345678910>>...13