Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 86) sorted by relevance

1234

/curl/lib/
H A Dstrparse.c31 const size_t max, char delim) in Curl_str_until() argument
41 if(++len > max) { in Curl_str_until()
56 const size_t max) in Curl_str_word() argument
58 return Curl_str_until(linep, out, max, ' '); in Curl_str_word()
65 const size_t max) in Curl_str_quotedword() argument
69 DEBUGASSERT(linep && *linep && out && max); in Curl_str_quotedword()
78 if(++len > max) in Curl_str_quotedword()
136 if(num > max) in str_num_base()
148 return str_num_base(linep, nump, max, 10); in Curl_str_number()
155 return str_num_base(linep, nump, max, 16); in Curl_str_hex()
[all …]
H A Dstrequal.c53 static int ncasecompare(const char *first, const char *second, size_t max) in ncasecompare() argument
55 while(*first && max) { in ncasecompare()
58 max--; in ncasecompare()
62 if(0 == max) in ncasecompare()
80 int curl_strnequal(const char *first, const char *second, size_t max) in curl_strnequal() argument
84 return ncasecompare(first, second, max); in curl_strnequal()
87 return NULL == first && NULL == second && max; in curl_strnequal()
H A Dstrparse.h45 int Curl_str_word(const char **linep, struct Curl_str *out, const size_t max);
49 int Curl_str_until(const char **linep, struct Curl_str *out, const size_t max,
55 const size_t max);
66 int Curl_str_number(const char **linep, curl_off_t *nump, curl_off_t max);
69 int Curl_str_hex(const char **linep, curl_off_t *nump, curl_off_t max);
72 int Curl_str_octal(const char **linep, curl_off_t *nump, curl_off_t max);
H A Dgetenv.c45 const DWORD max = 32768; /* max env var size from MSCRT source */ in GetEnv()
60 if(!rc || rc == bufsize || rc > max) { in GetEnv()
/curl/docs/cmdline-opts/
H A Dmax-time.md4 Long: max-time
13 - retry-max-time
15 - --max-time 10 $URL
16 - --max-time 2.92 $URL
19 # `--max-time`
26 reset each time the transfer is retried. You can use --retry-max-time to limit
H A Dtls-max.md4 Long: tls-max
19 - --tls-max 1.2 $URL
20 - --tls-max 1.3 --tlsv1.2 $URL
23 # `--tls-max`
H A Dretry-max-time.md4 Long: retry-max-time
13 - --retry-max-time 30 --retry 10 $URL
16 # `--retry-max-time`
22 limit a single request's maximum time, use --max-time. Set this option to zero
H A Dparallel-max.md4 Long: parallel-max
14 - --parallel-max 100 -Z $URL ftp://example.com/
17 # `--parallel-max`
H A Dmax-redirs.md4 Long: max-redirs
14 - --max-redirs 3 --location $URL
17 # `--max-redirs`
H A Dmax-filesize.md4 Long: max-filesize
14 - --max-filesize 100K $URL
17 # `--max-filesize`
H A Dtlsv1.1.md12 - tls-max
22 That behavior was inconsistent depending on the TLS library. Use --tls-max if
H A Dtlsv1.2.md12 - tls-max
22 That behavior was inconsistent depending on the TLS library. Use --tls-max if
/curl/docs/libcurl/opts/
H A DCURLMOPT_MAX_CONCURRENT_STREAMS.md17 CURLMOPT_MAX_CONCURRENT_STREAMS - max concurrent streams for http2
25 long max);
30 Pass a long indicating the **max**. The set number is used as the maximum
49 /* max concurrent streams 200 */
/curl/tests/data/
H A Dtest2747 --max-redirs
28 HTTP Location: following with --max-redirs 0
31 http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -L --max-redirs 0
H A Dtest42122 access-control-max-age: 1728000
27 cache-control: max-age=0, private, must-revalidate
29 strict-transport-security: max-age=31536000; includeSubDomains
72 "access-control-max-age":["1728000"],
76 "cache-control":["max-age=0, private, must-revalidate"],
78 "strict-transport-security":["max-age=31536000; includeSubDomains"],
H A Dtest3936 --max-filesize
37 HTTP max-filesize and out-of-range Content-Length
40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2000000
H A Dtest141017 Pass in negative number to --max-time
20 http://%HOSTIP:%NOLISTENPORT/%TESTNUMBER --max-time -4
H A Dtest30186 --max-filesize
31 MQTT SUBSCRIBE with PUBLISH larger than --max-filesize
34 mqtt://%HOSTIP:%MQTTPORT/%TESTNUMBER --max-filesize 11
H A Dtest2905 --max-filesize
24 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 30
H A Dtest2916 --max-filesize
30 ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --max-filesize 100
H A Dtest36630 HTTP --retry-max-time with too long Retry-After
33 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --retry 2 --retry-max-time 10
H A Dtest2926 --max-filesize
39 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 1000
H A Dtest2936 --max-filesize
40 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-filesize 2
/curl/docs/examples/
H A Dftpuploadfrommem.c51 size_t max = size*nmemb; in read_callback() local
53 if(max < 1) in read_callback()
57 size_t copylen = max; in read_callback()
/curl/tests/unit/
H A Dunit1655.c50 static const char max[] = variable
99 { max, DOH_OK } /* expect buffer overwrite */
118 if(name == max) {

Completed in 34 milliseconds

1234