/external/curl/lib/ |
D | select.c | 191 pfd[num].revents = 0; in Curl_socket_check() 197 pfd[num].revents = 0; in Curl_socket_check() 203 pfd[num].revents = 0; in Curl_socket_check() 235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check() 237 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) in Curl_socket_check() 242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check() 244 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) in Curl_socket_check() 249 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) in Curl_socket_check() 251 if(pfd[num].revents & (POLLERR|POLLHUP|POLLNVAL)) in Curl_socket_check() 456 if(ufds[i].revents & POLLHUP) in Curl_poll() [all …]
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 178 if (pollfds[0].revents && !ClientEvent(pollfds[0].revents)) in Run() 181 if (pollfds[1].revents && !ControlEvent(pollfds[1].revents)) in Run() 187 CrashGenerationServer::ClientEvent(short revents) in ClientEvent() argument 189 if (POLLHUP & revents) in ClientEvent() 191 assert(POLLIN & revents); in ClientEvent() 285 CrashGenerationServer::ControlEvent(short revents) in ControlEvent() argument 287 if (POLLHUP & revents) in ControlEvent() 289 assert(POLLIN & revents); in ControlEvent()
|
D | crash_generation_server.h | 98 bool ClientEvent(short revents); 102 bool ControlEvent(short revents);
|
/external/dbus/dbus/ |
D | dbus-socket-set-poll.c | 247 watch_flags_from_poll_revents (short revents) in watch_flags_from_poll_revents() argument 251 if (revents & _DBUS_POLLIN) in watch_flags_from_poll_revents() 253 if (revents & _DBUS_POLLOUT) in watch_flags_from_poll_revents() 255 if (revents & _DBUS_POLLHUP) in watch_flags_from_poll_revents() 257 if (revents & _DBUS_POLLERR) in watch_flags_from_poll_revents() 260 if (_DBUS_UNLIKELY (revents & _DBUS_POLLNVAL)) in watch_flags_from_poll_revents() 270 DBusSocketEvent *revents, in socket_set_poll_poll() argument 282 self->fds[i].revents = 0; in socket_set_poll_poll() 293 if (self->fds[i].revents != 0) in socket_set_poll_poll() 295 revents[n_events].fd = self->fds[i].fd; in socket_set_poll_poll() [all …]
|
D | dbus-spawn.c | 503 int revents) in handle_babysitter_socket() argument 509 if (revents & _DBUS_POLLIN) in handle_babysitter_socket() 515 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP)) in handle_babysitter_socket() 523 int revents) in handle_error_pipe() argument 525 if (revents & _DBUS_POLLIN) in handle_error_pipe() 531 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP)) in handle_error_pipe() 554 fds[i].revents = 0; in babysitter_iteration() 562 fds[i].revents = 0; in babysitter_iteration() 593 handle_error_pipe (sitter, fds[i].revents); in babysitter_iteration() 595 handle_babysitter_socket (sitter, fds[i].revents); in babysitter_iteration() [all …]
|
D | dbus-socket-set.h | 55 DBusSocketEvent *revents, 106 DBusSocketEvent *revents, in _dbus_socket_set_poll() argument 110 return (self->cls->poll) (self, revents, max_events, timeout_ms); in _dbus_socket_set_poll()
|
D | dbus-socket-set-epoll.c | 289 DBusSocketEvent *revents, in socket_set_epoll_poll() argument 309 revents[i].fd = events[i].data.fd; in socket_set_epoll_poll() 310 revents[i].flags = epoll_events_to_watch_flags (events[i].events); in socket_set_epoll_poll()
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 291 (*ufds)[ii].revents = 0; in add_pollfd() 319 short revents = (*ufds)[ii].revents; in process_events() local 322 if (revents & (POLLIN | POLLPRI)) { in process_events() 350 revents = revents & ~(POLLHUP); in process_events() 353 revents = revents & ~(POLLIN | POLLPRI); in process_events() 355 if (revents & POLLHUP) { in process_events() 363 revents = revents & ~(POLLHUP); in process_events() 365 if (revents) { in process_events() 367 " for fd (%d)\n", revents, connfd); in process_events() 374 (*ufds)[ii].revents = 0; in process_events() [all …]
|
/external/curl/docs/examples/ |
D | evhiperfifo.c | 111 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) in event_cb() argument 187 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); in event_cb() 191 int action = (revents&EV_READ?CURL_POLL_IN:0)| in event_cb() 192 (revents&EV_WRITE?CURL_POLL_OUT:0); in event_cb() 204 static void timer_cb(EV_P_ struct ev_timer *w, int revents) in timer_cb() argument 206 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); in timer_cb() 358 static void fifo_cb(EV_P_ struct ev_io *w, int revents) in fifo_cb() argument
|
/external/valgrind/coregrind/m_gdbserver/ |
D | remote-utils.c | 214 int poll_cond (short revents) in poll_cond() argument 216 return (revents & (VKI_POLLERR | VKI_POLLHUP | VKI_POLLNVAL)); in poll_cond() 230 write_remote_desc_ok.revents = 0; in ensure_write_remote_desc() 233 || (sr_Res(ret) > 0 && poll_cond(write_remote_desc_ok.revents))) { in ensure_write_remote_desc() 238 write_remote_desc_ok.revents, write_remote_desc); in ensure_write_remote_desc() 297 remote_desc_pollfdread_activity.revents = 0; in setup_remote_desc_for_reading() 498 remote_desc_pollfdread_activity.revents = 0; in remote_finish() 566 remote_desc_pollfdread_activity.revents = 0; in remote_desc_activity() 569 || (sr_Res(ret) && poll_cond(remote_desc_pollfdread_activity.revents))) { in remote_desc_activity() 574 remote_desc_pollfdread_activity.revents, remote_desc); in remote_desc_activity() [all …]
|
/external/libpcap/tests/ |
D | selpolltest.c | 209 if (fd.revents & POLLIN) in main() 213 if (fd.revents & POLLERR) in main() 217 if (fd.revents & POLLHUP) in main() 221 if (fd.revents & POLLNVAL) in main()
|
/external/strace/tests/ |
D | ppoll-v.expected | 1 …USR2 CHLD|CHLD USR2)\], (4|8|16)\) += 2 \(\[\{fd=1, revents=POLLOUT(\|POLLWRNORM)?\}, \{fd=4, reve…
|
/external/avahi/avahi-glib/ |
D | glib-watch.c | 126 w->pollfd.revents = 0; in watch_new() 150 return map_events_from_glib(w->pollfd.revents); in watch_get_events() 310 if (w->pollfd.revents > 0) in check_func() 337 if (w->pollfd.revents > 0) { in dispatch_func() 339 w->callback(w, w->pollfd.fd, map_events_from_glib(w->pollfd.revents), w->userdata); in dispatch_func() 340 w->pollfd.revents = 0; in dispatch_func()
|
/external/tinycompress/ |
D | compress.c | 381 if (fds.revents & POLLERR) { in compress_write() 390 if (fds.revents & POLLOUT) { in compress_write() 441 if (fds.revents & POLLERR) { in compress_read() 450 if (fds.revents & POLLIN) { in compress_read() 620 if (fds.revents & POLLERR) in compress_wait() 622 if (fds.revents & (POLLOUT | POLLIN)) in compress_wait()
|
/external/libdrm/tests/exynos/ |
D | exynos_fimg2d_event.c | 80 data->evhandler.fds.revents = 0; in threadfunc() 85 if (data->evhandler.fds.revents & (POLLHUP | POLLERR)) in threadfunc() 88 if (data->evhandler.fds.revents & POLLIN) in threadfunc()
|
/external/valgrind/auxprogs/ |
D | valgrind-listener.c | 340 ufd.revents = 0; in main() 384 conn_pollfd[j].revents = 0; in main() 402 if (conn_pollfd[i].revents & POLLIN) { in main()
|
/external/avahi/avahi-common/ |
D | simple-watch.c | 154 w->pollfd.revents = 0; in watch_new() 189 return w->simple_poll->pollfds[w->idx].revents; in watch_get_events() 405 s->pollfds[0].revents = 0; in rebuild() 584 if (s->pollfds[w->idx].revents != 0) { in avahi_simple_poll_dispatch() 585 w->callback(w, w->pollfd.fd, s->pollfds[w->idx].revents, w->userdata); in avahi_simple_poll_dispatch()
|
/external/valgrind/coregrind/ |
D | vgdb.c | 851 pollfds[FROM_GDB].revents = 0; in gdb_relay() 854 pollfds[TO_GDB].revents = 0; in gdb_relay() 859 pollfds[FROM_PID].revents = 0; in gdb_relay() 862 pollfds[TO_PID].revents = 0; in gdb_relay() 880 if (pollfds[ck].revents & POLLIN) { in gdb_relay() 898 if (pollfds[ck].revents & POLLERR) { in gdb_relay() 904 if (pollfds[ck].revents & POLLHUP) { in gdb_relay() 910 if (pollfds[ck].revents & POLLNVAL) { in gdb_relay()
|
/external/mtpd/ |
D | mtpd.c | 196 if (pollfds[1].revents) { in main() 199 if (pollfds[2].revents) { in main() 202 timeout = pollfds[0].revents ? in main()
|
/external/fio/os/windows/posix/include/sys/ |
D | poll.h | 10 short revents; member
|
/external/toybox/toys/other/ |
D | netcat.c | 209 if (pollfds[i].revents & POLLIN) { in netcat_main() 213 } else if (pollfds[i].revents & POLLHUP) { in netcat_main()
|
/external/ipsec-tools/ |
D | main.c | 203 if (pollfds[i].revents & POLLHUP) { in main() 209 if (pollfds[i].revents & POLLIN) { in main()
|
/external/strace/ |
D | poll.c | 140 if (!fds.revents) in decode_poll_exiting() 155 const char *flagstr = sprintflags("", pollflags, fds.revents); in decode_poll_exiting()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | poll.h | 38 short revents; member
|
/external/libevent/ |
D | devpoll.c | 112 pfd->revents = 0; in devpoll_queue() 201 int what = events[i].revents; in devpoll_dispatch()
|