Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 15 of 15) sorted by relevance

/curl/lib/
H A Dselect.c213 pfd[num].revents = 0; in Curl_socket_check()
219 pfd[num].revents = 0; in Curl_socket_check()
225 pfd[num].revents = 0; in Curl_socket_check()
328 if(ufds[i].revents & POLLHUP) in Curl_poll()
329 ufds[i].revents |= POLLIN; in Curl_poll()
330 if(ufds[i].revents & POLLERR) in Curl_poll()
342 ufds[i].revents = 0; in Curl_poll()
375 ufds[i].revents = 0; in Curl_poll()
382 ufds[i].revents |= POLLIN; in Curl_poll()
388 ufds[i].revents |= POLLOUT; in Curl_poll()
[all …]
H A Dselect.h54 short revents; member
H A Dsocketpair.c191 pfd[0].revents = 0; in Curl_socketpair()
214 pfd[0].revents = 0; in Curl_socketpair()
H A Dasyn-ares.c337 pfd[i].revents = 0; in waitperform()
369 (pfd[i].revents & (POLLRDNORM|POLLIN))? in waitperform()
371 (pfd[i].revents & (POLLWRNORM|POLLOUT))? in waitperform()
H A Deasy.c513 m->socket.revents = 0; in events_socket()
572 f->revents = 0; in wait_or_timeout()
602 if(fds[i].revents) { in wait_or_timeout()
604 int act = poll2cselect(fds[i].revents); /* convert */ in wait_or_timeout()
H A Dtelnet.c1552 pfd[0].revents = 0; in telnet_do()
1553 pfd[1].revents = 0; in telnet_do()
1556 if(pfd[0].revents & POLLIN) { in telnet_do()
1601 if(pfd[1].revents & POLLIN) { /* read from in file */ in telnet_do()
H A Dmulti.c1506 unsigned r = (unsigned)ufds[curl_nfds + i].revents;
1523 extra_fds[i].revents = (short)mask;
1533 extra_fds[i].revents = (short)mask;
1560 if(ufds[curl_nfds + extra_nfds].revents & POLLIN) {
H A Dcf-socket.c1659 pfd[0].revents = 0; in cf_socket_conn_is_alive()
1670 else if(pfd[0].revents & (POLLERR|POLLHUP|POLLPRI|POLLNVAL)) { in cf_socket_conn_is_alive()
/curl/docs/examples/
H A Devhiperfifo.c117 static void timer_cb(EV_P_ struct ev_timer *w, int revents);
202 static void event_cb(EV_P_ struct ev_io *w, int revents) in event_cb() argument
204 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); in event_cb()
208 int action = ((revents & EV_READ) ? CURL_POLL_IN : 0) | in event_cb()
209 ((revents & EV_WRITE) ? CURL_POLL_OUT : 0); in event_cb()
220 static void timer_cb(EV_P_ struct ev_timer *w, int revents) in timer_cb() argument
222 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); in timer_cb()
372 static void fifo_cb(EV_P_ struct ev_io *w, int revents) in fifo_cb() argument
H A Dephiperfifo.c139 static void timer_cb(GlobalInfo* g, int revents);
201 static void event_cb(GlobalInfo *g, int fd, int revents) in event_cb() argument
206 int action = ((revents & EPOLLIN) ? CURL_CSELECT_IN : 0) | in event_cb()
207 ((revents & EPOLLOUT) ? CURL_CSELECT_OUT : 0); in event_cb()
221 static void timer_cb(GlobalInfo* g, int revents) in timer_cb() argument
394 static void fifo_cb(GlobalInfo* g, int revents) in fifo_cb() argument
/curl/tests/libtest/
H A Dlib677.c74 waitfd.revents = 0; in test()
80 if((sock != CURL_SOCKET_BAD) && (waitfd.revents & waitfd.events)) { in test()
/curl/docs/libcurl/
H A Dcurl_multi_poll.md70 short revents;
112 myown.revents = 0; /* clear it */
118 if(myown.revents) {
H A Dcurl_multi_wait.md63 short revents;
/curl/include/curl/
H A Dmulti.h121 short revents; member
/curl/packages/OS400/
H A Dcurl.inc.in2322 d revents 5i 0

Completed in 94 milliseconds