Home
last modified time | relevance | path

Searched refs:size (Results 76 – 100 of 319) sorted by relevance

12345678910>>...13

/curl/src/
H A Dtool_urlglob.h41 curl_off_t size; member
65 size_t size; member
H A Dtool_formparse.h56 curl_off_t size; /* Stdin data size. */ member
62 size_t size, size_t nitems, void *arg);
/curl/packages/OS400/rpg-examples/
H A DINMEMORY109 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 Durl2file.c33 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 Dwebsocket-cb.c31 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 Dftpgetresp.c34 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 Dsftpuploadresume.c34 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 Dsepheaders.c33 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 Dcacertinmem.c34 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 Dusercertinmem.c40 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 Dftpget.c38 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 Dftpsget.c39 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 Dcertinfo.c32 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 DCURLINFO_REQUEST_SIZE.md19 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 DCURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md33 the size is not known.
51 /* check the size */
55 printf("Download size: %" CURL_FORMAT_CURL_OFF_T "\n", cl);
H A DCURLOPT_READFUNCTION.md28 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 DCURLOPT_TFTP_BLKSIZE.md16 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 Dlib513.c28 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 Dlib1533.c53 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 Dlib1514.c40 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 Dtest29010 <size>
12 </size>
H A Dtest18212 <size>
14 </size>
H A Dtest41621 <size>
23 </size>
H A Dtest12211 <size>
13 </size>
/curl/tests/http/clients/
H A Dhx-download.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()

Completed in 24 milliseconds

12345678910>>...13