/bootable/recovery/minui/ |
events.c | 130 if (cb && (ev_fds[n].revents & ev_fds[n].events)) 131 cb(ev_fds[n].fd, ev_fds[n].revents, ev_fdinfo[n].data); 135 int ev_get_input(int fd, short revents, struct input_event *ev) 139 if (revents & POLLIN) {
|
/external/dbus/dbus/ |
dbus-spawn.c | 493 int revents) 499 if (revents & _DBUS_POLLIN) 505 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP)) 513 int revents) 515 if (revents & _DBUS_POLLIN) 521 else if (revents & (_DBUS_POLLERR | _DBUS_POLLHUP)) 544 fds[i].revents = 0; 552 fds[i].revents = 0; 583 handle_error_pipe (sitter, fds[i].revents); 585 handle_babysitter_socket (sitter, fds[i].revents); 756 int revents; local [all...] |
dbus-mainloop.c | 614 fds[n_fds].revents = 0; 787 if (fds[i].revents != 0) 795 if (fds[i].revents & _DBUS_POLLIN) 797 if (fds[i].revents & _DBUS_POLLOUT) 799 if (fds[i].revents & _DBUS_POLLHUP) 801 if (fds[i].revents & _DBUS_POLLERR)
|
/external/bluetooth/bluez/tools/ |
ppporc.c | 157 p[0].revents = 0; 158 p[1].revents = 0; 166 if (p[0].revents) { 167 if (p[0].revents & (POLLERR | POLLHUP | POLLNVAL)) 182 if (p[1].revents) { 183 if (p[1].revents & (POLLERR | POLLHUP | POLLNVAL))
|
/external/bluetooth/glib/gio/ |
gasynchelper.c | 103 fd_source->pollfd.revents != 0; 117 return (*func) (user_data, fd_source->pollfd.revents, fd_source->pollfd.fd);
|
/hardware/libhardware_legacy/uevent/ |
uevent.c | 81 fds.revents = 0; 84 if(nr > 0 && fds.revents == POLLIN) {
|
/system/core/init/ |
ueventd.c | 86 ufd.revents = 0; 90 if (ufd.revents == POLLIN)
|
init.c | 769 ufds[fd_count].revents = 0; 776 ufds[fd_count].revents = 0; 783 ufds[fd_count].revents = 0; 813 if (ufds[i].revents == POLLIN) {
|
/frameworks/base/native/android/ |
sensor.cpp | 110 pfd.revents = 0; 117 if (pfd.revents != POLLIN)
|
/libcore/luni/src/main/java/java/nio/ |
SelectorImpl.java | 232 if (pollFds.get(0).revents == POLLIN) { 242 if (pollFd.revents == 0) { 256 if ((pollFd.revents & POLLIN) != 0) { 258 } else if ((pollFd.revents & POLLOUT) != 0) {
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/ |
pcm_ioplug.h | 182 int (*poll_revents)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents);
|
control_external.h | 235 * mangle the revents of poll descriptors 237 int (*poll_revents)(snd_ctl_ext_t *ext, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
hwdep.h | 100 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
|
/external/valgrind/main/auxprogs/ |
valgrind-listener.c | 309 ufd.revents = 0; 351 conn_pollfd[j].revents = 0; 369 if (conn_pollfd[i].revents & POLLIN) {
|
/system/core/debuggerd/ |
getevent.c | 202 if(ufds[0].revents & POLLIN) { 206 if(ufds[i].revents) { 207 if(ufds[i].revents & POLLIN) {
|
/external/mtpd/ |
mtpd.c | 196 if (pollfds[1].revents) { 199 if (pollfds[2].revents) { 207 timeout = pollfds[0].revents ?
|
/external/bluetooth/bluez/audio/ |
pcm_bluetooth.c | 246 ret = (fds[0].revents) ? 0 : 1; 247 SNDERR("poll fd %d revents %d", ret, fds[ret].revents); 248 if (fds[ret].revents & (POLLERR | POLLHUP | POLLNVAL)) 775 pfd[0].revents = 0; 782 unsigned short *revents) 784 assert(pfds && nfds == 1 && revents); 786 *revents = pfds[0].revents; 810 pfd[0].revents = 0 [all...] |
/external/ipsec-tools/ |
main.c | 179 if (pollfds[i].revents & POLLHUP) { 183 if (pollfds[i].revents & POLLIN) {
|
/external/openssl/crypto/rand/ |
rand_unix.c | 269 pset.revents = 0; 274 try_read = (pset.revents & POLLIN) != 0;
|
/external/valgrind/main/memcheck/tests/linux/ |
timerfd-syscall.c | 148 pfd.revents = 0; 154 if ((pfd.revents & POLLIN) == 0)
|
/bionic/libc/bionic/ |
system_properties.c | 197 if (r == 1 && (pollfds[0].revents & POLLHUP) != 0) {
|
/external/bluetooth/bluez/compat/ |
hidd.c | 369 p[0].revents = 0; 370 p[1].revents = 0; 375 events = p[0].revents | p[1].revents;
|
/external/chromium/net/test/ |
test_server_posix.cc | 68 poll_fds[0].revents = 0;
|
/external/strace/ |
strace.c | 120 int revents; member in struct:proc_pollfd [all...] |
/external/chromium/third_party/libevent/ |
devpoll.c | 121 pfd->revents = 0; 249 int what = events[i].revents;
|