Home
last modified time | relevance | path

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

/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/http/
H A Dtest_16_info.py66 for idx, s in enumerate(r.stats):
67 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
81 for idx, s in enumerate(r.stats):
82 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
99 for idx, s in enumerate(r.stats):
100 self.check_stat(idx, s, r, dl_size=fsize, ul_size=fsize)
110 for idx, s in enumerate(r.stats):
111 self.check_stat(idx, s, r, dl_size=30, ul_size=0)
113 def check_stat(self, idx, s, r, dl_size=None, ul_size=None): argument
H A Dtest_03_goaway.py74 for idx, s in enumerate(r.stats):
113 for idx, s in enumerate(r.stats):
144 for idx, s in enumerate(r.stats):
H A Dtest_04_stuttered.py136 for idx, s in enumerate(stats):
141 i_max = idx
144 i_min = idx
H A Dtest_05_errors.py67 for idx, s in enumerate(r.stats):
91 for idx, s in enumerate(r.stats):
/curl/tests/libtest/
H A Dlibntlmconnect.c43 ssize_t idx = ((CURL **) data) - easy; in callback() local
50 counter[idx] += (int)(size * nmemb); in callback()
54 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback()
70 if(sockets[idx] == CURL_SOCKET_BAD) { in callback()
72 sockets[idx] = sock; in callback()
74 else if(sock != sockets[idx]) { in callback()
78 curlx_sztosi(idx), (int)sockets[idx], (int)sock); in callback()
/curl/tests/http/clients/
H A Dh2-download.c146 int idx; member
184 t->idx); in my_write_cb()
193 fprintf(stderr, "[t-%d] PAUSE\n", t->idx); in my_write_cb()
200 fprintf(stderr, "[t-%d] write failure\n", t->idx); in my_write_cb()
206 t->idx, (long)t->recv_size); in my_write_cb()
223 t->idx, (long)dlnow); in my_progress_cb()
356 t->idx = (int)i; in main()
373 fprintf(stderr, "[t-%d] STARTED\n", t->idx); in main()
398 fprintf(stderr, "[t-%d] FINISHED\n", t->idx); in main()
416 fprintf(stderr, "[t-%d] ABORTED\n", t->idx); in main()
[all …]
H A Dh2-pausing.c158 int idx; member
176 "\n", handle->idx, totalsize); in cb()
181 handle->idx, handle->paused, (long)realsize); in cb()
188 handle->idx, (long)realsize, handle->errored); in cb()
192 handle->idx, (long)realsize); in cb()
271 handles[i].idx = i; in main()
/curl/docs/cmdline-opts/
H A DMakefile.am32 EXTRA_DIST = $(DPAGES) MANPAGE.md $(SUPPORT) CMakeLists.txt mainpage.idx
50 $(MANPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
53 $(ASCIIPAGE): $(DPAGES) $(SUPPORT) mainpage.idx Makefile.inc $(MANAGEN)
/curl/src/
H A Dtool_doswin.c320 int idx, dot_idx; in msdosify() local
353 for(idx = 0, dot_idx = -1; *s && d < dlimit; s++, d++) { in msdosify()
366 if((flags & SANITIZE_ALLOW_PATH) && idx == 0 && in msdosify()
380 else if(idx == 0) in msdosify()
384 d[dot_idx - idx] = '_'; /* replace previous dot */ in msdosify()
394 dot_idx = idx; in msdosify()
397 if(idx - 2 == dot_idx) { /* .c++, .h++ etc. */ in msdosify()
417 idx++; in msdosify()
425 idx = 0; in msdosify()
429 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.c690 int idx = ((unsigned char)buf[0]) / 8; in rtsp_filter_rtp() local
693 if(!(data->state.rtp_channel_mask[idx] & (1 << off))) { in rtsp_filter_rtp()
698 DEBUGF(infof(data, "RTSP: invalid RTP channel %d, skipping", idx)); in rtsp_filter_rtp()
1024 long idx = chan / 8; in rtsp_parse_transport() local
1026 rtp_channel_mask[idx] |= (unsigned char)(1 << off); in rtsp_parse_transport()
/curl/tests/http/testenv/
H A Dcurl.py252 for idx, x in enumerate(self.stats):
268 for idx, x in enumerate(self.stats):
275 for idx, x in enumerate(self.responses):
289 for idx, x in enumerate(self.stats):
294 for idx, x in enumerate(self.responses):
310 for idx, x in enumerate(self.stats):
317 for idx, x in enumerate(self.stats):
613 def response_file(self, idx: int):
/curl/lib/vtls/
H A Dwolfssl.c616 size_t idx = 0; in wolfssl_connect_step1() local
743 for(idx = 0; gnm[idx].name != NULL; idx++) { in wolfssl_connect_step1()
744 if(strncmp(curves, gnm[idx].name, strlen(gnm[idx].name)) == 0) { in wolfssl_connect_step1()
745 oqsAlg = gnm[idx].group; in wolfssl_connect_step1()
H A Dcipher_suite.c731 int idx, i = 0; in cs_str_to_zip() local
748 for(idx = 1, entry = cs_txt + 1; idx < CS_TXT_LEN; idx++) { in cs_str_to_zip()
754 if(idx == CS_TXT_LEN) in cs_str_to_zip()
757 indexes[i++] = (uint8_t) idx; in cs_str_to_zip()
777 int idx, i, r; in cs_zip_to_str() local
798 for(idx = 1, entry = cs_txt + 1; idx < indexes[i]; idx++) { in cs_zip_to_str()
H A Dschannel.c1656 int idx; member
1669 int insert_index = reverse_order ? (args->certs_count - 1) - args->idx : in add_cert_to_certinfo()
1670 args->idx; in add_cert_to_certinfo()
1673 args->idx++; in add_cert_to_certinfo()
1823 args.idx = 0; in schannel_connect_step3()
H A Dsectransp.c2271 int idx) argument
2283 result = Curl_extract_certinfo(data, idx, beg, end);
2291 CFIndex idx) argument
2306 result = add_cert_to_certinfo(data, server_cert, (int)idx);

Completed in 58 milliseconds