/external/ltp/testcases/kernel/syscalls/utils/ |
H A D | poll.h | 5 #define POLLIN 0x0001 macro
|
/external/dhcpcd-6.8.2/compat/ |
H A D | pselect.c | 49 if (fds[n].events & POLLIN) { 60 FD_ISSET(fds[n].fd, &read_fds) ? POLLIN : 0;
|
/external/strace/xlat/ |
H A D | pollflags.h | 11 #if defined(POLLIN) || (defined(HAVE_DECL_POLLIN) && HAVE_DECL_POLLIN) 12 XLAT(POLLIN),
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | poll.h | 5 #define POLLIN 0x0001 macro
|
/external/openssh/openbsd-compat/ |
H A D | bsd-poll.h | 42 #define POLLIN 0x0001 macro
|
H A D | bsd-poll.c | 36 * Only supports POLLIN and POLLOUT flags in pfd.events, and POLLIN, POLLOUT 74 if (fds[i].events & POLLIN) { 101 fds[i].revents |= POLLIN;
|
/external/strace/tests/ |
H A D | ppoll.c | 39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 41 { .fd = 3, .events = POLLIN | POLLPRI }, 61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
H A D | poll.c | 59 PRINT_EVENT(POLLIN, events) 126 PRINT_EVENT(POLLIN, revents) 176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 178 { .fd = fds[0], .events = POLLIN | POLLPRI }, 225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
/external/strace/tests-m32/ |
H A D | ppoll.c | 39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 41 { .fd = 3, .events = POLLIN | POLLPRI }, 61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
H A D | poll.c | 59 PRINT_EVENT(POLLIN, events) 126 PRINT_EVENT(POLLIN, revents) 176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 178 { .fd = fds[0], .events = POLLIN | POLLPRI }, 225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
/external/strace/tests-mx32/ |
H A D | ppoll.c | 39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 41 { .fd = 3, .events = POLLIN | POLLPRI }, 61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
H A D | poll.c | 59 PRINT_EVENT(POLLIN, events) 126 PRINT_EVENT(POLLIN, revents) 176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, 178 { .fd = fds[0], .events = POLLIN | POLLPRI }, 225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND },
|
/external/libevent/ |
H A D | devpoll.c | 204 what |= POLLIN | POLLOUT; 206 what |= POLLIN | POLLOUT; 208 if (what & POLLIN) 240 res |= POLLIN; 259 res |= POLLIN; 273 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { 279 if ((res & POLLIN) && (old & EV_WRITE)) { 284 devpoll_queue(devpollop, fd, POLLIN);
|
H A D | poll.c | 196 what |= POLLIN|POLLOUT; 197 if (what & POLLIN) 261 pfd->events |= POLLIN; 291 pfd->events &= ~POLLIN;
|
/external/curl/lib/ |
H A D | select.h | 41 #define POLLIN 0x01 macro 58 #define POLLRDNORM POLLIN
|
H A D | select.c | 190 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; 196 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; 235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) 242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) 457 ufds[i].revents |= POLLIN; 459 ufds[i].revents |= (POLLIN|POLLOUT); 474 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| 478 if(ufds[i].events & (POLLRDNORM|POLLIN)) 546 ufds[i].revents |= POLLIN;
|
/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 71 {.fd = fildes[0], .events = POLLIN}, 79 tst_resm(TFAIL | TTERRNO, "poll() POLLIN failed"); 83 if (infds[0].revents != POLLIN) { 84 tst_resm(TFAIL, "poll() failed to set POLLIN"); 89 tst_resm(TPASS, "poll() POLLIN");
|
/external/valgrind/memcheck/tests/linux/ |
H A D | syscalls-2007.c | 51 pfd[0].events = POLLIN|POLLOUT; 53 pfd[1].events = POLLIN|POLLOUT;
|
/external/netcat/ |
H A D | atomicio.c | 49 pfd.events = f == read ? POLLIN : POLLOUT;
|
/external/toybox/toys/net/ |
H A D | microcom.c | 80 fds[0].events = POLLIN; 82 fds[1].events = POLLIN;
|
/external/openssh/ |
H A D | atomicio.c | 62 pfd.events = f == read ? POLLIN : POLLOUT; 119 pfd.events = f == readv ? POLLIN : POLLOUT;
|
/external/toybox/lib/ |
H A D | net.c | 70 pollfds[0].events = pollfds[1].events = POLLIN; 79 if (pollfds[i].revents & POLLIN) {
|
/external/google-breakpad/src/client/linux/crash_generation/ |
H A D | crash_generation_server.cc | 162 pollfds[0].events = POLLIN; 165 pollfds[1].events = POLLIN; 191 assert(POLLIN & revents); 289 assert(POLLIN & revents);
|
/external/libusb/libusb/os/ |
H A D | linux_netlink.c | 362 .events = POLLIN }, 364 .events = POLLIN }, 372 if (fds[0].revents & POLLIN) { 379 if (fds[1].revents & POLLIN) {
|
H A D | linux_udev.c | 168 .events = POLLIN}, 170 .events = POLLIN}, 176 if (fds[0].revents & POLLIN) { 184 if (fds[1].revents & POLLIN) {
|