Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 30) sorted by relevance

12

/curl/tests/libtest/
H A Dlib1540.c48 if(st->halted) { in please_continue()
49 st->please++; in please_continue()
50 if(st->please == 2) { in please_continue()
52 curl_easy_pause(st->easy, CURLPAUSE_CONT); in please_continue()
72 st->counter++; in write_callback()
73 if(st->counter > 1) { in write_callback()
81 st->halted = 1; in write_callback()
89 struct transfer_status st; in test() local
93 memset(&st, 0, sizeof(st)); in test()
102 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
[all …]
H A Dlib1485.c41 struct transfer_status *st = (struct transfer_status *)userp; in header_callback() local
47 ++st->hd_line; in header_callback()
60 st->http_status = (int)httpcode; in header_callback()
61 if(st->http_status >= 200 && st->http_status < 300) { in header_callback()
67 st->result = result; in header_callback()
85 st->out_len += (curl_off_t)len; in write_callback()
93 struct transfer_status st; in test() local
97 memset(&st, 0, sizeof(st)); in test()
102 st.easy = curls; /* to allow callbacks access */ in test()
106 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
[all …]
H A Dlib1541.c83 struct transfer_status *st = (struct transfer_status *)userp; in header_callback() local
87 if(!st->hd_count++) { in header_callback()
89 check_time(st->easy, KN(CURLINFO_CONNECT_TIME_T), "1st header"); in header_callback()
93 check_time(st->easy, KN(CURLINFO_TOTAL_TIME_T), "1st header"); in header_callback()
105 struct transfer_status *st = (struct transfer_status *)userp; in write_callback() local
108 (void)st; in write_callback()
117 struct transfer_status st; in test() local
121 memset(&st, 0, sizeof(st)); in test()
126 st.easy = curls; /* to allow callbacks access */ in test()
130 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
[all …]
H A Dlib1915.c103 struct state st = {0}; in test() local
110 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
112 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st); in test()
123 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
125 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st); in test()
/curl/tests/data/
H A Dtest154127 CURLINFO_CONNECT_TIME_T on 1st header is OK
28 CURLINFO_PRETRANSFER_TIME_T on 1st header is OK
29 CURLINFO_STARTTRANSFER_TIME_T on 1st header is OK
30 CURLINFO_TOTAL_TIME_T on 1st header is OK
31 CURLINFO_APPCONNECT_TIME_T on 1st header is OK
32 CURLINFO_SPEED_DOWNLOAD_T on 1st header is OK
H A Dtest5829 http://%HOSTIP:%HTTPPORT/we/want/ -T %LOGDIR/%TESTNUMBERte[]st.txt -g
31 <file name="%LOGDIR/%TESTNUMBERte[]st.txt">
H A Dtest1002101 st
119 st
H A Dtest2059102 st
H A Dtest1001102 st
H A Dtest2058102 st
H A Dtest2060103 st
/curl/lib/
H A Dmime.c425 *buffer = st->buf[st->bufbeg]; in encoder_7bit_read()
444 while(st->bufbeg < st->bufend) { in encoder_base64_read()
466 if(st->bufend - st->bufbeg < 3) in encoder_base64_read()
470 i = st->buf[st->bufbeg++] & 0xFF; in encoder_base64_read()
494 if(st->bufend != st->bufbeg) { in encoder_base64_read()
496 if(st->bufend - st->bufbeg == 2) in encoder_base64_read()
502 if(++st->bufbeg != st->bufend) { in encoder_base64_read()
562 while(st->bufbeg < st->bufend) { in encoder_qp_read()
565 int i = st->buf[st->bufbeg]; in encoder_qp_read()
888 memmove(st->buf, st->buf + st->bufbeg, len); in read_encoded_part_content()
[all …]
H A Dhostip.c735 int st; in Curl_resolv() local
737 st = data->set.resolver_start( in Curl_resolv()
746 if(st) in Curl_resolv()
/curl/tests/http/clients/
H A Dh2-upgrade-extreme.c88 size_t st = 0; in debug_cb() local
95 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
96 st = i + 1; in debug_cb()
102 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dupload-pausing.c88 size_t st = 0; in debug_cb() local
95 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
96 st = i + 1; in debug_cb()
102 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dtls-session-reuse.c89 size_t st = 0; in debug_cb() local
96 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
97 st = i + 1; in debug_cb()
103 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dh2-pausing.c91 size_t st = 0; in debug_cb() local
98 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
99 st = i + 1; in debug_cb()
105 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dh2-download.c97 size_t st = 0; in debug_cb() local
104 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
105 st = i + 1; in debug_cb()
111 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
/curl/src/
H A Dtool_cb_dbg.c162 size_t st = 0; in tool_debug_cb() local
169 (void)fwrite(data + st, i - st + 1, 1, output); in tool_debug_cb()
170 st = i + 1; in tool_debug_cb()
176 (void)fwrite(data + st, i - st + 1, 1, output); in tool_debug_cb()
/curl/docs/examples/
H A Dhsts-preload.c87 struct state st = {0}; in main() local
94 curl_easy_setopt(curl, CURLOPT_HSTSREADDATA, &st); in main()
H A Dhiperfifo.c397 struct stat st; in init_fifo() local
401 if(lstat (fifo, &st) == 0) { in init_fifo()
402 if((st.st_mode & S_IFMT) == S_IFREG) { in init_fifo()
H A Dghiper.c385 struct stat st; in init_fifo() local
389 if(lstat (fifo, &st) == 0) { in init_fifo()
390 if((st.st_mode & S_IFMT) == S_IFREG) { in init_fifo()
H A Devhiperfifo.c394 struct stat st; in init_fifo() local
399 if(lstat (fifo, &st) == 0) { in init_fifo()
400 if((st.st_mode & S_IFMT) == S_IFREG) { in init_fifo()
H A Dephiperfifo.c416 struct stat st; in init_fifo() local
421 if(lstat (fifo, &st) == 0) { in init_fifo()
422 if((st.st_mode & S_IFMT) == S_IFREG) { in init_fifo()
/curl/.github/workflows/
H A Dhacktoberfest-accepted.yml21 # till November 1st which are closed via commit reference from master branch.

Completed in 62 milliseconds

12