Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 196) sorted by relevance

12345678

/curl/lib/
H A Dsplay.c48 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 Dcurl_threads.c66 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 Dsplay.h40 struct Curl_tree *t);
43 struct Curl_tree *t,
47 struct Curl_tree *t,
50 int Curl_splayremove(struct Curl_tree *t,
H A Dcurl_sha512_256.c500 unsigned int t; in MHDx_sha512_256_transform() local
579 #define SHA512_GET_W_FROM_DATA(buf,t) \ in MHDx_sha512_256_transform() argument
581 ((const unsigned char*) (buf)) + (t) * SHA512_256_BYTES_IN_WORD) in MHDx_sha512_256_transform()
586 for(t = 0; t < 16; ++t) { in MHDx_sha512_256_transform()
587 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in MHDx_sha512_256_transform()
588 W[t] = SHA512_GET_W_FROM_DATA(data, t)); in MHDx_sha512_256_transform()
597 (curl_uint64_t)( (w)[(t - 16) & 15] + sig1((w)[((t) - 2) & 15]) \ in MHDx_sha512_256_transform()
598 + (w)[((t) - 7) & 15] + sig0((w)[((t) - 15) & 15]) ) in MHDx_sha512_256_transform()
603 for(t = 16; t < 80; ++t) { in MHDx_sha512_256_transform()
604 SHA2STEP64RV(a, b, c, d, e, f, g, h, K[t], \ in MHDx_sha512_256_transform()
[all …]
H A Dhttp_proxy.h58 #define IS_HTTPS_PROXY(t) (((t) == CURLPROXY_HTTPS) || \ argument
59 ((t) == CURLPROXY_HTTPS2))
H A Dcf-https-connect.c426 struct curltime t, tmax; in cf_get_max_baller_time() local
429 memset(&t, 0, sizeof(t)); in cf_get_max_baller_time()
431 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time()
432 if((t.tv_sec || t.tv_usec) && Curl_timediff_us(t, tmax) > 0) in cf_get_max_baller_time()
433 tmax = t; in cf_get_max_baller_time()
435 memset(&t, 0, sizeof(t)); in cf_get_max_baller_time()
437 if(cfb && !cfb->cft->query(cfb, data, query, NULL, &t)) { in cf_get_max_baller_time()
438 if((t.tv_sec || t.tv_usec) && Curl_timediff_us(t, tmax) > 0) in cf_get_max_baller_time()
439 tmax = t; in cf_get_max_baller_time()
/curl/tests/http/clients/
H A Dhx-upload.c185 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 Dhx-download.c182 t->idx, (long)blen, (long)t->recv_size, (long)t->pause_at); in my_write_cb()
183 if(!t->out) { in my_write_cb()
186 t->out = fopen(t->filename, "wb"); in my_write_cb()
187 if(!t->out) in my_write_cb()
192 t->recv_size < t->pause_at && in my_write_cb()
193 ((t->recv_size + (curl_off_t)blen) >= t->pause_at)) { in my_write_cb()
205 if(t->fail_at > 0 && t->recv_size >= t->fail_at) { in my_write_cb()
207 t->idx, (long)t->recv_size); in my_write_cb()
222 if(t->abort_at > 0 && dlnow >= t->abort_at) { in my_progress_cb()
460 if(!t->done && t->paused && t->easy) { in main()
[all …]
/curl/tests/data/
H A Dtest108626 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 Dtest111226 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 Dtest66215 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 Dunit2603.c70 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 Dunit1309.c40 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 Dcurl_getdate.md85 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 Dtest_03_goaway.py61 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 Dbadwords.txt28 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/CMake/
H A DFindCares.cmake58 set(_version_regex1 "#[\t ]*define[\t ]+ARES_VERSION_MAJOR[\t ]+([0-9]+).*")
59 set(_version_regex2 "#[\t ]*define[\t ]+ARES_VERSION_MINOR[\t ]+([0-9]+).*")
60 set(_version_regex3 "#[\t ]*define[\t ]+ARES_VERSION_PATCH[\t ]+([0-9]+).*")
H A DFindLibssh.cmake56 set(_version_regex1 "#[\t ]*define[\t ]+LIBSSH_VERSION_MAJOR[\t ]+([0-9]+).*")
57 set(_version_regex2 "#[\t ]*define[\t ]+LIBSSH_VERSION_MINOR[\t ]+([0-9]+).*")
58 set(_version_regex3 "#[\t ]*define[\t ]+LIBSSH_VERSION_MICRO[\t ]+([0-9]+).*")
H A DFindLibuv.cmake56 set(_version_regex1 "#[\t ]*define[\t ]+UV_VERSION_MAJOR[\t ]+([0-9]+).*")
57 set(_version_regex2 "#[\t ]*define[\t ]+UV_VERSION_MINOR[\t ]+([0-9]+).*")
58 set(_version_regex3 "#[\t ]*define[\t ]+UV_VERSION_PATCH[\t ]+([0-9]+).*")
H A DFindZstd.cmake67 set(_version_regex1 "#[\t ]*define[ \t]+ZSTD_VERSION_MAJOR[ \t]+([0-9]+).*")
68 set(_version_regex2 "#[\t ]*define[ \t]+ZSTD_VERSION_MINOR[ \t]+([0-9]+).*")
69 set(_version_regex3 "#[\t ]*define[ \t]+ZSTD_VERSION_RELEASE[ \t]+([0-9]+).*")
H A DFindNettle.cmake56 set(_version_regex1 "#[\t ]*define[ \t]+NETTLE_VERSION_MAJOR[ \t]+([0-9]+).*")
57 set(_version_regex2 "#[\t ]*define[ \t]+NETTLE_VERSION_MINOR[ \t]+([0-9]+).*")
/curl/docs/examples/
H A Dhttp2-download.c107 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/tests/
H A Dtest1707.pl124 my $t = substr($txtout[$i], $c, 1);
125 if($o ne $t) {
127 print "file col %d: %02x\n", $c, ord($t);
/curl/scripts/
H A Dcd2nroff131 my (@t) = @_;
134 if($t[0] eq "All") {
139 my @s = sort @t;
345 for my $t (@tls) {
346 if(!$knowntls{$t}) {
347 printf STDERR "$f:$line:1:ERROR: invalid TLS backend: $t:\n";
/curl/docs/cmdline-opts/
H A Dtelnet-option.md5 Short: t
14 - -t TTYPE=vt100 telnet://example.com/

Completed in 36 milliseconds

12345678