Searched refs:revents (Results 1 - 25 of 123) sorted by relevance

12345

/external/fio/os/windows/posix/include/sys/
H A Dpoll.h10 short revents; member in struct:pollfd
/external/ltp/testcases/kernel/syscalls/utils/
H A Dpoll.h24 short revents; member in struct:pollfd
/external/strace/tests/
H A Dpoll.c112 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 Dpoll.c112 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 Dpoll.c112 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 Dcrash_generation_server.h98 bool ClientEvent(short revents);
102 bool ControlEvent(short revents);
H A Dcrash_generation_server.cc178 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 Dpoll.h38 short revents; member in struct:pollfd
/external/openssh/openbsd-compat/
H A Dbsd-poll.h37 short revents; member in struct:pollfd
H A Dbsd-poll.c37 * 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 Dselect.c191 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 Dselect.h52 short revents; member in struct:pollfd
/external/selinux/mcstrans/src/
H A Dmcstransd.c290 (*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 Dpoll01.c22 * 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 Dnet.c79 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 Dpselect.c59 fds[n].revents =
/external/toybox/toys/net/
H A Dmicrocom.c88 if (fds[0].revents) {
95 if (fds[1].revents) {
/external/valgrind/memcheck/tests/
H A Dbadpoll.stderr.exp8 Syscall param poll(ufds.revents) points to unaddressable byte(s)
/external/curl/docs/examples/
H A Devhiperfifo.c115 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 Dselpolltest.c209 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 Dppoll01.c45 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 Dremote-utils.c214 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 Dpoll.c101 if (!fds.revents)
112 static const char fmt[] = "{fd=%d, revents=";
117 (unsigned short) fds.revents);
/external/libusb/libusb/os/
H A Dpoll_windows.h70 short revents; /* returned events */ member in struct:pollfd
/external/libdrm/tests/exynos/
H A Dexynos_fimg2d_event.c80 data->evhandler.fds.revents = 0;
85 if (data->evhandler.fds.revents & (POLLHUP | POLLERR))
88 if (data->evhandler.fds.revents & POLLIN)

Completed in 804 milliseconds

12345