/curl/lib/ |
H A D | dynbuf.h | 32 #define Curl_dyn_init(a,b) curlx_dyn_init(a,b) argument 33 #define Curl_dyn_add(a,b) curlx_dyn_add(a,b) argument 34 #define Curl_dyn_addn(a,b,c) curlx_dyn_addn(a,b,c) argument 37 #define Curl_dyn_free(a) curlx_dyn_free(a) argument 38 #define Curl_dyn_ptr(a) curlx_dyn_ptr(a) argument 39 #define Curl_dyn_uptr(a) curlx_dyn_uptr(a) argument 40 #define Curl_dyn_len(a) curlx_dyn_len(a) argument 41 #define Curl_dyn_reset(a) curlx_dyn_reset(a) argument 42 #define Curl_dyn_tail(a,b) curlx_dyn_tail(a,b) argument 43 #define Curl_dyn_setlen(a,b) curlx_dyn_setlen(a,b) argument
|
H A D | md5.c | 289 MD5_u32plus a, b, c, d; member 316 #define MD5_STEP(f, a, b, c, d, x, t, s) \ argument 318 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \ 319 (a) += (b); 353 MD5_u32plus a, b, c, d; in my_md5_body() local 357 a = ctx->a; in my_md5_body() 365 saved_a = a; in my_md5_body() 442 a += saved_a; in my_md5_body() 450 ctx->a = a; in my_md5_body() 460 ctx->a = 0x67452301; in my_md5_init() [all …]
|
H A D | md4.c | 264 MD4_u32plus a, b, c, d; member 287 #define MD4_STEP(f, a, b, c, d, x, s) \ argument 288 (a) += f((b), (c), (d)) + (x); \ 289 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); 323 MD4_u32plus a, b, c, d; in my_md4_body() local 327 a = ctx->a; in my_md4_body() 335 saved_a = a; in my_md4_body() 394 a += saved_a; in my_md4_body() 402 ctx->a = a; in my_md4_body() 412 ctx->a = 0x67452301; in MD4_Init() [all …]
|
H A D | strcase.h | 38 #define strcasecompare(a,b) curl_strequal(a,b) argument 39 #define strncasecompare(a,b,c) curl_strnequal(a,b,c) argument 46 #define checkprefix(a,b) curl_strnequal(b, STRCONST(a)) argument 51 bool Curl_safecmp(char *a, char *b);
|
H A D | strcase.c | 177 bool Curl_safecmp(char *a, char *b) in Curl_safecmp() argument 179 if(a && b) in Curl_safecmp() 180 return !strcmp(a, b); in Curl_safecmp() 181 return !a && !b; in Curl_safecmp() 188 int Curl_timestrcmp(const char *a, const char *b) in Curl_timestrcmp() argument 193 if(a && b) { in Curl_timestrcmp() 195 match |= a[i]^b[i]; in Curl_timestrcmp() 196 if(!a[i] || !b[i]) in Curl_timestrcmp() 202 return a || b; in Curl_timestrcmp()
|
H A D | socketpair.c | 88 } a; in Curl_socketpair() local 90 curl_socklen_t addrlen = sizeof(a.inaddr); in Curl_socketpair() 101 memset(&a, 0, sizeof(a)); in Curl_socketpair() 102 a.inaddr.sin_family = AF_INET; in Curl_socketpair() 103 a.inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in Curl_socketpair() 104 a.inaddr.sin_port = 0; in Curl_socketpair() 124 if(bind(listener, &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair() 126 if(getsockname(listener, &a.addr, &addrlen) == -1 || in Curl_socketpair() 127 addrlen < (int)sizeof(a.inaddr)) in Curl_socketpair() 134 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
|
H A D | curl_base64.h | 30 #define Curl_base64_encode(a,b,c,d) curlx_base64_encode(a,b,c,d) argument 31 #define Curl_base64url_encode(a,b,c,d) curlx_base64url_encode(a,b,c,d) argument 32 #define Curl_base64_decode(a,b,c) curlx_base64_decode(a,b,c) argument
|
H A D | sha256.c | 267 #define WPA_GET_BE32(a) ((((unsigned long)(a)[0]) << 24) | \ argument 268 (((unsigned long)(a)[1]) << 16) | \ 269 (((unsigned long)(a)[2]) << 8) | \ 270 ((unsigned long)(a)[3])) 292 #define WPA_PUT_BE64(a, val) \ argument 294 (a)[0] = (unsigned char)(((unsigned __int64)(val)) >> 56); \ 295 (a)[1] = (unsigned char)(((unsigned __int64)(val)) >> 48); \ 296 (a)[2] = (unsigned char)(((unsigned __int64)(val)) >> 40); \ 297 (a)[3] = (unsigned char)(((unsigned __int64)(val)) >> 32); \ 298 (a)[4] = (unsigned char)(((unsigned __int64)(val)) >> 24); \ [all …]
|
/curl/tests/data/ |
H A D | test444 | 130 GET /a/b/%TESTNUMBER HTTP/1.1 141 attack.invalid FALSE /a/b/ FALSE 0 cookie-50 yes 142 attack.invalid FALSE /a/b/ FALSE 0 cookie-49 yes 143 attack.invalid FALSE /a/b/ FALSE 0 cookie-48 yes 144 attack.invalid FALSE /a/b/ FALSE 0 cookie-47 yes 145 attack.invalid FALSE /a/b/ FALSE 0 cookie-46 yes 146 attack.invalid FALSE /a/b/ FALSE 0 cookie-45 yes 182 attack.invalid FALSE /a/b/ FALSE 0 cookie-9 yes 183 attack.invalid FALSE /a/b/ FALSE 0 cookie-8 yes 184 attack.invalid FALSE /a/b/ FALSE 0 cookie-7 yes [all …]
|
H A D | test1185 | 28 int a = func (); 31 func(a, b , c); 37 func(a, b,c); 39 if(a == 2) { 76 if(a) b++; 95 int a = func (); 104 func(a, b , c); 110 func(a, b,c); 113 if(a == 2) { 119 if(a == 2){ [all …]
|
/curl/tests/certs/ |
H A D | Server-localhost0h-sv.crt | 21 00:df:29:93:58:82:1d:a2:b8:07:2a:b2:8f:93:0e: 22 df:15:49:72:06:93:19:4a:2d:c5:bd:56:92:5a:da: 23 f4:d3:9a:01:1c:ee:47:57:0e:9e:d8:d7:0d:c4:ce: 31 9a:5a:78:d1:11:51:25:0e:43:82:4a:d3:df:54:5a: 35 8d:bb:14:ff:4c:56:41:e4:2a:de:92:0a:ce:65:2c: 61 5a:b2:83:c0:94:ce:25:aa:a0:f4:b6:71:fb:16:b4:e0:10:3c: 62 9c:a0:db:2a:fc:b7:f8:97:64:cc:19:92:56:63:a9:e6:50:d6: 65 21:94:93:80:84:d0:6a:8a:5b:ae:11:be:79:3e:80:17:32:9e: 68 83:1a:c9:be:74:bb:ac:78:5c:d9:3e:fd:1f:9d:ac:19:5e:b3: 70 9d:62:66:cd:1e:6d:f1:67:7a:05:4a:58:6e:7a:a7:1f:2f:7c: [all …]
|
H A D | Server-localhost-lastSAN-sv.crt | 21 00:c8:84:fe:69:64:33:c3:dc:b5:74:8a:c7:b2:bb: 25 25:3c:f0:2e:03:1b:a8:a1:25:e1:83:9a:5c:bd:65: 28 4e:18:fd:6a:36:76:24:4a:57:d8:73:2f:13:42:a0: 61 64:64:d4:2a:2b:19:16:d1:0e:e9:b0:04:86:01:fb:ae:37:e4: 64 7e:0d:8e:03:f3:82:95:3e:88:dd:3c:ed:3a:aa:b4:e1:85:fb: 65 d8:ea:3f:6a:7d:34:b7:b3:df:b1:fe:2b:ec:af:e0:1c:9c:ec: 66 43:63:80:17:3a:32:ca:13:35:2d:c7:3d:3e:ac:aa:55:d6:1a: 68 0b:4d:24:a8:33:36:7a:21:f7:e2:86:9c:65:36:f3:7c:0c:4d: 69 be:f1:98:45:c3:27:e4:11:4a:7d:8a:e3:70:ae:fb:ac:9f:a6: 70 f4:0d:dc:a7:83:39:50:c3:1e:1a:95:68:0d:b0:56:8f:64:d2: [all …]
|
H A D | Server-localhost.nn-sv.crt | 21 00:a3:9a:e4:0f:e0:bd:93:a9:5a:a7:5e:ad:85:5e: 23 57:3d:68:ca:e2:cf:2f:46:67:1a:0c:af:0e:89:86: 24 01:06:df:d6:c9:80:15:0a:43:85:40:3f:da:ee:ee: 26 a9:93:62:e4:04:7a:b0:ab:25:3a:74:02:44:ea:f1: 27 31:89:94:29:74:a0:e2:bb:ae:e7:0f:f1:38:6a:87: 29 6d:d8:4a:c7:49:5c:16:ae:61:a7:06:3a:90:b4:df: 60 66:8f:f5:ea:6a:5d:58:b6:50:b0:5b:7b:1f:c1:54:d9:a3:bb: 61 36:1b:eb:19:4a:0e:1c:26:43:32:84:de:cb:c9:eb:08:9a:ee: 62 9d:d5:a6:62:3e:70:de:61:89:a9:d0:11:20:2a:a6:5c:19:ab: 72 ad:bd:6d:f1:dc:85:0f:dd:4d:21:9e:19:6a:97:b3:43:44:71: [all …]
|
H A D | Server-localhost-sv.crt | 21 00:c6:b8:04:3d:d6:fa:31:a0:d7:f7:e9:88:4b:5a: 22 5e:6f:6f:db:f4:c9:4b:7e:6c:2a:cf:34:7b:2a:ba: 23 1a:71:ad:7f:78:6c:f7:1e:ca:07:d0:29:03:49:e4: 27 b3:94:f2:be:d0:18:30:c5:52:49:cb:9a:60:cf:f3: 61 1a:e8:fc:f5:97:ba:63:bd:d0:a0:8b:85:2c:fc:f0:34:4a:97: 64 0f:84:e7:8e:17:94:1a:b3:f3:12:ab:26:fd:fa:73:31:33:36: 65 85:83:2d:e3:3a:f2:a6:29:c6:37:30:3d:17:d2:39:31:d1:56: 66 1b:8d:df:fb:07:ad:81:0b:91:e5:bd:7b:37:a0:a0:5a:2c:33: 68 0d:eb:01:95:fc:ac:0f:b5:34:a4:5f:35:5c:68:63:50:5a:69: 73 17:cd:1a:92:a3:c4:e8:85:d1:ad:34:0c:71:37:3f:6c:d3:7f: [all …]
|
H A D | Server-localhost-firstSAN-sv.crt | 26 ca:c8:83:17:74:5c:44:b2:1f:ac:f3:8b:c5:6a:34: 31 2b:12:07:12:0d:59:cc:bb:4d:1a:33:c0:7a:7e:e5: 35 f2:4a:78:52:d2:c5:fc:4f:11:63:f1:4e:77:ae:0a: 60 75:0d:9b:eb:8a:df:ca:a7:7c:9d:9e:6a:eb:30:10:24:12:1b: 61 81:f6:cd:b0:a0:f8:de:10:f1:6e:b8:57:3a:3a:b0:a4:8c:1d: 62 c1:8f:95:22:e3:1f:8b:3a:21:89:e5:96:08:3d:83:33:37:66: 63 48:03:f7:98:dd:2f:6d:09:7a:82:26:c1:eb:16:b9:5e:5b:f5: 64 67:4c:a0:e7:93:e7:2e:d4:53:b8:77:5f:5e:6a:3a:d9:06:19: 65 ca:85:ca:7c:09:61:0d:08:8b:6a:b3:e2:03:8c:ea:b1:55:b2: 66 30:9b:aa:66:0e:6e:d7:0a:0a:22:ca:6d:8d:d8:53:a8:bc:df: [all …]
|
H A D | Server-localhost0h-sv.pem | 89 df:15:49:72:06:93:19:4a:2d:c5:bd:56:92:5a:da: 98 9a:5a:78:d1:11:51:25:0e:43:82:4a:d3:df:54:5a: 102 8d:bb:14:ff:4c:56:41:e4:2a:de:92:0a:ce:65:2c: 128 5a:b2:83:c0:94:ce:25:aa:a0:f4:b6:71:fb:16:b4:e0:10:3c: 129 9c:a0:db:2a:fc:b7:f8:97:64:cc:19:92:56:63:a9:e6:50:d6: 132 21:94:93:80:84:d0:6a:8a:5b:ae:11:be:79:3e:80:17:32:9e: 135 83:1a:c9:be:74:bb:ac:78:5c:d9:3e:fd:1f:9d:ac:19:5e:b3: 136 00:66:38:71:7e:06:2e:fe:1a:c0:ad:f7:82:1d:85:6d:3d:3c: 137 9d:62:66:cd:1e:6d:f1:67:7a:05:4a:58:6e:7a:a7:1f:2f:7c: 140 49:25:eb:d2:cd:9b:08:b4:5f:6e:aa:4a:2d:6c:5b:89:67:7f: [all …]
|
/curl/docs/examples/ |
H A D | version-check.pl | 48 my @a=split(/ +/, $rest); 50 $doc{$sym}=$a[0]; # when it was introduced 52 if($a[2]) { 55 $rem{$sym}=$a[2]; 83 my $r = age($doc{$a}) <=> age($doc{$b}); 85 $r = $a cmp $b;
|
/curl/tests/unit/ |
H A D | unit1614.c | 39 const char *a; member 46 const char *a; member 126 for(i = 0; list4[i].a; i++) { 127 bool match = Curl_cidr4_match(list4[i].a, list4[i].n, list4[i].bits); 130 list4[i].a, list4[i].n, list4[i].bits, 135 for(i = 0; list6[i].a; i++) { 136 bool match = Curl_cidr6_match(list6[i].a, list6[i].n, list6[i].bits); 139 list6[i].a, list6[i].n, list6[i].bits, 144 for(i = 0; list[i].a; i++) { 145 bool match = Curl_check_noproxy(list[i].a, list[i].n); [all …]
|
/curl/tests/libtest/ |
H A D | lib1537.c | 30 const unsigned char a[] = {0x2f, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, in test() local 45 asize = (int)sizeof(a); in test() 46 ptr = curl_easy_escape(NULL, (char *)a, asize); in test() 51 ptr = curl_escape((char *)a, asize); in test() 61 memcmp(raw, a, outlen) ? "no" : "YES"); in test() 73 memcmp(raw, a, outlen) ? "no" : "YES"); in test() 78 ptr = curl_easy_escape(NULL, (char *)a, -1); in test()
|
/curl/docs/cmdline-opts/ |
H A D | form.md | 23 For the HTTP protocol family, emulate a filled-in form in which a user has 33 \< is then that @ makes a file get attached in the post as a file upload, 35 from a file. 37 Read content from stdin instead of a file by using a single "-" as filename. 40 resend. Defining a part's data from a named non-regular file (such as a named 54 Example: send your essay in a text field to the server. Send it as a plain 102 Here is an example of a header file contents: 105 X-header-1: this is a header 116 followed by a content type specification. 118 - a multipart can be terminated with a '=)' argument. [all …]
|
H A D | variable.md | 18 Set a variable with `name=content` or `name@file` (where `file` can be stdin 19 if set to a single dash (`-`)). The name is a case sensitive identifier that 20 must consist of no other letters than a-z, A-Z, 0-9 or underscore. The 25 The contents of a variable can be referenced in a later command line option 30 require the environment variable to be set or provide a default value for the 34 that environment variable is not already set. To provide a default value if 39 When expanding variables, curl supports a set of functions that can make the 40 variable contents more convenient to use. You apply a function to a variable 41 expansion by adding a colon and then list the desired functions in a 42 comma-separated list that is evaluated in a left-to-right order. Variable
|
H A D | progress-bar.md | 6 Help: Display transfer progress as a bar 19 Make curl display transfer progress as a simple progress bar instead of the 22 This progress bar draws a single line of '#' characters across the screen and 23 shows a percentage if the transfer size is known. For transfers without a 24 known size, there is a space ship (-=o=-) that moves back and forth but only 25 while data is being transferred, with a set of flying hash sign symbols on
|
H A D | cert.md | 22 Use the specified client certificate file when getting a file with HTTPS, FTPS 26 that this option assumes a certificate file that is the private key and the 36 then a PKCS#11 URI (RFC 7512) can be used to specify a certificate located in 37 a PKCS#11 device. A string beginning with `pkcs11:` is interpreted as a 38 PKCS#11 URI. If a PKCS#11 URI is provided, then the --engine option is set as 43 certificate string can either be the name of a certificate/private key in the 44 system or user keychain, or the path to a PKCS#12-encoded certificate and 45 private key. If you want to use a file from the current directory, please 46 precede it with `./` prefix, in order to avoid confusion with a nickname. 49 a certificate store. (Loading *PFX* is not supported; you can import it to a [all …]
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_FTPPORT.md | 28 Pass a pointer to a null-terminated string as parameter. It specifies that the 32 The PORT instruction tells the remote server to do a TCP connect to our 33 specified IP address. The string may be a plain IP address, a hostname, a 34 network interface name (under Unix) or just a '-' symbol to let the library 38 The address can be followed by a ':' to specify a port, optionally followed by 39 a '-' to specify a port range. If the port specified is 0, the operating 40 system picks a free port. If a range is provided and all ports in the range 42 handle. Invalid port/range settings are ignored. IPv6 addresses followed by a 55 We strongly advise against specifying the address with a name, as it causes 56 libcurl to do a blocking name resolve call to retrieve the IP address. That
|
H A D | CURLOPT_NOBODY.md | 32 output when doing what would otherwise be a download. For HTTP(S), this makes 33 libcurl do a HEAD request. For most other protocols it means just not asking 37 option (with 0) makes it a GET again - only if the method is still set to be 38 HEAD. The proper way to get back to a GET request is to set 42 Enabling CURLOPT_NOBODY(3) means asking for a download without a body. 44 If you do a transfer with HTTP that involves a method other than HEAD, you get 45 a body (unless the resource and server sends a zero byte body for the specific 61 /* get us the resource without a body - use HEAD! */
|