Home
last modified time | relevance | path

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

/curl/lib/
H A Dselect.c209 pfd[num].revents = 0; in Curl_socket_check()
215 pfd[num].revents = 0; in Curl_socket_check()
221 pfd[num].revents = 0; in Curl_socket_check()
324 if(ufds[i].revents & POLLHUP) in Curl_poll()
325 ufds[i].revents |= POLLIN; in Curl_poll()
326 if(ufds[i].revents & POLLERR) in Curl_poll()
338 ufds[i].revents = 0; in Curl_poll()
371 ufds[i].revents = 0; in Curl_poll()
378 ufds[i].revents |= POLLIN; in Curl_poll()
384 ufds[i].revents |= POLLOUT; in Curl_poll()
[all …]
H A Dsocketpair.c191 pfd[0].revents = 0; in Curl_socketpair()
214 pfd[0].revents = 0; in Curl_socketpair()
H A Dselect.h54 short revents; member
H A Dasyn-ares.c328 pfd[i].revents = 0; in waitperform()
360 (pfd[i].revents & (POLLRDNORM|POLLIN)) ? in waitperform()
362 (pfd[i].revents & (POLLWRNORM|POLLOUT)) ? in waitperform()
H A Deasy.c513 m->socket.revents = 0; in events_socket()
570 f->revents = 0; in wait_or_timeout()
622 if(fds[i].revents) { in wait_or_timeout()
624 int act = poll2cselect(fds[i].revents); /* convert */ in wait_or_timeout()
H A Dtelnet.c1546 pfd[0].revents = 0; in telnet_do()
1547 pfd[1].revents = 0; in telnet_do()
1550 if(pfd[0].revents & POLLIN) { in telnet_do()
1595 if(pfd[1].revents & POLLIN) { /* read from in file */ in telnet_do()
H A Dmulti.c1389 unsigned r = (unsigned)cpfds.pfds[curl_nfds + i].revents;
1406 extra_fds[i].revents = (short)mask;
1416 extra_fds[i].revents = (short)mask;
1443 if(cpfds.pfds[curl_nfds + extra_nfds].revents & POLLIN) {
H A Dcf-socket.c1697 pfd[0].revents = 0; in cf_socket_conn_is_alive()
1708 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.md71 short revents;
117 myown.revents = 0; /* clear it */
123 if(myown.revents) {
H A Dcurl_multi_wait.md64 short revents;
/curl/include/curl/
H A Dmulti.h117 short revents; member
/curl/packages/OS400/
H A Dcurl.inc.in2328 d revents 5i 0

Completed in 76 milliseconds