/curl/tests/libtest/ |
H A D | lib1591.c | 39 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 D | lib1940.c | 56 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 D | lib552.c | 133 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 D | lib1525.c | 39 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 40 if(amount < strlen(testdata)) { in read_callback()
|
H A D | lib1527.c | 38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 39 if(amount < strlen(testdata)) { in read_callback()
|
H A D | lib1526.c | 38 size_t amount = nmemb * size; /* Total bytes curl wants */ in read_callback() local 39 if(amount < strlen(testdata)) { in read_callback()
|
H A D | lib1945.c | 40 (int)header->index, (int)header->amount); in showem()
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_EARLYDATA_SENT_T.md | 27 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 D | CURLINFO_SIZE_DOWNLOAD_T.md | 33 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 D | CURLINFO_SIZE_DOWNLOAD.md | 32 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 D | CURLOPT_MAXREDIRS.md | 25 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 D | CURLOPT_MAXCONNECTS.md | 26 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 D | CURLMOPT_MAX_TOTAL_CONNECTIONS.md | 25 long amount); 30 Pass a long for the **amount**. The set number is used as the maximum number
|
H A D | CURLOPT_WRITEFUNCTION.md | 44 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 D | CURLINFO_SIZE_UPLOAD_T.md | 32 Pass a pointer to a *curl_off_t* to receive the total amount of bytes that
|
/curl/lib/ |
H A D | gopher.c | 145 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 D | headers.c | 44 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 D | bufq.c | 151 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 D | tool_urlglob.c | 68 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 D | tool_writeout_json.c | 134 if(header->amount > 1) { in headerJSON() 138 size_t a = header->amount; in headerJSON()
|
/curl/include/curl/ |
H A D | header.h | 34 size_t amount; /* number of headers using this name */ member
|
/curl/docs/cmdline-opts/ |
H A D | parallel-max.md | 20 the maximum amount of transfers to do simultaneously.
|
H A D | retry-delay.md | 18 Make curl sleep this amount of time before each retry when a transfer has
|
/curl/docs/examples/ |
H A D | headerapi.c | 72 printf(" %s: %s (%u)\n", h->name, h->value, (int)h->amount); in main()
|
/curl/docs/libcurl/ |
H A D | curl_easy_header.md | 42 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**.
|