Home
last modified time | relevance | path

Searched refs:amount (Results 1 – 25 of 74) sorted by relevance

123

/curl/tests/libtest/
H A Dlib1591.c39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local
45 if(amount > strlen(testdata)-consumed) { in read_callback()
46 amount = strlen(testdata); in read_callback()
49 consumed += amount; in read_callback()
51 memcpy(ptr, testdata, amount); in read_callback()
52 return amount; in read_callback()
H A Dlib1940.c56 if(header->amount > 1) { in showem()
59 size_t amount = header->amount; in showem() local
62 (int)index, (int)amount); in showem()
64 if(++index == amount) in showem()
H A Dlib552.c133 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local
136 size_t given = amount < available ? amount : available; /* What is given */ in read_callback()
147 int amount = curlx_uztosi(size * nmemb); in write_callback() local
148 printf("%.*s", amount, (char *)ptr); in write_callback()
H A Dlib1525.c39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local
40 if(amount < strlen(testdata)) { in read_callback()
H A Dlib1527.c38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local
39 if(amount < strlen(testdata)) { in read_callback()
H A Dlib1526.c38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local
39 if(amount < strlen(testdata)) { in read_callback()
H A Dlib1945.c40 (int)header->index, (int)header->amount); in showem()
/curl/docs/libcurl/opts/
H A DCURLINFO_EARLYDATA_SENT_T.md27 curl_off_t *amount);
32 Pass a pointer to an *curl_off_t* to receive the total amount of bytes that
40 The amount is **negative** when the sent data was rejected
43 bytes had been sent, but were rejected, it reports -127 as the amount "sent".
61 curl_off_t amount;
62 res = curl_easy_getinfo(curl, CURLINFO_EARLYDATA_SENT_T, &amount);
64 printf("TLS earlydata: %" CURL_FORMAT_CURL_OFF_T " bytes\n", amount);
H A DCURLINFO_SIZE_DOWNLOAD_T.md33 Pass a pointer to a *curl_off_t* to receive the total amount of bytes that
34 were downloaded. The amount is only for the latest transfer and gets reset
36 commonly called body. All meta and header data is excluded from this amount.
H A DCURLINFO_SIZE_DOWNLOAD.md32 Pass a pointer to a double to receive the total amount of bytes that were
33 downloaded. The amount is only for the latest transfer and gets reset again
H A DCURLOPT_MAXREDIRS.md25 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXREDIRS, long amount);
30 Pass a long. The set number is the redirection limit *amount*. If that
H A DCURLOPT_MAXCONNECTS.md26 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_MAXCONNECTS, long amount);
31 Pass a long. The set *amount* is the maximum number of connections that
H A DCURLMOPT_MAX_TOTAL_CONNECTIONS.md25 long amount);
30 Pass a long for the **amount**. The set number is used as the maximum number
H A DCURLOPT_WRITEFUNCTION.md44 thousands. The maximum amount of body data that is passed to the write
57 that amount differs from the amount passed to your callback function, it
H A DCURLINFO_SIZE_UPLOAD_T.md32 Pass a pointer to a *curl_off_t* to receive the total amount of bytes that
/curl/lib/
H A Dgopher.c145 size_t amount, len; in gopher_do() local
190 result = Curl_xfer_send(data, sel, k, FALSE, &amount); in gopher_do()
192 result = Curl_client_write(data, CLIENTWRITE_HEADER, sel, amount); in gopher_do()
196 k -= amount; in gopher_do()
197 sel += amount; in gopher_do()
232 result = Curl_xfer_send(data, "\r\n", 2, FALSE, &amount); in gopher_do()
H A Dheaders.c44 size_t amount, in copy_header_external() argument
51 h->amount = amount; in copy_header_external()
73 size_t amount = 0; in curl_easy_header() local
93 amount++; in curl_easy_header()
98 if(!amount) in curl_easy_header()
100 else if(nameindex >= amount) in curl_easy_header()
103 if(nameindex == amount - 1) in curl_easy_header()
137 size_t amount = 0; in curl_easy_nextheader() local
178 amount++; in curl_easy_nextheader()
180 index = amount - 1; in curl_easy_nextheader()
[all …]
H A Dbufq.c151 static size_t chunk_skip(struct buf_chunk *chunk, size_t amount) in chunk_skip() argument
156 n = CURLMIN(n, amount); in chunk_skip()
571 void Curl_bufq_skip(struct bufq *q, size_t amount) in Curl_bufq_skip() argument
575 while(amount && q->head) { in Curl_bufq_skip()
576 n = chunk_skip(q->head, amount); in Curl_bufq_skip()
577 amount -= n; in Curl_bufq_skip()
/curl/src/
H A Dtool_urlglob.c68 DEBUGASSERT(*amount >= 0); in multiply()
70 if((with <= 0) || (*amount <= 0)) { in multiply()
76 if(__builtin_mul_overflow(*amount, with, &sum)) in multiply()
79 sum = *amount * with; in multiply()
80 if(sum/with != *amount) in multiply()
84 *amount = sum; in multiply()
125 if(multiply(amount, pat->content.Set.size + 1)) in glob_set()
380 *amount = 1; in glob_parse()
457 curl_off_t amount = 0; in glob_url() local
476 res = glob_parse(glob_expand, url, 1, &amount); in glob_url()
[all …]
H A Dtool_writeout_json.c134 if(header->amount > 1) { in headerJSON()
138 size_t a = header->amount; in headerJSON()
/curl/include/curl/
H A Dheader.h34 size_t amount; /* number of headers using this name */ member
/curl/docs/cmdline-opts/
H A Dparallel-max.md20 the maximum amount of transfers to do simultaneously.
H A Dretry-delay.md18 Make curl sleep this amount of time before each retry when a transfer has
/curl/docs/examples/
H A Dheaderapi.c72 printf(" %s: %s (%u)\n", h->name, h->value, (int)h->amount); in main()
/curl/docs/libcurl/
H A Dcurl_easy_header.md42 header struct has **amount** set larger than 1, it means there are more
58 amount of requests used.
86 size_t amount;
102 **amount** is how many headers using this name that exist, within the origin
107 than 0 but is always less than **amount**.

Completed in 38 milliseconds

123