/curl/lib/ |
H A D | splay.c | 48 if(!t) in Curl_splay() 68 t = t->smaller; in Curl_splay() 83 t = t->larger; in Curl_splay() 94 return t; in Curl_splay() 112 if(t) { in Curl_splayinsert() 113 t = Curl_splay(i, t); in Curl_splayinsert() 131 if(!t) { in Curl_splayinsert() 163 if(!t) { in Curl_splaygetbest() 169 t = Curl_splay(tv_zero, t); in Curl_splaygetbest() 222 if(!t) in Curl_splayremove() [all …]
|
H A D | curl_threads.c | 66 curl_thread_t t = malloc(sizeof(pthread_t)); in Curl_thread_create() local 68 if(!(ac && t)) in Curl_thread_create() 74 if(pthread_create(t, NULL, curl_thread_create_thunk, ac) != 0) in Curl_thread_create() 77 return t; in Curl_thread_create() 80 free(t); in Curl_thread_create() 119 curl_thread_t t; in Curl_thread_create() local 126 t = (curl_thread_t)thread_handle; in Curl_thread_create() 127 if((t == 0) || (t == LongToHandle(-1L))) { in Curl_thread_create() 136 return t; in Curl_thread_create()
|
H A D | splay.h | 40 struct Curl_tree *t); 43 struct Curl_tree *t, 47 struct Curl_tree *t, 50 int Curl_splayremove(struct Curl_tree *t,
|
H A D | curl_sha512_256.c | 494 unsigned int t; in Curl_sha512_256_transform() local 573 #define SHA512_GET_W_FROM_DATA(buf,t) \ in Curl_sha512_256_transform() argument 575 ((const unsigned char*) (buf)) + (t) * SHA512_256_BYTES_IN_WORD) in Curl_sha512_256_transform() 580 for(t = 0; t < 16; ++t) { in Curl_sha512_256_transform() 581 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in Curl_sha512_256_transform() 582 W[t] = SHA512_GET_W_FROM_DATA(data, t)); in Curl_sha512_256_transform() 591 (curl_uint64_t)( (w)[(t - 16) & 15] + sig1((w)[((t) - 2) & 15]) \ in Curl_sha512_256_transform() 592 + (w)[((t) - 7) & 15] + sig0((w)[((t) - 15) & 15]) ) in Curl_sha512_256_transform() 597 for(t = 16; t < 80; ++t) { in Curl_sha512_256_transform() 598 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in Curl_sha512_256_transform() [all …]
|
H A D | http_proxy.h | 64 #define IS_HTTPS_PROXY(t) (((t) == CURLPROXY_HTTPS) || \ argument 65 ((t) == CURLPROXY_HTTPS2))
|
/curl/tests/http/clients/ |
H A D | hx-upload.c | 185 t->idx, (long)blen, (long)t->recv_size, (long)t->pause_at); in my_write_cb() 189 t->out = fopen(t->filename, "wb"); in my_write_cb() 210 if(t->send_total <= t->send_size) in my_read_cb() 218 t->idx, (long)nread, (long)t->send_total, (long)t->pause_at); in my_read_cb() 221 t->send_size < t->pause_at && in my_read_cb() 230 if(t->fail_at > 0 && t->send_size >= t->fail_at) { in my_read_cb() 232 t->idx, (long)t->send_size); in my_read_cb() 494 if(!t->easy || setup(t->easy, url, t, http_version, host, share, in main() 546 if(!t->done && t->paused && t->easy) { in main() 558 if(!t->done && t->paused) { in main() [all …]
|
H A D | hx-download.c | 186 t->idx, (long)blen, (long)t->recv_size, (long)t->pause_at); in my_write_cb() 187 if(!t->out) { in my_write_cb() 190 t->out = fopen(t->filename, "wb"); in my_write_cb() 191 if(!t->out) in my_write_cb() 196 t->recv_size < t->pause_at && in my_write_cb() 197 ((t->recv_size + (curl_off_t)blen) >= t->pause_at)) { in my_write_cb() 209 if(t->fail_at > 0 && t->recv_size >= t->fail_at) { in my_write_cb() 211 t->idx, (long)t->recv_size); in my_write_cb() 226 if(t->abort_at > 0 && dlnow >= t->abort_at) { in my_progress_cb() 493 if(!t->done && t->paused && t->easy) { in main() [all …]
|
/curl/tests/data/ |
H A D | test1086 | 26 Long chunk of data that couldn't possibly be sent in the time allotted. 27 Long chunk of data that couldn't possibly be sent in the time allotted. 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. [all …]
|
H A D | test1112 | 26 Long chunk of data that couldn't possibly be sent in the time allotted. 27 Long chunk of data that couldn't possibly be sent in the time allotted. 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. [all …]
|
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
|
/curl/tests/unit/ |
H A D | unit2603.c | 70 static void parse_success(struct tcase *t) in parse_success() argument 80 for(i = 0; t->input[i]; ++i) { in parse_success() 81 buf = t->input[i]; in parse_success() 84 nread = Curl_h1_req_parse_read(&p, buf, buflen, t->default_scheme, in parse_success() 102 if(t->input_remain != (in_len - in_consumed)) { in parse_success() 104 t->input_remain, in_len - in_consumed); in parse_success() 108 check_eq(p.req->method, t->method, "method"); in parse_success() 109 check_eq(p.req->scheme, t->scheme, "scheme"); in parse_success() 110 check_eq(p.req->authority, t->authority, "authority"); in parse_success() 111 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 | 85 time_t t; 91 t = curl_getdate("Nov 6 08:49:37 1994", NULL); 93 t = curl_getdate("06-Nov-94 08:49:37", NULL); 94 t = curl_getdate("1994 Nov 6 08:49:37", NULL); 96 t = curl_getdate("94 6 Nov 08:49:37", NULL); 97 t = curl_getdate("1994 Nov 6", NULL); 98 t = curl_getdate("06-Nov-94", NULL); 99 t = curl_getdate("Sun Nov 6 94", NULL); 100 t = curl_getdate("1994.Nov.6", NULL); 101 t = curl_getdate("Sun/Nov/6/94/GMT", NULL); [all …]
|
/curl/tests/http/ |
H A D | test_03_goaway.py | 61 t = Thread(target=long_run) 62 t.start() 67 t.join() 97 t = Thread(target=long_run) 98 t.start() 103 t.join() 130 t = Thread(target=long_run) 131 t.start() 136 t.join()
|
/curl/.github/scripts/ |
H A D | badwords.txt | 28 don't=do not 30 doesn't:does not 31 isn't:is not 32 aren't:are not 47 can't:cannot 57 didn't:did not 58 doesn't:does not 59 won't:will not 60 couldn't:could not
|
/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/CMake/ |
H A D | FindLibuv.cmake | 60 set(_version_regex1 "#[\t ]*define[\t ]+UV_VERSION_MAJOR[\t ]+([0-9]+).*") 61 set(_version_regex2 "#[\t ]*define[\t ]+UV_VERSION_MINOR[\t ]+([0-9]+).*") 62 set(_version_regex3 "#[\t ]*define[\t ]+UV_VERSION_PATCH[\t ]+([0-9]+).*")
|
H A D | FindLibssh.cmake | 60 set(_version_regex1 "#[\t ]*define[\t ]+LIBSSH_VERSION_MAJOR[\t ]+([0-9]+).*") 61 set(_version_regex2 "#[\t ]*define[\t ]+LIBSSH_VERSION_MINOR[\t ]+([0-9]+).*") 62 set(_version_regex3 "#[\t ]*define[\t ]+LIBSSH_VERSION_MICRO[\t ]+([0-9]+).*")
|
H A D | FindCares.cmake | 60 set(_version_regex1 "#[\t ]*define[\t ]+ARES_VERSION_MAJOR[\t ]+([0-9]+).*") 61 set(_version_regex2 "#[\t ]*define[\t ]+ARES_VERSION_MINOR[\t ]+([0-9]+).*") 62 set(_version_regex3 "#[\t ]*define[\t ]+ARES_VERSION_PATCH[\t ]+([0-9]+).*")
|
H A D | FindZstd.cmake | 69 set(_version_regex1 "#[\t ]*define[ \t]+ZSTD_VERSION_MAJOR[ \t]+([0-9]+).*") 70 set(_version_regex2 "#[\t ]*define[ \t]+ZSTD_VERSION_MINOR[ \t]+([0-9]+).*") 71 set(_version_regex3 "#[\t ]*define[ \t]+ZSTD_VERSION_RELEASE[ \t]+([0-9]+).*")
|
H A D | FindLDAP.cmake | 77 set(_version_regex1 "#[\t ]*define[\t ]+LDAP_VENDOR_VERSION_MAJOR[\t ]+([0-9]+).*") 78 set(_version_regex2 "#[\t ]*define[\t ]+LDAP_VENDOR_VERSION_MINOR[\t ]+([0-9]+).*") 79 set(_version_regex3 "#[\t ]*define[\t ]+LDAP_VENDOR_VERSION_PATCH[\t ]+([0-9]+).*")
|
H A D | FindNettle.cmake | 60 set(_version_regex1 "#[\t ]*define[ \t]+NETTLE_VERSION_MAJOR[ \t]+([0-9]+).*") 61 set(_version_regex2 "#[\t ]*define[ \t]+NETTLE_VERSION_MINOR[ \t]+([0-9]+).*")
|
/curl/scripts/ |
H A D | cd2nroff | 131 my (@t) = @_; 134 if($t[0] eq "All") { 137 elsif($t[0] eq "none") { 142 my @s = sort @t; 349 for my $t (@tls) { 350 if(!$knowntls{$t}) { 351 printf STDERR "$f:$line:1:ERROR: invalid TLS backend: $t:\n";
|
/curl/tests/ |
H A D | test1707.pl | 124 my $t = substr($txtout[$i], $c, 1); 125 if($o ne $t) { 127 print "file col %d: %02x\n", $c, ord($t);
|
/curl/docs/cmdline-opts/ |
H A D | telnet-option.md | 5 Short: t 14 - -t TTYPE=vt100 telnet://example.com/
|