/curl/src/ |
H A D | tool_urlglob.h | 41 curl_off_t size; member 65 size_t size; member
|
H A D | tool_formparse.h | 56 curl_off_t size; /* Stdin data size. */ member 62 size_t size, size_t nitems, void *arg);
|
/curl/packages/OS400/rpg-examples/ |
H A D | INMEMORY | 109 d size 10u 0 value Data element size 118 size = size * nmemb; // The size in bytes. 119 ebcdata = curl_to_ccsid(%str(ptr: size): 0); // Convert to EBCDIC. 121 dow i <= size; 137 return size;
|
/curl/docs/examples/ |
H A D | url2file.c | 33 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() argument 35 size_t written = fwrite(ptr, size, nmemb, (FILE *)stream); in write_data()
|
H A D | websocket-cb.c | 31 static size_t writecb(char *b, size_t size, size_t nitems, void *p) in writecb() argument 38 fprintf(stderr, "Bytes: %u", (unsigned int)(nitems * size)); in writecb()
|
H A D | ftpgetresp.c | 34 write_response(void *ptr, size_t size, size_t nmemb, void *data) in write_response() argument 37 return fwrite(ptr, size, nmemb, writehere); in write_response()
|
H A D | sftpuploadresume.c | 34 static size_t readfunc(char *ptr, size_t size, size_t nmemb, void *stream) in readfunc() argument 42 n = fread(ptr, size, nmemb, f) * size; in readfunc()
|
H A D | sepheaders.c | 33 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() argument 35 size_t written = fwrite(ptr, size, nmemb, (FILE *)stream); in write_data()
|
H A D | cacertinmem.c | 34 static size_t writefunction(void *ptr, size_t size, size_t nmemb, void *stream) in writefunction() argument 36 fwrite(ptr, size, nmemb, (FILE *)stream); in writefunction() 37 return (nmemb*size); in writefunction()
|
H A D | usercertinmem.c | 40 static size_t writefunction(void *ptr, size_t size, size_t nmemb, void *stream) in writefunction() argument 42 fwrite(ptr, size, nmemb, stream); in writefunction() 43 return (nmemb*size); in writefunction()
|
H A D | ftpget.c | 38 static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream) in my_fwrite() argument 47 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
|
H A D | ftpsget.c | 39 static size_t my_fwrite(void *buffer, size_t size, size_t nmemb, in my_fwrite() argument 49 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
|
H A D | certinfo.c | 32 static size_t wrfu(void *ptr, size_t size, size_t nmemb, void *stream) in wrfu() argument 36 return size * nmemb; in wrfu()
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_REQUEST_SIZE.md | 19 CURLINFO_REQUEST_SIZE - get size of sent request 31 Pass a pointer to a long to receive the total size of the issued 51 printf("Request size: %ld bytes\n", req);
|
H A D | CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md | 33 the size is not known. 51 /* check the size */ 55 printf("Download size: %" CURL_FORMAT_CURL_OFF_T "\n", cl);
|
H A D | CURLOPT_READFUNCTION.md | 28 size_t read_callback(char *buffer, size_t size, size_t nitems, void *userdata); 40 filled up with at most *size* multiplied with *nitems* number of bytes 41 by your function. *size* is always 1. 69 You can set the total size of the data you are sending by using 83 size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userdata) 89 'size' * 'nmemb' bytes! */ 90 size_t retcode = fread(ptr, size, nmemb, readhere);
|
H A D | CURLOPT_TFTP_BLKSIZE.md | 16 CURLOPT_TFTP_BLKSIZE - TFTP block size 30 not specified. The specified block size is only used if supported by the 32 returns an option acknowledgment with no block size, the default of 512 bytes
|
/curl/tests/libtest/ |
H A D | lib513.c | 28 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument 31 (void)size; in read_callback()
|
H A D | lib1533.c | 53 static size_t read_callback(char *ptr, size_t size, size_t nitems, in read_callback() argument 60 size_t totalsize = nitems * size; in read_callback() 79 static size_t write_callback(char *ptr, size_t size, size_t nmemb, in write_callback() argument 83 size_t totalsize = nmemb * size; in write_callback()
|
H A D | lib1514.c | 40 static size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userp) in read_callback() argument 44 if(size*nmemb < 1) in read_callback()
|
/curl/tests/data/ |
H A D | test290 | 10 <size> 12 </size>
|
H A D | test182 | 12 <size> 14 </size>
|
H A D | test416 | 21 <size> 23 </size>
|
H A D | test122 | 11 <size> 13 </size>
|
/curl/tests/http/clients/ |
H A D | hx-download.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()
|