Searched refs:ev (Results 1 – 9 of 9) sorted by relevance
/curl/lib/ |
H A D | easy.c | 405 struct events *ev = userp; in events_timer() local 410 ev->ms = timeout_ms; in events_timer() 411 ev->msbump = TRUE; in events_timer() 471 m = ev->list; in events_socket() 481 ev->list = nxt; in events_socket() 510 m->next = ev->list; in events_socket() 514 ev->list = m; in events_socket() 599 if(ev->ms > 0) in wait_or_timeout() 607 ev->ms = 0; in wait_or_timeout() 635 if(!ev->msbump && ev->ms >= 0) { in wait_or_timeout() [all …]
|
H A D | ws.c | 1070 int ev; in ws_send_raw_blocking() local 1083 ev = Curl_socket_check(CURL_SOCKET_BAD, CURL_SOCKET_BAD, sock, in ws_send_raw_blocking() 1085 if(ev < 0) { in ws_send_raw_blocking()
|
H A D | ftp.c | 686 int ev = Curl_socket_check(sockfd, CURL_SOCKET_BAD, wsock, interval_ms); in Curl_GetFTPResponse() local 687 if(ev < 0) { in Curl_GetFTPResponse() 692 else if(ev == 0) { in Curl_GetFTPResponse()
|
/curl/docs/examples/ |
H A D | hiperfifo.c | 110 struct event ev; member 239 if(event_initialized(&f->ev)) { in remsock() 240 event_del(&f->ev); in remsock() 259 if(event_initialized(&f->ev)) { in setsock() 260 event_del(&f->ev); in setsock() 262 event_assign(&f->ev, g->evbase, f->sockfd, kind, event_cb, g); in setsock() 263 event_add(&f->ev, NULL); in setsock()
|
H A D | ephiperfifo.c | 271 struct epoll_event ev; in setsock() local 285 ev.events = kind; in setsock() 286 ev.data.fd = s; in setsock() 287 if(epoll_ctl(g->epfd, EPOLL_CTL_ADD, s, &ev)) in setsock() 469 struct epoll_event ev; in main() local 495 ev.events = EPOLLIN; in main() 496 ev.data.fd = g.tfd; in main() 497 epoll_ctl(g.epfd, EPOLL_CTL_ADD, g.tfd, &ev); in main()
|
H A D | ghiper.c | 94 guint ev; member 212 if(f->ev) { in remsock() 213 g_source_remove(f->ev); in remsock() 229 if(f->ev) { in setsock() 230 g_source_remove(f->ev); in setsock() 232 f->ev = g_io_add_watch(f->ch, kind, event_cb, g); in setsock()
|
H A D | evhiperfifo.c | 112 struct ev_io ev; member 239 ev_io_stop(g->loop, &f->ev); in remsock() 259 ev_io_stop(g->loop, &f->ev); in setsock() 260 ev_io_init(&f->ev, event_cb, f->sockfd, kind); in setsock() 261 f->ev.data = g; in setsock() 263 ev_io_start(g->loop, &f->ev); in setsock()
|
/curl/lib/vquic/ |
H A D | curl_quiche.c | 476 static const char *cf_ev_name(quiche_h3_event *ev) in cf_ev_name() argument 478 switch(quiche_h3_event_type(ev)) { in cf_ev_name() 500 quiche_h3_event *ev) in h3_process_event() argument 508 switch(quiche_h3_event_type(ev)) { in h3_process_event() 554 stream->id, quiche_h3_event_type(ev)); in h3_process_event() 566 quiche_h3_event *ev; in cf_poll_events() local 583 cf_ev_name(ev), stream3_id); in cf_poll_events() 586 result = h3_process_event(cf, sdata, stream, ev); in cf_poll_events() 590 "for [%"FMT_PRIu64"] -> %d", cf_ev_name(ev), in cf_poll_events() 596 quiche_h3_event_free(ev); in cf_poll_events() [all …]
|
/curl/src/ |
H A D | tool_operate.c | 411 char *ev = getenv("CURL_UPLOAD_SIZE"); in pre_transfer() local 412 if(ev) { in pre_transfer() 413 int sz = atoi(ev); in pre_transfer()
|
Completed in 73 milliseconds