/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 | 292 MD5_u32plus a, b, c, d; member 319 #define MD5_STEP(f, a, b, c, d, x, t, s) \ argument 321 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); \ 322 (a) += (b); 356 MD5_u32plus a, b, c, d; in my_md5_body() local 360 a = ctx->a; in my_md5_body() 368 saved_a = a; in my_md5_body() 445 a += saved_a; in my_md5_body() 453 ctx->a = a; in my_md5_body() 464 ctx->a = 0x67452301; in my_md5_init() [all …]
|
H A D | md4.c | 267 MD4_u32plus a, b, c, d; member 290 #define MD4_STEP(f, a, b, c, d, x, s) \ argument 291 (a) += f((b), (c), (d)) + (x); \ 292 (a) = (((a) << (s)) | (((a) & 0xffffffff) >> (32 - (s)))); 326 MD4_u32plus a, b, c, d; in my_md4_body() local 330 a = ctx->a; in my_md4_body() 338 saved_a = a; in my_md4_body() 397 a += saved_a; in my_md4_body() 405 ctx->a = a; in my_md4_body() 415 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 | 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 | 270 #define WPA_GET_BE32(a) ((((unsigned long)(a)[0]) << 24) | \ argument 271 (((unsigned long)(a)[1]) << 16) | \ 272 (((unsigned long)(a)[2]) << 8) | \ 273 ((unsigned long)(a)[3])) 295 #define WPA_PUT_BE64(a, val) \ argument 297 (a)[0] = (unsigned char)(((unsigned __int64)(val)) >> 56); \ 298 (a)[1] = (unsigned char)(((unsigned __int64)(val)) >> 48); \ 299 (a)[2] = (unsigned char)(((unsigned __int64)(val)) >> 40); \ 300 (a)[3] = (unsigned char)(((unsigned __int64)(val)) >> 32); \ 301 (a)[4] = (unsigned char)(((unsigned __int64)(val)) >> 24); \ [all …]
|
H A D | socketpair.c | 137 } a; in Curl_socketpair() local 139 curl_socklen_t addrlen = sizeof(a.inaddr); in Curl_socketpair() 150 memset(&a, 0, sizeof(a)); in Curl_socketpair() 151 a.inaddr.sin_family = AF_INET; in Curl_socketpair() 152 a.inaddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in Curl_socketpair() 153 a.inaddr.sin_port = 0; in Curl_socketpair() 173 if(bind(listener, &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair() 175 if(getsockname(listener, &a.addr, &addrlen) == -1 || in Curl_socketpair() 176 addrlen < (int)sizeof(a.inaddr)) in Curl_socketpair() 183 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair()
|
/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) { 78 if(a) b++; 97 int a = func (); 106 func(a, b , c); 112 func(a, b,c); 115 if(a == 2) { 121 if(a == 2){ [all …]
|
H A D | test475 | 21 %repeat[1750 x a line of text used for verifying this !%0d%0a]% 23 %repeat[1750 x a line of text used for verifying this !%0a]% 27 "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt 37 %repeat[1750 x a line of text used for verifying this !%0a]%
|
/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-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 …]
|
/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/docs/cmdline-opts/ |
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 43 a certificate located in a PKCS#11 device. A string beginning with `pkcs11:` 44 is interpreted as a PKCS#11 URI. 48 system or user keychain, or the path to a PKCS#12-encoded certificate and 49 private key. If you want to use a file from the current directory, please 50 precede it with `./` prefix, in order to avoid confusion with a nickname. 53 a certificate store. (Loading *PFX* is not supported; you can import it to a [all …]
|
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 105 Here is an example of a header file contents: 108 X-header-1: this is a header 119 followed by a content type specification. 121 - 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
|
/curl/tests/unit/ |
H A D | unit1614.c | 39 const char *a; member 46 const char *a; member 134 for(i = 0; list4[i].a; i++) { 135 bool match = Curl_cidr4_match(list4[i].a, list4[i].n, list4[i].bits); 138 list4[i].a, list4[i].n, list4[i].bits, 144 for(i = 0; list6[i].a; i++) { 145 bool match = Curl_cidr6_match(list6[i].a, list6[i].n, list6[i].bits); 148 list6[i].a, list6[i].n, list6[i].bits, 154 for(i = 0; list[i].a; i++) { 155 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/libcurl/opts/ |
H A D | CURLOPT_FTPPORT.md | 29 Pass a pointer to a null-terminated string as parameter. It specifies that the 33 The PORT instruction tells the remote server to do a TCP connect to our 34 specified IP address. The string may be a plain IP address, a hostname, a 35 network interface name (under Unix) or just a '-' symbol to let the library 39 The address can be followed by a ':' to specify a port, optionally followed by 40 a '-' to specify a port range. If the port specified is 0, the operating 41 system picks a free port. If a range is provided and all ports in the range 43 handle. Invalid port/range settings are ignored. IPv6 addresses followed by a 54 We strongly advise against specifying the address with a name, as it causes 55 libcurl to do a blocking name resolve call to retrieve the IP address. That
|
H A D | CURLOPT_NOBODY.md | 33 output when doing what would otherwise be a download. For HTTP(S), this makes 34 libcurl do a HEAD request. For most other protocols it means just not asking 38 option (with 0) makes it a GET again - only if the method is still set to be 39 HEAD. The proper way to get back to a GET request is to set 43 Enabling CURLOPT_NOBODY(3) means asking for a download without a body. 45 If you do a transfer with HTTP that involves a method other than HEAD, you get 46 a body (unless the resource and server sends a zero byte body for the specific 64 /* get us the resource without a body - use HEAD */
|
/curl/docs/libcurl/ |
H A D | curl_mime_encoder.md | 20 curl_mime_encoder - set a mime part's encoder and content transfer encoding 36 *encoding* is a pointer to a null-terminated encoding scheme. It may be 44 pertaining scheme and a corresponding *"Content-Transfer-Encoding"* header 54 to be a 7-bit value; if not, a read error occurs. 66 If the original data is already encoded in such a scheme, a custom 68 curl_mime_headers(3) instead of setting a part encoder. 71 a part with content set with curl_mime_subparts(3) is strongly 86 /* create a mime handle */ 89 /* add a part */ 92 /* send a file */ [all …]
|
H A D | curl_mime_type.md | 20 curl_mime_type - set a mime part's content type 32 curl_mime_type(3) sets a mime part's content type. 37 set to NULL to remove a previously attached mime type. 43 In the absence of a mime type and if needed by the protocol specifications, 44 a default mime type is determined by the context: 46 - If set as a custom header, use this value. 50 - If a remote filename is set, the mime type is taken from the filename 53 - For a multipart part, multipart/mixed. 69 /* create a mime handle */ 72 /* add a part */ [all …]
|