/curl/tests/libtest/ |
H A D | lib1901.c | 41 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 D | lib554.c | 37 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 D | lib1518.c | 30 static size_t writecb(char *buffer, size_t size, size_t nitems, in writecb() argument 34 (void)size; in writecb()
|
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 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()
|
/curl/docs/cmdline-opts/ |
H A D | ignore-content-length.md | 5 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 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/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/lib/ |
H A D | md5.c | 297 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 D | hash.c | 78 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 D | CURLOPT_POST.md | 35 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 D | CURLOPT_HEADERDATA.md | 54 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 D | tool_cb_dbg.h | 33 char *data, size_t size,
|
/curl/tests/server/ |
H A D | tftpd.c | 925 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 D | wolfssh.c | 579 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 D | test1036 | 17 <size> 19 </size>
|