Searched refs:revents (Results 1 - 25 of 63) sorted by relevance

123

/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-poll.h37 short revents; member in struct:pollfd
H A Dbsd-poll.c34 * and POLLERR flags in revents.
94 fds[i].revents = 0;
98 fds[i].revents |= POLLIN;
101 fds[i].revents |= POLLOUT;
104 fds[i].revents |= POLLERR;
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dselect.c185 pfd[num].revents = 0;
191 pfd[num].revents = 0;
197 pfd[num].revents = 0;
229 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP))
231 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL))
236 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP))
238 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL))
243 if(pfd[num].revents & (POLLWRNORM|POLLOUT))
245 if(pfd[num].revents & (POLLERR|POLLHUP|POLLNVAL))
448 if(ufds[i].revents
[all...]
H A Dselect.h52 short revents; member in struct:pollfd
H A Dasyn-ares.c268 pfd[i].revents = 0;
297 pfd[i].revents & (POLLRDNORM|POLLIN)?
299 pfd[i].revents & (POLLWRNORM|POLLOUT)?
H A Deasy.c535 m->socket.revents = 0;
590 f->revents = 0;
616 if(fds[i].revents) {
618 int act = poll2cselect(fds[i].revents); /* convert */
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dpoll.h66 * copied to revents on return.
100 short revents; member in struct:pollfd
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Devhiperfifo.c111 static void timer_cb(EV_P_ struct ev_timer *w, int revents);
185 static void event_cb(EV_P_ struct ev_io *w, int revents) argument
187 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents);
191 int action = (revents&EV_READ?CURL_POLL_IN:0)|
192 (revents&EV_WRITE?CURL_POLL_OUT:0);
204 static void timer_cb(EV_P_ struct ev_timer *w, int revents) argument
206 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents);
358 static void fifo_cb(EV_P_ struct ev_io *w, int revents) argument
[all...]
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/
H A Dsfpoll.c121 fds[m].events = fds[m].revents = 0;
131 fds[m].revents = 0;
150 { if(fds[m].revents&POLLOUT)
157 if(fds[m].revents&POLLIN)
H A Dsfpkrd.c140 po.revents = 0;
151 else r = (po.revents&POLLIN) ? 1 : -1;
/macosx-10.10.1/libpcap-48/libpcap/tests/
H A Dselpolltest.c209 if (fd.revents & POLLIN)
213 if (fd.revents & POLLERR)
217 if (fd.revents & POLLHUP)
221 if (fd.revents & POLLNVAL)
/macosx-10.10.1/OpenSSL098-52/src/crypto/rand/
H A Drand_unix.c220 pset.revents = 0;
225 try_read = (pset.revents & POLLIN) != 0;
/macosx-10.10.1/ruby-106/ruby/include/ruby/
H A Dio.h34 # define rtnevents revents
41 # undef revents macro
/macosx-10.10.1/SmartcardCCID-55008/libusb/libusb/libusb/os/
H A Dpoll_windows.h58 short revents; /* returned events */ member in struct:pollfd
H A Dpoll_windows.c541 fds[i].revents = 0;
545 fds[i].revents |= POLLERR;
557 fds[i].revents |= POLLNVAL | POLLERR;
569 fds[i].revents |= POLLNVAL | POLLERR;
578 fds[i].revents |= POLLNVAL | POLLERR;
591 fds[i].revents = fds[i].events;
615 fds[i].revents = fds[i].events;
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/
H A Dexp_poll.c500 if (fdArray[index].revents & POLLIN) {
503 if (fdArray[index].revents & POLLOUT) {
507 if (fdArray[index].revents & (POLLPRI|POLLERR|POLLHUP|POLLNVAL)) {
/macosx-10.10.1/apr-32/apr/apr/poll/unix/
H A Dpoll.c123 if (i > 0) { /* poll() sets revents only if an event was signalled;
128 aprset[i].rtnevents = get_revent(pollset[i].revents);
276 if (pollset->p->pollset[i].revents != 0) {
289 get_revent(pollset->p->pollset[i].revents);
417 if (pollcb->pollset.ps[i].revents != 0) {
419 pollfd->rtnevents = get_revent(pollcb->pollset.ps[i].revents);
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dinit.c297 int revents; local
305 revents = rb_wait_for_single_fd(fd, RB_WAITFD_IN|RB_WAITFD_OUT, NULL);
307 if (revents & (RB_WAITFD_IN|RB_WAITFD_OUT)) {
318 if (revents & RB_WAITFD_OUT)
330 if ((revents & (RB_WAITFD_IN|RB_WAITFD_OUT)) == RB_WAITFD_OUT) {
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dpoll_fd.c261 if (pollfd.revents & POLLNVAL)
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dos-local.c266 fd.revents = 0;
273 if( fd.revents & POLL_WRITE ) {
H A Dos-ip.c310 fd.revents = 0;
324 if ( fd.revents & POLL_WRITE ) {
1193 return sip->si_fds[i].revents & POLL_WRITE;
1225 return sip->si_fds[i].revents & POLL_READ;
1398 if ( sip->si_fds[i].revents & (POLLERR|POLLHUP|POLLNVAL) ) {
1436 if ( sip->si_fds[sip->si_pipe_fd_idx_in_poll].revents & POLLIN ) {
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-run/
H A Dio.cpp337 if (poll_fds[i].revents & POLLHUP) {
344 } else if (poll_fds[i].revents & (POLLIN | POLLRDNORM | POLLRDBAND |
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dselect.c568 if (!pfd->revents)
576 if (fdptr->read_cb && (pfd->revents & (POLLIN | POLLERR | POLLHUP)))
580 (pfd->revents & (POLLOUT | POLLERR | POLLHUP)))
/macosx-10.10.1/curl-83.1.2/curl/include/curl/
H A Dmulti.h106 short revents; /* not supported yet */ member in struct:curl_waitfd
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tty/
H A Dlib_twait.c251 && fds[c].revents & POLLIN) {
426 && (fds[count].revents & POLLIN)) {

Completed in 404 milliseconds

123