/curl/lib/ |
H A D | splay.c | 47 if(!t) in Curl_splay() 66 r = t; in Curl_splay() 67 t = t->smaller; in Curl_splay() 82 t = t->larger; in Curl_splay() 93 return t; in Curl_splay() 112 if(t) { in Curl_splayinsert() 113 t = Curl_splay(i, t); in Curl_splayinsert() 130 if(!t) { in Curl_splayinsert() 162 if(!t) { in Curl_splaygetbest() 168 t = Curl_splay(tv_zero, t); in Curl_splaygetbest() [all …]
|
H A D | curl_threads.c | 64 curl_thread_t t = malloc(sizeof(pthread_t)); in Curl_thread_create() local 66 if(!(ac && t)) in Curl_thread_create() 72 if(pthread_create(t, NULL, curl_thread_create_thunk, ac) != 0) in Curl_thread_create() 75 return t; in Curl_thread_create() 78 free(t); in Curl_thread_create() 112 curl_thread_t t; in Curl_thread_create() local 119 t = (curl_thread_t)thread_handle; in Curl_thread_create() 120 if((t == 0) || (t == LongToHandle(-1L))) { in Curl_thread_create() 129 return t; in Curl_thread_create()
|
H A D | splay.h | 39 struct Curl_tree *t); 42 struct Curl_tree *t, 46 struct Curl_tree *t, 49 int Curl_splayremove(struct Curl_tree *t,
|
H A D | http_proxy.h | 58 #define IS_HTTPS_PROXY(t) (((t) == CURLPROXY_HTTPS) || \ argument 59 ((t) == CURLPROXY_HTTPS2))
|
H A D | curl_sha512_256.c | 494 unsigned int t; in MHDx_sha512_256_transform() local 573 #define SHA512_GET_W_FROM_DATA(buf,t) \ in MHDx_sha512_256_transform() argument 575 ((const unsigned char*) (buf)) + (t) * SHA512_256_BYTES_IN_WORD) in MHDx_sha512_256_transform() 580 for(t = 0; t < 16; ++t) { in MHDx_sha512_256_transform() 581 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in MHDx_sha512_256_transform() 582 W[t] = SHA512_GET_W_FROM_DATA(data, t)); in MHDx_sha512_256_transform() 591 (curl_uint64_t)( (w)[(t - 16) & 15] + sig1((w)[((t) - 2) & 15]) \ in MHDx_sha512_256_transform() 592 + (w)[((t) - 7) & 15] + sig0((w)[((t) - 15) & 15]) ) in MHDx_sha512_256_transform() 597 for(t = 16; t < 80; ++t) { in MHDx_sha512_256_transform() 598 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in MHDx_sha512_256_transform() [all …]
|
H A D | cf-https-connect.c | 365 struct curltime t, tmax; in cf_get_max_baller_time() local 368 memset(&t, 0, sizeof(t)); in cf_get_max_baller_time() 370 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time() 371 if((t.tv_sec || t.tv_usec) && Curl_timediff_us(t, tmax) > 0) in cf_get_max_baller_time() 372 tmax = t; in cf_get_max_baller_time() 374 memset(&t, 0, sizeof(t)); in cf_get_max_baller_time() 376 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time() 377 if((t.tv_sec || t.tv_usec) && Curl_timediff_us(t, tmax) > 0) in cf_get_max_baller_time() 378 tmax = t; in cf_get_max_baller_time()
|
/curl/tests/http/clients/ |
H A D | h2-download.c | 181 t->idx, (long)blen, (long)t->recv_size, (long)t->pause_at); in my_write_cb() 185 t->out = fopen(t->filename, "wb"); in my_write_cb() 191 t->recv_size < t->pause_at && in my_write_cb() 192 ((t->recv_size + (curl_off_t)blen) >= t->pause_at)) { in my_write_cb() 204 if(t->fail_at > 0 && t->recv_size >= t->fail_at) { in my_write_cb() 206 t->idx, (long)t->recv_size); in my_write_cb() 221 if(t->abort_at > 0 && dlnow >= t->abort_at) { in my_progress_cb() 366 if(!t->easy || setup(t->easy, url, t, http_version)) { in main() 412 if(!t->done && t->paused && t->easy) { in main() 424 if(!t->done && t->paused) { in main() [all …]
|
/curl/tests/data/ |
H A D | test1086 | 28 Long chunk of data that couldn't possibly be sent in the time allotted. 29 Long chunk of data that couldn't possibly be sent in the time allotted. 30 Long chunk of data that couldn't possibly be sent in the time allotted. 31 Long chunk of data that couldn't possibly be sent in the time allotted. 32 Long chunk of data that couldn't possibly be sent in the time allotted. 33 Long chunk of data that couldn't possibly be sent in the time allotted. 34 Long chunk of data that couldn't possibly be sent in the time allotted. 35 Long chunk of data that couldn't possibly be sent in the time allotted. 36 Long chunk of data that couldn't possibly be sent in the time allotted. 37 Long chunk of data that couldn't possibly be sent in the time allotted. [all …]
|
H A D | test1112 | 28 Long chunk of data that couldn't possibly be sent in the time allotted. 29 Long chunk of data that couldn't possibly be sent in the time allotted. 30 Long chunk of data that couldn't possibly be sent in the time allotted. 31 Long chunk of data that couldn't possibly be sent in the time allotted. 32 Long chunk of data that couldn't possibly be sent in the time allotted. 33 Long chunk of data that couldn't possibly be sent in the time allotted. 34 Long chunk of data that couldn't possibly be sent in the time allotted. 35 Long chunk of data that couldn't possibly be sent in the time allotted. 36 Long chunk of data that couldn't possibly be sent in the time allotted. 37 Long chunk of data that couldn't possibly be sent in the time allotted. [all …]
|
H A D | DISABLED | 88 # The CRL test (313) doesn't work with rustls because rustls doesn't support 90 # Tests that rely on connecting to an IP address over TLS don't work because 91 # rustls doesn't support IP address certificates yet. That's the 400 series of 109 # The CRL test doesn't work with wolfSSL 113 # The CRL test doesn't work with BearSSL
|
H A D | test662 | 15 Location: http://example.net/tes t case=/%TESTNUMBER0002 30 Location: http://example.net/tes t case=/%TESTNUMBER0002 70 GET http://example.net/tes%20t%20case=/%TESTNUMBER0002 HTTP/1.1
|
H A D | test663 | 19 Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no 34 Location: http://example.net/there/it/is/../../tes t case=/%TESTNUMBER0002? yes no 74 GET http://example.net/there/tes%20t%20case=/%TESTNUMBER0002?+yes+no HTTP/1.1
|
H A D | test533 | 17 REPLY RETR 550 the file doesn't exist 18 REPLY SIZE 500 Can't check for file existence
|
H A D | test534 | 18 REPLY RETR 550 the file doesn't exist 19 REPLY SIZE 500 Can't check for file existence
|
/curl/tests/unit/ |
H A D | unit2603.c | 69 static void parse_success(struct tcase *t) in parse_success() argument 79 for(i = 0; t->input[i]; ++i) { in parse_success() 80 buf = t->input[i]; in parse_success() 83 nread = Curl_h1_req_parse_read(&p, buf, buflen, t->default_scheme, in parse_success() 101 if(t->input_remain != (in_len - in_consumed)) { in parse_success() 103 t->input_remain, in_len - in_consumed); in parse_success() 107 check_eq(p.req->method, t->method, "method"); in parse_success() 108 check_eq(p.req->scheme, t->scheme, "scheme"); in parse_success() 109 check_eq(p.req->authority, t->authority, "authority"); in parse_success() 110 check_eq(p.req->path, t->path, "path"); in parse_success() [all …]
|
H A D | unit1309.c | 40 static void splayprint(struct Curl_tree *t, int d, char output) in splayprint() argument 45 if(!t) in splayprint() 48 splayprint(t->larger, d + 1, output); in splayprint() 54 printf("%ld.%ld[%d]", (long)t->key.tv_sec, in splayprint() 55 (long)t->key.tv_usec, i); in splayprint() 58 for(count = 0, node = t->samen; node != t; node = node->samen, count++) in splayprint() 68 splayprint(t->smaller, d + 1, output); in splayprint()
|
/curl/docs/libcurl/ |
H A D | curl_getdate.md | 82 time_t t; 88 t = curl_getdate("Nov 6 08:49:37 1994", NULL); 90 t = curl_getdate("06-Nov-94 08:49:37", NULL); 91 t = curl_getdate("1994 Nov 6 08:49:37", NULL); 93 t = curl_getdate("94 6 Nov 08:49:37", NULL); 94 t = curl_getdate("1994 Nov 6", NULL); 95 t = curl_getdate("06-Nov-94", NULL); 96 t = curl_getdate("Sun Nov 6 94", NULL); 97 t = curl_getdate("1994.Nov.6", NULL); 98 t = curl_getdate("Sun/Nov/6/94/GMT", NULL); [all …]
|
/curl/.github/scripts/ |
H A D | badwords.txt | 18 don't:do not 20 doesn't:does not 21 isn't:is not 37 can't:cannot 46 didn't:did not 47 doesn't:does not 48 won't:will not 49 couldn't:could not
|
/curl/tests/http/ |
H A D | test_03_goaway.py | 62 t = Thread(target=long_run) 63 t.start() 68 t.join() 100 t = Thread(target=long_run) 101 t.start() 106 t.join() 133 t = Thread(target=long_run) 134 t.start() 139 t.join()
|
/curl/docs/examples/ |
H A D | http2-download.c | 107 struct transfer *t = (struct transfer *)userp; in my_trace() local 108 unsigned int num = t->num; in my_trace() 141 static void setup(struct transfer *t, int num) in setup() argument 146 hnd = t->easy = curl_easy_init(); in setup() 150 t->out = fopen(filename, "wb"); in setup() 151 if(!t->out) { in setup() 158 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, t->out); in setup() 166 curl_easy_setopt(hnd, CURLOPT_DEBUGDATA, t); in setup()
|
/curl/scripts/ |
H A D | cd2nroff | 121 my (@t) = @_; 124 if($t[0] eq "All") { 129 my @s = sort @t; 317 for my $t (@tls) { 318 if(!$knowntls{$t}) { 319 printf STDERR "$f:$line:1:ERROR: invalid TLS backend: $t:\n";
|
/curl/ |
H A D | GIT-INFO.md | 24 In environments that don't support configure (i.e. Windows), do this: 39 If you don't have perl and don't want to install it, you can rename the source 42 doesn't contain actual content.
|
/curl/tests/libtest/ |
H A D | first.c | 74 struct timeval t; in wait_ms() local 75 curlx_mstotv(&t, ms); in wait_ms() 76 select_wrapper(0, NULL, NULL, NULL, &t); in wait_ms()
|
/curl/docs/cmdline-opts/ |
H A D | telnet-option.md | 5 Short: t 14 - -t TTYPE=vt100 telnet://example.com/
|
/curl/.github/workflows/ |
H A D | hacktoberfest-accepted.yml | 49 grep -Eo "#([0-9]+)" log | cut -d# -f2 | sort | uniq | xargs -t -n1 -I{} \ 52 …rep -Eo '^([0-9]+):[0-9]{4}-(09-30T|10-|11-01T)' | cut -d: -f1 | sort | uniq | xargs -t -n1 -I {} \ 60 grep -Eo "github.com/(.+)/(.+)/pull/([0-9]+)" log | sort | uniq | xargs -t -n1 -I{} \ 63 …rep -Eo '^([0-9]+):[0-9]{4}-(09-30T|10-|11-01T)' | cut -d: -f1 | sort | uniq | xargs -t -n1 -I {} \
|