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

12345

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/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))
418 if(ufds[i].revents
[all...]
H A Dselect.h52 short revents; member in struct:pollfd
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dpoll.h34 short revents; member in struct:pollfd
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-socket-set-poll.c247 watch_flags_from_poll_revents (short revents) argument
251 if (revents & _DBUS_POLLIN)
253 if (revents & _DBUS_POLLOUT)
255 if (revents & _DBUS_POLLHUP)
257 if (revents & _DBUS_POLLERR)
260 if (_DBUS_UNLIKELY (revents & _DBUS_POLLNVAL))
270 DBusSocketEvent *revents,
282 self->fds[i].revents = 0;
293 if (self->fds[i].revents != 0)
295 revents[n_event
269 socket_set_poll_poll(DBusSocketSet *set, DBusSocketEvent *revents, int max_events, int timeout_ms) argument
[all...]
H A Ddbus-socket-set.h55 DBusSocketEvent *revents,
106 DBusSocketEvent *revents,
110 return (self->cls->poll) (self, revents, max_events, timeout_ms);
105 _dbus_socket_set_poll(DBusSocketSet *self, DBusSocketEvent *revents, int max_events, int timeout_ms) argument
H A Ddbus-spawn.c503 int revents)
509 if (revents & _DBUS_POLLIN)
515 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP))
523 int revents)
525 if (revents & _DBUS_POLLIN)
531 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP))
554 fds[i].revents = 0;
562 fds[i].revents = 0;
593 handle_error_pipe (sitter, fds[i].revents);
595 handle_babysitter_socket (sitter, fds[i].revents);
502 handle_babysitter_socket(DBusBabysitter *sitter, int revents) argument
522 handle_error_pipe(DBusBabysitter *sitter, int revents) argument
766 int revents; local
982 check_babysit_events(pid_t grandchild_pid, int parent_pipe, int revents) argument
[all...]
H A Ddbus-socket-set-epoll.c289 DBusSocketEvent *revents,
309 revents[i].fd = events[i].data.fd;
310 revents[i].flags = epoll_events_to_watch_flags (events[i].events);
288 socket_set_epoll_poll(DBusSocketSet *set, DBusSocketEvent *revents, int max_events, int timeout_ms) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/kernel/
H A Dsparc_ksyms_64.c22 short revents; member in struct:poll
H A Dsparc_ksyms_32.c20 short revents; member in struct:poll
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/
H A Dirq.c46 if (pollfds[i].revents != 0) {
47 irq_fd->current_events = pollfds[i].revents;
76 .revents = 0 });
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dos_support.h69 short revents; /* events that occurred */ member in struct:pollfd
72 /* events & revents */
81 /* revents only */
H A Dnetwork.c145 struct pollfd p = { .fd = fd, .events = ev, .revents = 0 };
148 return ret < 0 ? ff_neterrno() : p.revents & (ev | POLLERR | POLLHUP) ? 0 : AVERROR(EAGAIN);
H A Dos_support.c322 fds[i].revents = 0;
324 if (FD_ISSET(fds[i].fd, &read_set)) fds[i].revents |= POLLIN;
325 if (FD_ISSET(fds[i].fd, &write_set)) fds[i].revents |= POLLOUT;
326 if (FD_ISSET(fds[i].fd, &exception_set)) fds[i].revents |= POLLERR;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpcap-1.4.0/tests/
H A Dselpolltest.c209 if (fd.revents & POLLIN)
213 if (fd.revents & POLLERR)
217 if (fd.revents & POLLHUP)
221 if (fd.revents & POLLNVAL)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dos_support.h107 short revents; /* events that occurred */ member in struct:pollfd
110 /* events & revents */
119 /* revents only */
H A Dos_support.c327 fds[i].revents = 0;
330 fds[i].revents |= POLLIN;
332 fds[i].revents |= POLLOUT;
334 fds[i].revents |= POLLERR;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/avahi-0.6.25/avahi-glib/
H A Dglib-watch.c128 w->pollfd.revents = 0;
152 return map_events_from_glib(w->pollfd.revents);
312 if (w->pollfd.revents > 0)
339 if (w->pollfd.revents > 0) {
341 w->callback(w, w->pollfd.fd, map_events_from_glib(w->pollfd.revents), w->userdata);
342 w->pollfd.revents = 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-glib/
H A Dglib-watch.c128 w->pollfd.revents = 0;
152 return map_events_from_glib(w->pollfd.revents);
312 if (w->pollfd.revents > 0)
339 if (w->pollfd.revents > 0) {
341 w->callback(w, w->pollfd.fd, map_events_from_glib(w->pollfd.revents), w->userdata);
342 w->pollfd.revents = 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/src/control/
H A Dhcontrol.c192 * \param revents returned events
195 int snd_hctl_poll_descriptors_revents(snd_hctl_t *hctl, struct pollfd *pfds, unsigned int nfds, unsigned short *revents) argument
198 return snd_ctl_poll_descriptors_revents(hctl->ctl, pfds, nfds, revents);
678 unsigned short *revents; local
687 revents = alloca(sizeof(*revents) * npfds);
705 err = snd_hctl_poll_descriptors_revents(hctl, pfd, npfds, revents);
709 if (revents[i] & (POLLERR | POLLNVAL))
711 if ((revents[i] & (POLLIN | POLLOUT)) == 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/rand/
H A Drand_unix.c220 pset.revents = 0;
225 try_read = (pset.revents & POLLIN) != 0;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/include/
H A Dpcm_ioplug.h183 int (*poll_revents)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/gtk1/
H A Dapp.cpp337 ufds[i].revents = 0;
340 ufds[i].revents |= G_IO_IN;
343 ufds[i].revents |= G_IO_PRI;
346 ufds[i].revents |= G_IO_OUT;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Deventpoll.c901 int error, revents, pwake = 0; local
933 revents = tfile->f_op->poll(tfile, &epq.pt);
959 if ((revents & event->events) && !ep_is_linked(&epi->rdllink)) {
1005 unsigned int revents; local
1019 revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL);
1025 if (revents & event->events) {
1051 unsigned int revents; local
1066 revents = epi->ffd.file->f_op->poll(epi->ffd.file, NULL) &
1075 if (revents) {
1076 if (__put_user(revents,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/test/
H A Dseq-sender.c250 if (phandle && (pfds[nseqs].revents & POLLOUT)) {
257 if (pfds[0].revents & POLLOUT)
259 if (pfds[0].revents & POLLIN) {

Completed in 162 milliseconds

12345