/external/toybox/lib/ |
net.c | 87 if (pollfds[i].revents & POLLIN) { 89 if (len<1) pollfds[i].revents = POLLHUP; 92 if (pollfds[i].revents & POLLHUP) {
|
/external/dhcpcd-6.8.2/compat/ |
pselect.c | 59 fds[n].revents =
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
UeventObserver.cpp | 164 fds[0].revents = 0; 167 fds[1].revents = 0; 170 if (nr > 0 && fds[0].revents == POLLIN) { 175 } else if (fds[1].revents) {
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/ |
UeventObserver.cpp | 164 fds[0].revents = 0; 167 fds[1].revents = 0; 170 if (nr > 0 && fds[0].revents == POLLIN) { 175 } else if (fds[1].revents) {
|
/hardware/invensense/6515/libsensors_iio/ |
sensors_mpl.cpp | 171 mPollFds[mpl].revents = 0; 175 mPollFds[compass].revents = 0; 179 mPollFds[dmpOrient].revents = 0; 183 mPollFds[dmpSign].revents = 0; 187 mPollFds[dmpPed].revents = 0; 269 if (mPollFds[i].revents & (POLLIN | POLLPRI)) { 273 mPollFds[i].revents = 0; 276 mPollFds[i].revents = 0; 280 mPollFds[dmpOrient].revents= 0; 289 mPollFds[i].revents = 0 [all...] |
/external/toybox/toys/net/ |
microcom.c | 88 if (fds[0].revents) { 95 if (fds[1].revents) {
|
/external/valgrind/memcheck/tests/ |
badpoll.stderr.exp | 8 Syscall param poll(ufds.revents) points to unaddressable byte(s)
|
/hardware/akm/AK8975_FS/libsensors/ |
sensors.cpp | 171 mPollFds[acc].revents = 0; 176 mPollFds[akm].revents = 0; 187 mPollFds[wake].revents = 0; 286 if ((mPollFds[i].revents & POLLIN) || (sensor->hasPendingEvents())) { 290 mPollFds[i].revents = 0; 310 if (mPollFds[wake].revents & POLLIN) { 315 mPollFds[wake].revents = 0;
|
/frameworks/native/libs/vr/libpdx_uds/ |
channel_event_set.cpp | 130 ((pfds[0].revents & POLLIN) ? EPOLLIN : 0) | 131 ((pfds[1].revents & POLLIN) ? EPOLLHUP : 0) | 132 ((pfds[2].revents & (POLLHUP | POLLRDHUP)) ? EPOLLHUP : 0);
|
/system/netd/server/ |
NetlinkListener.cpp | 113 ASSIGN_OR_RETURN(auto revents, sys.ppoll(fds, events, timeout)); 115 if (revents[0] & POLLIN) { 118 if (revents[1] & POLLIN) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
WebServer.c | 117 pFdListNew[ Index ].revents = 0; 194 pFdList[ pWebServer->Entries ].revents = 0; 283 pFdList[ Index ].revents = 0; 516 if ( 0 != pPoll->revents ) { 522 pPoll->revents, 524 pPoll->revents = 0;
|
/system/core/adb/ |
fdevent.cpp | 248 if (pollfd.revents != 0) { 249 D("for fd %d, revents = %x", pollfd.fd, pollfd.revents); 252 if (pollfd.revents & POLLIN) { 255 if (pollfd.revents & POLLOUT) { 258 if (pollfd.revents & (POLLERR | POLLHUP | POLLNVAL)) { 264 if (pollfd.revents & POLLRDHUP) {
|
/cts/tests/tests/graphics/jni/ |
android_graphics_cts_SyncTest.cpp | 63 if ((pollfds[i].revents & (POLLERR | POLLNVAL)) != 0) 65 else if ((pollfds[i].revents & POLLIN) != 0)
|
/external/curl/docs/examples/ |
evhiperfifo.c | 115 static void timer_cb(EV_P_ struct ev_timer *w, int revents); 201 static void event_cb(EV_P_ struct ev_io *w, int revents) 203 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); 207 int action = (revents&EV_READ?CURL_POLL_IN:0)| 208 (revents&EV_WRITE?CURL_POLL_OUT:0); 219 static void timer_cb(EV_P_ struct ev_timer *w, int revents) 221 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); 371 static void fifo_cb(EV_P_ struct ev_io *w, int revents) [all...] |
/hardware/libhardware_legacy/ |
uevent.c | 82 fds.revents = 0; 85 if(nr > 0 && (fds.revents & POLLIN)) {
|
/external/curl/lib/ |
select.h | 53 short revents; member in struct:pollfd
|
/external/libdrm/ |
libsync.h | 72 if (fds.revents & (POLLERR | POLLNVAL)) {
|
/external/libpcap/tests/ |
selpolltest.c | 266 if (fd.revents & POLLIN) 270 if (fd.revents & POLLERR) 274 if (fd.revents & POLLHUP) 278 if (fd.revents & POLLNVAL)
|
/external/ltp/testcases/kernel/syscalls/ppoll/ |
ppoll01.c | 46 short expect_revents; /* expected revents value */ 87 * fd is set in revents 193 fds_good[0].revents = 0; 199 fds_already_closed[0].revents = 0; 251 if (tc->fds[0].revents == tc->expect_revents) 252 tst_res(TPASS, "revents=0x%04x", tc->expect_revents); 254 tst_res(TFAIL, "revents=0x%04x, expected=0x%04x", 255 tc->fds[0].revents, tc->expect_revents);
|
/external/adhd/cras/src/alsa_plugin/ |
pcm_cras.c | 88 unsigned short *revents) 93 if (pfds == NULL || nfds != 1 || revents == NULL) 100 *revents = pfds[0].revents & ~(POLLIN | POLLOUT); 101 if (pfds[0].revents & POLLIN) 102 *revents |= (io->stream == SND_PCM_STREAM_PLAYBACK) ? POLLOUT
|
/external/valgrind/coregrind/m_gdbserver/ |
remote-utils.c | 214 int poll_cond (short revents) 216 return (revents & (VKI_POLLERR | VKI_POLLHUP | VKI_POLLNVAL)); 230 write_remote_desc_ok.revents = 0; 233 || (sr_Res(ret) > 0 && poll_cond(write_remote_desc_ok.revents))) { 238 write_remote_desc_ok.revents, write_remote_desc); 297 remote_desc_pollfdread_activity.revents = 0; 498 remote_desc_pollfdread_activity.revents = 0; 566 remote_desc_pollfdread_activity.revents = 0; 569 || (sr_Res(ret) && poll_cond(remote_desc_pollfdread_activity.revents))) { 574 remote_desc_pollfdread_activity.revents, remote_desc) [all...] |
/external/adhd/cras/src/server/ |
cras_dbus.c | 32 if (pollfd.revents & POLLIN) 34 if (pollfd.revents & POLLOUT)
|
/external/strace/ |
poll.c | 103 if (!fds.revents) 114 static const char fmt[] = "{fd=%d, revents="; 119 (unsigned short) fds.revents);
|
/external/libusb/libusb/os/ |
poll_windows.h | 70 short revents; /* returned events */ member in struct:pollfd
|
/external/tensorflow/tensorflow/core/platform/posix/ |
subprocess.cc | 399 fds[fd_count].revents = 0; 418 if ((fds[i].revents & (POLLIN | POLLHUP)) != 0) { 430 } else if ((fds[i].revents & POLLOUT) != 0) { 449 } else if ((fds[i].revents & (POLLERR | POLLNVAL)) != 0) {
|