/external/grpc-grpc/test/core/iomgr/ |
D | wakeup_fd_cv_test.cc | 67 GPR_ASSERT(fds[0].events == (POLLIN | POLLHUP)); in mock_poll() 68 GPR_ASSERT(fds[1].events == (POLLIN | POLLHUP)); in mock_poll() 69 GPR_ASSERT(fds[2].events == POLLIN); in mock_poll() 79 fds[0].revents = POLLIN; in mock_poll() 125 pfds[1].events = POLLIN; in test_poll_cv_trigger() 126 pfds[2].events = POLLIN | POLLHUP; in test_poll_cv_trigger() 127 pfds[3].events = POLLIN | POLLHUP; in test_poll_cv_trigger() 128 pfds[4].events = POLLIN; in test_poll_cv_trigger() 129 pfds[5].events = POLLIN; in test_poll_cv_trigger() 162 GPR_ASSERT(pfds[2].revents == POLLIN); in test_poll_cv_trigger() [all …]
|
/external/libevent/ |
D | devpoll.c | 207 what |= POLLIN | POLLOUT; in devpoll_dispatch() 209 what |= POLLIN | POLLOUT; in devpoll_dispatch() 211 if (what & POLLIN) in devpoll_dispatch() 243 res |= POLLIN; in devpoll_add() 262 res |= POLLIN; in devpoll_del() 276 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { in devpoll_del() 282 if ((res & POLLIN) && (old & EV_WRITE)) { in devpoll_del() 287 devpoll_queue(devpollop, fd, POLLIN); in devpoll_del()
|
D | poll.c | 202 what |= POLLIN|POLLOUT; in poll_dispatch() 203 if (what & POLLIN) in poll_dispatch() 267 pfd->events |= POLLIN; in poll_add() 297 pfd->events &= ~POLLIN; in poll_del()
|
/external/curl/lib/ |
D | select.c | 194 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check() 200 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check() 240 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check() 247 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check() 463 ufds[i].revents |= POLLIN; in Curl_poll() 465 ufds[i].revents |= (POLLIN|POLLOUT); in Curl_poll() 480 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| in Curl_poll() 484 if(ufds[i].events & (POLLRDNORM|POLLIN)) in Curl_poll() 553 ufds[i].revents |= POLLIN; in Curl_poll()
|
D | select.h | 40 !defined(POLLIN) 42 #define POLLIN 0x01 macro 59 #define POLLRDNORM POLLIN
|
/external/strace/xlat/ |
D | pollflags.h | 6 #if defined(POLLIN) || (defined(HAVE_DECL_POLLIN) && HAVE_DECL_POLLIN) 8 static_assert((POLLIN) == (0x0001), "POLLIN != 0x0001"); 11 # define POLLIN 0x0001 166 XLAT(POLLIN),
|
/external/python/cpython2/Lib/test/ |
D | test_poll.py | 46 p.modify(rd, select.POLLIN) 64 ready_readers = find_ready_matching(ready, select.POLLIN) 129 pollster.register( p, select.POLLIN ) 141 elif flags & select.POLLIN: 192 pollster.register(fd, select.POLLIN) 216 pollster.register(r, select.POLLIN)
|
/external/python/cpython3/Lib/test/ |
D | test_poll.py | 44 p.modify(rd, select.POLLIN) 62 ready_readers = find_ready_matching(ready, select.POLLIN) 129 pollster.register( p, select.POLLIN ) 141 elif flags & select.POLLIN: 191 pollster.register(fd, select.POLLIN) 215 pollster.register(r, select.POLLIN)
|
D | test_devpoll.py | 41 p.modify(rd, select.POLLIN) 59 ready_readers = find_ready_matching(ready, select.POLLIN) 110 self.assertRaises(ValueError, devpoll.modify, fd, select.POLLIN) 112 self.assertRaises(ValueError, devpoll.register, fd, fd, select.POLLIN)
|
/external/strace/tests-m32/ |
D | poll.c | 62 PRINT_EVENT(POLLIN, events); in print_pollfd_entering() 129 PRINT_EVENT(POLLIN, revents); in print_pollfd_exiting() 186 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 188 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main() 246 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
D | ppoll.c | 121 { .fd = pipe_fd[0], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 123 { .fd = pipe_fd[2], .events = POLLIN | POLLPRI }, in main() 193 { .fd = pipe_fd[1], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
/external/strace/tests-mx32/ |
D | poll.c | 62 PRINT_EVENT(POLLIN, events); in print_pollfd_entering() 129 PRINT_EVENT(POLLIN, revents); in print_pollfd_exiting() 186 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 188 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main() 246 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
D | ppoll.c | 121 { .fd = pipe_fd[0], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 123 { .fd = pipe_fd[2], .events = POLLIN | POLLPRI }, in main() 193 { .fd = pipe_fd[1], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
/external/strace/tests/ |
D | poll.c | 62 PRINT_EVENT(POLLIN, events); in print_pollfd_entering() 129 PRINT_EVENT(POLLIN, revents); in print_pollfd_exiting() 186 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 188 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main() 246 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
D | ppoll.c | 121 { .fd = pipe_fd[0], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main() 123 { .fd = pipe_fd[2], .events = POLLIN | POLLPRI }, in main() 193 { .fd = pipe_fd[1], .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
|
/external/libusb/libusb/os/ |
D | linux_udev.c | 168 .events = POLLIN}, in linux_udev_event_thread_main() 170 .events = POLLIN}, in linux_udev_event_thread_main() 176 if (fds[0].revents & POLLIN) { in linux_udev_event_thread_main() 184 if (fds[1].revents & POLLIN) { in linux_udev_event_thread_main()
|
D | linux_netlink.c | 362 .events = POLLIN }, in linux_netlink_event_thread_main() 364 .events = POLLIN }, in linux_netlink_event_thread_main() 372 if (fds[0].revents & POLLIN) { in linux_netlink_event_thread_main() 379 if (fds[1].revents & POLLIN) { in linux_netlink_event_thread_main()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_server.cc | 162 pollfds[0].events = POLLIN; in Run() 165 pollfds[1].events = POLLIN; in Run() 191 assert(POLLIN & revents); in ClientEvent() 289 assert(POLLIN & revents); in ControlEvent()
|
/external/adhd/cras/src/server/ |
D | cras_server.c | 556 pollfds[0].events = POLLIN; in cras_server_run() 561 pollfds[num_pollfds].events = POLLIN; in cras_server_run() 569 pollfds[num_pollfds].events = POLLIN; in cras_server_run() 600 if (pollfds[0].revents & POLLIN) in cras_server_run() 604 if (elm->pollfd && elm->pollfd->revents & POLLIN) in cras_server_run() 610 (client_cb->pollfd->revents & POLLIN)) in cras_server_run()
|
/external/libkmsxx/utils/ |
D | wbm2m.cpp | 114 fds[0].events = POLLIN; in main() 116 fds[1].events = POLLIN; in main() 118 fds[2].events = POLLIN; in main()
|
/external/ltp/testcases/kernel/syscalls/poll/ |
D | poll01.c | 64 {.fd = fildes[0], .events = POLLIN}, in verify_pollin() 76 if (infds[0].revents != POLLIN) { in verify_pollin()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso_bench_rx.c | 60 pfd.events = POLLIN; in do_poll() 70 if (pfd.revents != POLLIN) in do_poll() 72 pfd.revents, POLLIN); in do_poll()
|
/external/toybox/toys/net/ |
D | microcom.c | 56 fds[0].events = POLLIN; in microcom_main() 58 fds[1].events = POLLIN; in microcom_main()
|
/external/toybox/lib/ |
D | net.c | 95 pollfds[0].events = pollfds[1].events = POLLIN; in pollinate() 104 if (pollfds[i].revents & POLLIN) { in pollinate() 154 pfd.events = POLLIN; in xrecvwait()
|
/external/toybox/toys/other/ |
D | watch.c | 87 pfd[0].events = pfd[1].events = POLLIN; in watch_main() 137 if (pfd[0].revents&POLLIN) { in watch_main() 146 if (pfd[1].revents&POLLIN) len = read(fds[1], toybuf, sizeof(toybuf)-1); in watch_main()
|