Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 22 of 22) sorted by relevance

/curl/tests/http/
H A Dtest_16_info.py65 for idx, s in enumerate(r.stats):
66 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
82 for idx, s in enumerate(r.stats):
102 for idx, s in enumerate(r.stats):
114 for idx, s in enumerate(r.stats):
118 self.check_stat_times(s, idx)
120 self.check_stat_positive(s, idx, 'size_request')
122 self.check_stat_positive(s, idx, 'size_header')
130 def check_stat_positive(self, s, idx, key): argument
138 def check_stat_times(self, s, idx): argument
[all …]
H A Dtest_03_goaway.py73 for idx, s in enumerate(r.stats):
110 for idx, s in enumerate(r.stats):
141 for idx, s in enumerate(r.stats):
H A Dtest_04_stuttered.py135 for idx, s in enumerate(stats):
140 i_max = idx
143 i_min = idx
H A Dtest_05_errors.py65 for idx, s in enumerate(r.stats):
89 for idx, s in enumerate(r.stats):
/curl/docs/examples/
H A Dmulti-app.c86 int idx; in main() local
89 for(idx = 0; idx < HANDLECOUNT; idx++) { in main()
90 int found = (msg->easy_handle == handles[idx]); in main()
95 switch(idx) { in main()
H A Dmulti-legacy.c155 int idx; in main() local
158 for(idx = 0; idx < HANDLECOUNT; idx++) { in main()
159 int found = (msg->easy_handle == handles[idx]); in main()
164 switch(idx) { in main()
H A Dephiperfifo.c514 int idx; in main() local
528 for(idx = 0; idx < err; ++idx) { in main()
529 if(events[idx].data.fd == g.fifofd) { in main()
530 fifo_cb(&g, events[idx].events); in main()
532 else if(events[idx].data.fd == g.tfd) { in main()
533 timer_cb(&g, events[idx].events); in main()
536 event_cb(&g, events[idx].data.fd, events[idx].events); in main()
/curl/tests/libtest/
H A Dlibntlmconnect.c43 ssize_t idx = ((CURL **) data) - ntlm_easy; in callback() local
50 ntlm_counter[idx] += (int)(size * nmemb); in callback()
54 code = curl_easy_getinfo(ntlm_easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback()
70 if(ntlm_sockets[idx] == CURL_SOCKET_BAD) { in callback()
72 ntlm_sockets[idx] = sock; in callback()
74 else if(sock != ntlm_sockets[idx]) { in callback()
78 curlx_sztosi(idx), (int)ntlm_sockets[idx], (int)sock); in callback()
/curl/tests/http/clients/
H A Dhx-download.c146 int idx; member
185 t->idx); in my_write_cb()
194 fprintf(stderr, "[t-%d] PAUSE\n", t->idx); in my_write_cb()
201 fprintf(stderr, "[t-%d] write failure\n", t->idx); in my_write_cb()
207 t->idx, (long)t->recv_size); in my_write_cb()
224 t->idx, (long)dlnow); in my_progress_cb()
398 t->idx = (int)i; in main()
416 fprintf(stderr, "[t-%d] STARTED\n", t->idx); in main()
441 fprintf(stderr, "[t-%d] FINISHED\n", t->idx); in main()
464 fprintf(stderr, "[t-%d] ABORTED\n", t->idx); in main()
[all …]
H A Dhx-upload.c146 int idx; member
188 t->idx); in my_write_cb()
196 fprintf(stderr, "[t-%d] write failure\n", t->idx); in my_write_cb()
223 fprintf(stderr, "[t-%d] PAUSE\n", t->idx); in my_read_cb()
232 t->idx, (long)t->send_size); in my_read_cb()
248 t->idx, (long)ulnow); in my_progress_cb()
454 t->idx = (int)i; in main()
478 fprintf(stderr, "[t-%d] STARTING\n", t->idx); in main()
480 fprintf(stderr, "[t-%d] DONE -> %d\n", t->idx, rc); in main()
502 fprintf(stderr, "[t-%d] STARTED\n", t->idx); in main()
[all …]
H A Dh2-pausing.c162 int idx; member
180 "\n", handle->idx, totalsize); in cb()
185 handle->idx, handle->paused, (long)realsize); in cb()
192 handle->idx, (long)realsize, handle->errored); in cb()
196 handle->idx, (long)realsize); in cb()
277 handles[i].idx = i; in main()
/curl/docs/cmdline-opts/
H A DMakefile.am32 EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx
53 $(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
56 $(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
/curl/src/
H A Dtool_doswin.c301 int idx, dot_idx; in msdosify() local
332 for(idx = 0, dot_idx = -1; *s && d < dlimit; s++, d++) { in msdosify()
345 if((flags & SANITIZE_ALLOW_PATH) && idx == 0 && in msdosify()
359 else if(idx == 0) in msdosify()
363 d[dot_idx - idx] = '_'; /* replace previous dot */ in msdosify()
373 dot_idx = idx; in msdosify()
376 if(idx - 2 == dot_idx) { /* .c++, .h++ etc. */ in msdosify()
396 idx++; in msdosify()
404 idx = 0; in msdosify()
408 idx++; in msdosify()
/curl/lib/
H A Dsocks.c582 size_t idx; in do_SOCKS5() local
619 idx = 0; in do_SOCKS5()
620 socksreq[idx++] = 5; /* version */ in do_SOCKS5()
621 idx++; /* number of authentication methods */ in do_SOCKS5()
622 socksreq[idx++] = 0; /* no authentication */ in do_SOCKS5()
624 socksreq[idx++] = 1; /* GSS-API */ in do_SOCKS5()
626 socksreq[idx++] = 2; /* username/password */ in do_SOCKS5()
628 socksreq[1] = (unsigned char) (idx - 2); in do_SOCKS5()
631 DEBUGASSERT(idx <= sizeof(sx->buffer)); in do_SOCKS5()
632 sx->outstanding = idx; in do_SOCKS5()
H A Drtsp.c689 int idx = ((unsigned char)buf[0]) / 8; in rtsp_filter_rtp() local
692 if(!(data->state.rtp_channel_mask[idx] & (1 << off))) { in rtsp_filter_rtp()
697 DEBUGF(infof(data, "RTSP: invalid RTP channel %d, skipping", idx)); in rtsp_filter_rtp()
1023 long idx = chan / 8; in rtsp_parse_transport() local
1025 rtp_channel_mask[idx] |= (unsigned char)(1 << off); in rtsp_parse_transport()
/curl/tests/http/testenv/
H A Dcurl.py337 for idx, x in enumerate(self.stats):
353 for idx, x in enumerate(self.stats):
360 for idx, x in enumerate(self.responses):
374 for idx, x in enumerate(self.stats):
379 for idx, x in enumerate(self.responses):
397 for idx, x in enumerate(self.stats):
404 for idx, x in enumerate(self.stats):
410 for idx, x in enumerate(self.stats):
416 for idx, x in enumerate(self.stats):
744 def response_file(self, idx: int):
/curl/lib/vtls/
H A Dcipher_suite.c738 int idx, i = 0; in cs_str_to_zip() local
755 for(idx = 1, entry = cs_txt + 1; idx < CS_TXT_LEN; idx++) { in cs_str_to_zip()
761 if(idx == CS_TXT_LEN) in cs_str_to_zip()
764 indexes[i++] = (uint8_t) idx; in cs_str_to_zip()
784 int idx, i, r; in cs_zip_to_str() local
805 for(idx = 1, entry = cs_txt + 1; idx < indexes[i]; idx++) { in cs_zip_to_str()
H A Dwolfssl.c854 size_t idx = 0; in wolfssl_connect_step1() local
987 for(idx = 0; gnm[idx].name != NULL; idx++) { in wolfssl_connect_step1()
988 if(strncmp(curves, gnm[idx].name, strlen(gnm[idx].name)) == 0) { in wolfssl_connect_step1()
989 pqkem = gnm[idx].group; in wolfssl_connect_step1()
H A Dschannel.c1482 int idx; member
1495 int insert_index = reverse_order ? (args->certs_count - 1) - args->idx : in add_cert_to_certinfo()
1496 args->idx; in add_cert_to_certinfo()
1499 args->idx++; in add_cert_to_certinfo()
1632 args.idx = 0; in schannel_connect_step3()
H A Dsectransp.c2126 int idx) argument
2138 result = Curl_extract_certinfo(data, idx, beg, end);
2146 CFIndex idx) argument
2161 result = add_cert_to_certinfo(data, server_cert, (int)idx);
/curl/tests/data/
H A Dtest170621 <file name="%LOGDIR/mainpage.idx">
H A Dtest170521 <file name="%LOGDIR/mainpage.idx">

Completed in 48 milliseconds