/external/fio/os/windows/posix/include/sys/ |
H A D | poll.h | 10 short revents; member in struct:pollfd
|
/external/ltp/testcases/kernel/syscalls/utils/ |
H A D | poll.h | 24 short revents; member in struct:pollfd
|
/external/strace/tests/ |
H A D | poll.c | 112 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) 123 tprintf("{fd=%d, revents=", pfd->fd); 124 short revents = pfd->revents; local 126 PRINT_EVENT(POLLIN, revents) 127 PRINT_EVENT(POLLPRI, revents) 128 PRINT_EVENT(POLLOUT, revents) 130 PRINT_EVENT(POLLRDNORM, revents) 133 PRINT_EVENT(POLLWRNORM, revents) 136 PRINT_EVENT(POLLRDBAND, revents) [all...] |
/external/strace/tests-m32/ |
H A D | poll.c | 112 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) 123 tprintf("{fd=%d, revents=", pfd->fd); 124 short revents = pfd->revents; local 126 PRINT_EVENT(POLLIN, revents) 127 PRINT_EVENT(POLLPRI, revents) 128 PRINT_EVENT(POLLOUT, revents) 130 PRINT_EVENT(POLLRDNORM, revents) 133 PRINT_EVENT(POLLWRNORM, revents) 136 PRINT_EVENT(POLLRDBAND, revents) [all...] |
/external/strace/tests-mx32/ |
H A D | poll.c | 112 if (!pfd->revents || pfd->fd < 0 || *seen > abbrev) 123 tprintf("{fd=%d, revents=", pfd->fd); 124 short revents = pfd->revents; local 126 PRINT_EVENT(POLLIN, revents) 127 PRINT_EVENT(POLLPRI, revents) 128 PRINT_EVENT(POLLOUT, revents) 130 PRINT_EVENT(POLLRDNORM, revents) 133 PRINT_EVENT(POLLWRNORM, revents) 136 PRINT_EVENT(POLLRDBAND, revents) [all...] |
/external/google-breakpad/src/client/linux/crash_generation/ |
H A D | crash_generation_server.h | 98 bool ClientEvent(short revents); 102 bool ControlEvent(short revents);
|
H A D | crash_generation_server.cc | 178 if (pollfds[0].revents && !ClientEvent(pollfds[0].revents)) 181 if (pollfds[1].revents && !ControlEvent(pollfds[1].revents)) 187 CrashGenerationServer::ClientEvent(short revents) argument 189 if (POLLHUP & revents) 191 assert(POLLIN & revents); 285 CrashGenerationServer::ControlEvent(short revents) argument 287 if (POLLHUP & revents) 289 assert(POLLIN & revents); [all...] |
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | poll.h | 38 short revents; member in struct:pollfd
|
/external/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 37 short revents; member in struct:pollfd
|
H A D | bsd-poll.c | 37 * and POLLERR flags in revents. 97 fds[i].revents = 0; 101 fds[i].revents |= POLLIN; 104 fds[i].revents |= POLLOUT; 107 fds[i].revents |= POLLERR;
|
/external/curl/lib/ |
H A D | select.c | 191 pfd[num].revents = 0; 197 pfd[num].revents = 0; 203 pfd[num].revents = 0; 235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) 237 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) 242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) 244 if(pfd[num].revents & (POLLRDBAND|POLLPRI|POLLNVAL)) 249 if(pfd[num].revents & (POLLWRNORM|POLLOUT)) 251 if(pfd[num].revents & (POLLERR|POLLHUP|POLLNVAL)) 456 if(ufds[i].revents [all...] |
H A D | select.h | 52 short revents; member in struct:pollfd
|
/external/selinux/mcstrans/src/ |
H A D | mcstransd.c | 290 (*ufds)[ii].revents = 0; 318 short revents = (*ufds)[ii].revents; local 321 if (revents & (POLLIN | POLLPRI)) { 349 revents = revents & ~(POLLHUP); 352 revents = revents & ~(POLLIN | POLLPRI); 354 if (revents & POLLHUP) { 362 revents [all...] |
/external/ltp/testcases/kernel/syscalls/poll/ |
H A D | poll01.c | 22 * Check that poll() works for POLLOUT and POLLIN and that revents is set 57 if (outfds[0].revents != POLLOUT) { 83 if (infds[0].revents != POLLIN) {
|
/external/toybox/lib/ |
H A D | net.c | 79 if (pollfds[i].revents & POLLIN) { 81 if (len<1) pollfds[i].revents = POLLHUP; 84 if (pollfds[i].revents & POLLHUP) {
|
/external/dhcpcd-6.8.2/compat/ |
H A D | pselect.c | 59 fds[n].revents =
|
/external/toybox/toys/net/ |
H A D | microcom.c | 88 if (fds[0].revents) { 95 if (fds[1].revents) {
|
/external/valgrind/memcheck/tests/ |
H A D | badpoll.stderr.exp | 8 Syscall param poll(ufds.revents) points to unaddressable byte(s)
|
/external/curl/docs/examples/ |
H A D | 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) argument 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) argument 221 DPRINT("%s w %p revents %i\n", __PRETTY_FUNCTION__, w, revents); 370 static void fifo_cb(EV_P_ struct ev_io *w, int revents) argument [all...] |
/external/libpcap/tests/ |
H A D | selpolltest.c | 209 if (fd.revents & POLLIN) 213 if (fd.revents & POLLERR) 217 if (fd.revents & POLLHUP) 221 if (fd.revents & POLLNVAL)
|
/external/ltp/testcases/kernel/syscalls/ppoll/ |
H A D | ppoll01.c | 45 short expect_revents; /* expected revents value */ 86 * fd is set in revents 192 fds_good[0].revents = 0; 198 fds_already_closed[0].revents = 0; 262 if (tc->fds[0].revents == tc->expect_revents) 263 tst_res(TPASS, "revents=0x%04x", tc->expect_revents); 265 tst_res(TFAIL, "revents=0x%04x, expected=0x%04x", 266 tc->fds[0].revents, tc->expect_revents);
|
/external/valgrind/coregrind/m_gdbserver/ |
H A D | remote-utils.c | 214 int poll_cond (short revents) argument 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_des [all...] |
/external/strace/ |
H A D | poll.c | 101 if (!fds.revents) 112 static const char fmt[] = "{fd=%d, revents="; 117 (unsigned short) fds.revents);
|
/external/libusb/libusb/os/ |
H A D | poll_windows.h | 70 short revents; /* returned events */ member in struct:pollfd
|
/external/libdrm/tests/exynos/ |
H A D | exynos_fimg2d_event.c | 80 data->evhandler.fds.revents = 0; 85 if (data->evhandler.fds.revents & (POLLHUP | POLLERR)) 88 if (data->evhandler.fds.revents & POLLIN)
|