/curl/tests/libtest/ |
H A D | lib1948.c | 33 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 D | lib667.c | 36 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 D | libntlmconnect.c | 41 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 D | lib1662.c | 32 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 D | lib1517.c | 35 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 D | lib1525.c | 37 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 D | lib1156.c | 76 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 D | lib554.c | 36 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 D | lib1591.c | 37 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 D | lib1527.c | 36 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 D | ftpuploadfrommem.c | 48 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 D | synctime.c | 132 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 D | ftpupload.c | 53 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 D | anyauthput.c | 70 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 D | post-callback.c | 46 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 D | test1039 | 12 <size> 14 </size>
|
/curl/tests/http/clients/ |
H A D | hx-upload.c | 69 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 D | hash.c | 82 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 D | CURLOPT_POST.md | 36 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 D | CURLOPT_PROXY_SSLKEY_BLOB.md | 34 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 D | CURLOPT_HEADERDATA.md | 57 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 D | progress-bar.md | 23 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 D | tool_cb_dbg.h | 33 char *data, size_t size,
|
/curl/tests/server/ |
H A D | tftpd.c | 922 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 D | wolfssh.c | 580 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 …]
|