Home
last modified time | relevance | path

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

12

/curl/tests/libtest/
H A Dlib1540.c49 if(st->halted) { in please_continue()
50 st->please++; in please_continue()
51 if(st->please == 2) { in please_continue()
53 curl_easy_pause(st->easy, CURLPAUSE_CONT); in please_continue()
73 st->counter++; in write_callback()
74 if(st->counter > 1) { in write_callback()
82 st->halted = 1; in write_callback()
90 struct transfer_status st; in test() local
94 memset(&st, 0, sizeof(st)); in test()
103 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.c104 struct state st = {0}; in test() local
115 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
117 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st); in test()
134 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
136 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.c427 *buffer = st->buf[st->bufbeg]; in encoder_7bit_read()
446 while(st->bufbeg < st->bufend) { in encoder_base64_read()
468 if(st->bufend - st->bufbeg < 3) in encoder_base64_read()
472 i = st->buf[st->bufbeg++] & 0xFF; in encoder_base64_read()
496 if(st->bufend != st->bufbeg) { in encoder_base64_read()
498 if(st->bufend - st->bufbeg == 2) in encoder_base64_read()
504 if(++st->bufbeg != st->bufend) { in encoder_base64_read()
564 while(st->bufbeg < st->bufend) { in encoder_qp_read()
567 int i = st->buf[st->bufbeg]; in encoder_qp_read()
890 memmove(st->buf, st->buf + st->bufbeg, len); in read_encoded_part_content()
[all …]
/curl/tests/http/clients/
H A Dh2-upgrade-extreme.c85 size_t st = 0; in debug_cb() local
92 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
93 st = i + 1; in debug_cb()
99 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dupload-pausing.c92 size_t st = 0; in debug_cb() local
99 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
100 st = i + 1; in debug_cb()
106 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dtls-session-reuse.c86 size_t st = 0; in debug_cb() local
93 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
94 st = i + 1; in debug_cb()
100 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dh2-pausing.c95 size_t st = 0; in debug_cb() local
102 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
103 st = i + 1; in debug_cb()
109 (void)fwrite(data + st, i - st + 1, 1, output); in debug_cb()
H A Dhx-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()
H A Dhx-upload.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.c160 size_t st = 0; in tool_debug_cb() local
167 (void)fwrite(data + st, i - st + 1, 1, output); in tool_debug_cb()
168 st = i + 1; in tool_debug_cb()
174 (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 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 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 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 64 milliseconds

12