/device/google/trout/hal/sensors/2.0/ |
D | MultiPoll.cpp | 24 pollfd pfd{.fd = fd, .events = POLLIN, .revents = 0}; in addDescriptor() 41 if (fd.revents & POLLIN) { in poll()
|
D | Sensor.cpp | 191 if (mPollFdIio.revents & POLLIN) { in pollForEvents()
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | RunLoop.cpp | 347 if (pollFds[0].revents & POLLIN) { in run() 365 const short revents = pollFd.revents; in run() local 367 if (revents) { in run() 371 const bool readable = (revents & POLLIN); in run() 372 const bool writable = (revents & POLLOUT); in run() 373 const bool dead = (revents & POLLNVAL); in run()
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | poller.cpp | 115 if ((fd.revents & (POLLIN | POLLHUP)) == 0) { in run() 125 if (fd.revents & POLLIN) { in run() 133 if (fd.revents & POLLHUP) { in run()
|
/device/generic/goldfish/network/netmgr/ |
D | poller.cpp | 116 if ((fd.revents & (POLLIN | POLLHUP)) == 0) { in run() 126 if (fd.revents & POLLIN) { in run() 134 if (fd.revents & POLLHUP) { in run()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | WebServer.c | 117 pFdListNew[ Index ].revents = 0; in PortAdd() 194 pFdList[ pWebServer->Entries ].revents = 0; in PortAdd() 283 pFdList[ Index ].revents = 0; in PortRemove() 516 if ( 0 != pPoll->revents ) { in SocketPoll() 522 pPoll->revents, in SocketPoll() 524 pPoll->revents = 0; in SocketPoll()
|
/device/amlogic/yukawa/hdmicec/ |
D | hdmi_cec.c | 288 ufds[0].revents = 0; in event_thread() 289 ufds[1].revents = 0; in event_thread() 290 ufds[2].revents = 0; in event_thread() 297 if (ufds[2].revents == POLLIN) /* Exit */ in event_thread() 300 if (ufds[1].revents == POLLERR) { /* CEC Event */ in event_thread() 325 if (ufds[0].revents == POLLIN) { /* CEC Driver */ in event_thread()
|
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
D | poll.h | 60 short revents; /* events returned */ member
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSink/ |
D | DataSink.c | 143 PollFd[ Index ].revents = 0; in SocketAccept() 320 if ( 0 != PollFd[ Index ].revents ) { in SocketPoll() 327 if ( 0 != ( PollFd[ Index ].revents & POLLHUP )) { in SocketPoll() 450 if ( 0 != ( PollFd[ Index ].revents & POLLRDNORM )) { in SocketPoll() 604 PollFd[ Index ].revents = 0; in SocketPoll() 802 PollFd[ EntryPrevious ].revents = PollFd[ Entry ].revents; in SocketPoll()
|
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.cpp | 132 if ((pfd.revents & POLLIN)) { in discard_inotify_evt() 252 if (myFds[IDX_NANOHUB].revents & POLLIN) { // we have data in runDeviceRx() 302 if (myFds[IDX_CLOSE_PIPE].revents & POLLIN) { // we have been asked to die in runDeviceRx()
|
/device/linaro/poplar/wifi/wifi_hal/ |
D | wifi_hal.cpp | 475 pfd[0].revents = 0; in wifi_event_loop() 476 pfd[1].revents = 0; in wifi_event_loop() 481 } else if (pfd[0].revents & POLLERR) { in wifi_event_loop() 486 } else if (pfd[0].revents & POLLHUP) { in wifi_event_loop() 489 } else if (pfd[0].revents & POLLIN) { in wifi_event_loop() 492 } else if (pfd[1].revents & POLLIN) { in wifi_event_loop() 507 ALOGE("Unknown event - %0x, %0x", pfd[0].revents, pfd[1].revents); in wifi_event_loop()
|
/device/linaro/hikey/wpan/uim/ |
D | uim.c | 535 p.revents = 0; in main() 537 UIM_DBG("poll broke due to event %d(PRI:%d/ERR:%d)\n", p.revents, POLLPRI, POLLERR); in main()
|
/device/generic/goldfish/radio/ril/ |
D | if_monitor.cpp | 241 if (fds[0].revents & POLLIN) { in run() 251 } else if (fds[1].revents & POLLIN) { in run()
|
D | ipv6_monitor.cpp | 337 if (fds[0].revents & POLLIN) { in run() 347 } else if (fds[1].revents & POLLIN) { in run()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/ |
D | TftpServer.c | 728 int revents; in PortWork() local 742 revents = pTftpPort->revents; in PortWork() 743 pTftpPort->revents = 0; in PortWork() 744 if ( 0 != ( revents & POLLRDNORM )) { in PortWork() 812 revents |= POLLHUP; in PortWork() 819 if ( 0 != ( revents & POLLHUP )) { in PortWork() 1924 pTftpPort->revents = 0; in TftpServerSocket()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
D | select.c | 130 pfd.revents = 0; in selscan()
|
D | SysCalls.c | 820 pPollFD->revents = pDescriptor->f_ops->fo_poll ( pDescriptor, in poll() 826 if ( 0 != pPollFD->revents ) { in poll()
|
/device/generic/goldfish/wifi/wifi_hal/ |
D | netlink.cpp | 119 if ((fd.revents & POLLIN) == 0) { in eventLoop()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 141 mPollFds[0].revents = 0; in HubConnection() 159 mPollFds[mNumPollFds].revents = 0; in HubConnection() 173 mPollFds[mNumPollFds].revents = 0; in HubConnection() 991 if ((ret > 0) && (pfd->revents & POLLIN)) { in waitOnNanohubLock() 1501 if (mInotifyPollIndex >= 0 && mPollFds[mInotifyPollIndex].revents & POLLIN) { in threadLoop() 1507 if (mMagBiasPollIndex >= 0 && mPollFds[mMagBiasPollIndex].revents & POLLERR) { in threadLoop() 1519 if (mDoubleTouchPollIndex >= 0 && mPollFds[mDoubleTouchPollIndex].revents & POLLERR) { in threadLoop() 1530 if (mPollFds[0].revents & POLLIN) { in threadLoop() 1803 mPollFds[mNumPollFds].revents = 0; in initNanohubLock()
|
/device/generic/goldfish/fingerprint/ |
D | fingerprint.c | 724 pfd.revents = 0; in listenerFunction() 744 if (pfd.revents & POLLIN) { in listenerFunction() 746 disconnected = pfd.revents & (POLLERR | POLLHUP); in listenerFunction()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
D | selectmodule.c | 545 while (!self->ufds[i].revents) { in poll_poll() 565 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll() 684 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | selectmodule.c | 545 while (!self->ufds[i].revents) { in poll_poll() 565 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll() 684 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()
|
/device/google/contexthub/util/nanotool/ |
D | androidcontexthub.cpp | 257 if (pollfds[i].revents & POLLIN) { in ReadEvent()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
D | selectmodule.c | 578 while (!self->ufds[i].revents) { in poll_poll() 598 num = PyInt_FromLong(self->ufds[i].revents & 0xffff); in poll_poll() 718 } else if (poll_test == 0 && poll_struct.revents != POLLNVAL) { in select_have_broken_poll()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/ |
D | pcm.c | 1171 if (pfd.revents & (POLLERR | POLLNVAL)) { in pcm_wait() 1184 } while (!(pfd.revents & (POLLIN | POLLOUT))); in pcm_wait()
|