/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 | 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 | 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 …]
|
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.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 …]
|
/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 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/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 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
|
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/ |
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 …]
|
/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! */
|