/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/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 309 (*ufds)[ii].revents = 0; in add_pollfd() 337 short revents = (*ufds)[ii].revents; in process_events() local 340 if (revents & (POLLIN | POLLPRI)) { in process_events() 368 revents = revents & ~(POLLHUP); in process_events() 371 revents = revents & ~(POLLIN | POLLPRI); in process_events() 373 if (revents & POLLHUP) { in process_events() 381 revents = revents & ~(POLLHUP); in process_events() 383 if (revents) { in process_events() 385 " for fd (%d)\n", revents, connfd); in process_events() 392 (*ufds)[ii].revents = 0; in process_events() [all …]
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.c | 97 fds[i].revents = 0; in poll() 101 fds[i].revents |= POLLIN; in poll() 104 fds[i].revents |= POLLOUT; in poll() 107 fds[i].revents |= POLLERR; in poll()
|
D | bsd-poll.h | 37 short revents; member
|
/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() 495 remote_desc_pollfdread_activity.revents = 0; in remote_finish() 563 remote_desc_pollfdread_activity.revents = 0; in remote_desc_activity() 566 || (sr_Res(ret) && poll_cond(remote_desc_pollfdread_activity.revents))) { in remote_desc_activity() 571 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/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/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/parameter-framework/remote-processor/ |
D | RemoteProcessorServer.cpp | 154 if (_aPollFds[0].revents & POLLIN) { in run() 159 if (_aPollFds[1].revents & POLLIN) { in run()
|
/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 | 198 if (pollfds[i].revents & POLLIN) { in netcat_main() 202 } 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/kernel-headers/original/uapi/asm-generic/ |
D | poll.h | 38 short revents; member
|
/external/skia/experimental/nanomsg/ |
D | picture_demo.cpp | 120 if (polls[0].revents & NN_POLLIN) { return socketA; } in poll_in() 121 if (polls[1].revents & NN_POLLIN) { return socketB; } in poll_in()
|
/external/valgrind/memcheck/tests/linux/ |
D | timerfd-syscall.c | 153 pfd.revents = 0; in waittmr() 159 if ((pfd.revents & POLLIN) == 0) in waittmr()
|
/external/libusb/libusb/ |
D | io.c | 1800 fds[i].revents = 0; in handle_events() 1826 if (fds[0].revents) { in handle_events() 1837 fds[0].revents = 0; in handle_events() 1844 if (usbi_using_timerfd(ctx) && fds[1].revents) { in handle_events() 1861 fds[1].revents = 0; in handle_events()
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 363 pollfds[nxt].revents = 0; in eloop_sock_table_set_fds() 382 pollfds[i].revents = 0; in eloop_sock_table_set_fds() 408 pollfds[i].revents = 0; in eloop_sock_table_set_fds() 422 short int revents) in eloop_sock_table_dispatch_table() argument 437 if (!(pfd->revents & revents)) in eloop_sock_table_dispatch_table()
|
/external/iproute2/misc/ |
D | arpd.c | 799 pset[0].revents = 0; in main() 801 pset[1].revents = 0; in main() 820 if (pset[0].revents&EVENTS) in main() 822 if (pset[1].revents&EVENTS) in main()
|
/external/strace/ |
D | stream.c | 318 if (!fds.revents) in decode_poll() 333 flagstr = sprintflags("", pollflags, fds.revents); in decode_poll()
|
/external/dhcpcd/ |
D | eloop.c | 338 fds[nfds].revents = 0; in start_eloop() 356 if (!(fds[i].revents & (POLLIN | POLLHUP))) in start_eloop()
|
/external/toybox/lib/ |
D | interestingtimes.c | 98 pfd.revents = 0; in scan_key()
|
/external/fio/os/windows/ |
D | posix.c | 757 fds[i].revents = 0; in poll() 779 fds[i].revents |= POLLIN; in poll() 782 fds[i].revents |= POLLOUT; in poll() 785 fds[i].revents |= POLLHUP; in poll()
|