Home
last modified time | relevance | path

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

1234

/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc178 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()
Dcrash_generation_server.h98 bool ClientEvent(short revents);
102 bool ControlEvent(short revents);
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c309 (*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/
Dbsd-poll.c97 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()
Dbsd-poll.h37 short revents; member
/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c214 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/
Dselpolltest.c209 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/
Dcompress.c381 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/
Dvalgrind-listener.c340 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/
DRemoteProcessorServer.cpp154 if (_aPollFds[0].revents & POLLIN) { in run()
159 if (_aPollFds[1].revents & POLLIN) { in run()
/external/valgrind/coregrind/
Dvgdb.c851 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/
Dmtpd.c196 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/
Dpoll.h10 short revents; member
/external/toybox/toys/other/
Dnetcat.c198 if (pollfds[i].revents & POLLIN) { in netcat_main()
202 } else if (pollfds[i].revents & POLLHUP) { in netcat_main()
/external/ipsec-tools/
Dmain.c203 if (pollfds[i].revents & POLLHUP) { in main()
209 if (pollfds[i].revents & POLLIN) { in main()
/external/kernel-headers/original/uapi/asm-generic/
Dpoll.h38 short revents; member
/external/skia/experimental/nanomsg/
Dpicture_demo.cpp120 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/
Dtimerfd-syscall.c153 pfd.revents = 0; in waittmr()
159 if ((pfd.revents & POLLIN) == 0) in waittmr()
/external/libusb/libusb/
Dio.c1800 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/
Deloop.c363 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/
Darpd.c799 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/
Dstream.c318 if (!fds.revents) in decode_poll()
333 flagstr = sprintflags("", pollflags, fds.revents); in decode_poll()
/external/dhcpcd/
Deloop.c338 fds[nfds].revents = 0; in start_eloop()
356 if (!(fds[i].revents & (POLLIN | POLLHUP))) in start_eloop()
/external/toybox/lib/
Dinterestingtimes.c98 pfd.revents = 0; in scan_key()
/external/fio/os/windows/
Dposix.c757 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()

1234