Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 25 of 132) sorted by relevance

123456

/external/libevent/
Ddevpoll.c204 what |= POLLIN | POLLOUT; in devpoll_dispatch()
206 what |= POLLIN | POLLOUT; in devpoll_dispatch()
208 if (what & POLLIN) in devpoll_dispatch()
240 res |= POLLIN; in devpoll_add()
259 res |= POLLIN; in devpoll_del()
273 if ((res & (POLLIN|POLLOUT)) != (POLLIN|POLLOUT)) { in devpoll_del()
279 if ((res & POLLIN) && (old & EV_WRITE)) { in devpoll_del()
284 devpoll_queue(devpollop, fd, POLLIN); in devpoll_del()
Dpoll.c196 what |= POLLIN|POLLOUT; in poll_dispatch()
197 if (what & POLLIN) in poll_dispatch()
261 pfd->events |= POLLIN; in poll_add()
291 pfd->events &= ~POLLIN; in poll_del()
/external/curl/lib/
Dselect.c190 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
196 pfd[num].events = POLLRDNORM|POLLIN|POLLRDBAND|POLLPRI; in Curl_socket_check()
235 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
242 if(pfd[num].revents & (POLLRDNORM|POLLIN|POLLERR|POLLHUP)) in Curl_socket_check()
457 ufds[i].revents |= POLLIN; in Curl_poll()
459 ufds[i].revents |= (POLLIN|POLLOUT); in Curl_poll()
474 if(ufds[i].events & (POLLIN|POLLOUT|POLLPRI| in Curl_poll()
478 if(ufds[i].events & (POLLRDNORM|POLLIN)) in Curl_poll()
546 ufds[i].revents |= POLLIN; in Curl_poll()
Dselect.h41 #define POLLIN 0x01 macro
58 #define POLLRDNORM POLLIN
/external/strace/tests-mx32/
Dppoll-v.expected1 …(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRNORM)?…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test1()
41 { .fd = 3, .events = POLLIN | POLLPRI }, in test1()
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test2()
Dpoll.c59 PRINT_EVENT(POLLIN, events) in print_pollfd_entering()
126 PRINT_EVENT(POLLIN, revents) in print_pollfd_exiting()
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
178 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main()
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
Dppoll.expected1 ppoll\(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRN…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
/external/strace/tests/
Dppoll-v.expected1 …(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRNORM)?…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test1()
41 { .fd = 3, .events = POLLIN | POLLPRI }, in test1()
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test2()
Dpoll.c59 PRINT_EVENT(POLLIN, events) in print_pollfd_entering()
126 PRINT_EVENT(POLLIN, revents) in print_pollfd_exiting()
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
178 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main()
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
Dppoll.expected1 ppoll\(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRN…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
/external/strace/tests-m32/
Dppoll-v.expected1 …(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRNORM)?…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
Dppoll.c39 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test1()
41 { .fd = 3, .events = POLLIN | POLLPRI }, in test1()
61 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in test2()
Dpoll.c59 PRINT_EVENT(POLLIN, events) in print_pollfd_entering()
126 PRINT_EVENT(POLLIN, revents) in print_pollfd_exiting()
176 { .fd = 0, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
178 { .fd = fds[0], .events = POLLIN | POLLPRI }, in main()
225 { .fd = 1, .events = POLLIN | POLLPRI | POLLRDNORM | POLLRDBAND }, in main()
Dppoll.expected1 ppoll\(\[\{fd=0, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=1, events=POLLOUT(\|POLLWRN…
2 ppoll\(\[\{fd=1, events=POLLIN\|POLLPRI\|POLLRDNORM\|POLLRDBAND\}, \{fd=0, events=POLLOUT(\|POLLWRN…
/external/libusb/libusb/os/
Dlinux_udev.c168 .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()
Dlinux_netlink.c362 .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/
Dcrash_generation_server.cc162 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/strace/xlat/
Dpollflags.h11 #if defined(POLLIN) || (defined(HAVE_DECL_POLLIN) && HAVE_DECL_POLLIN)
12 XLAT(POLLIN),
/external/dhcpcd-6.8.2/compat/
Dpselect.c49 if (fds[n].events & POLLIN) { in pollts()
60 FD_ISSET(fds[n].fd, &read_fds) ? POLLIN : 0; in pollts()
/external/valgrind/memcheck/tests/linux/
Dsyscalls-2007.c51 pfd[0].events = POLLIN|POLLOUT; in main()
53 pfd[1].events = POLLIN|POLLOUT; in main()
/external/ltp/testcases/kernel/syscalls/poll/
Dpoll01.c71 {.fd = fildes[0], .events = POLLIN}, in verify_pollin()
83 if (infds[0].revents != POLLIN) { in verify_pollin()
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c96 .expect_revents = POLLIN | POLLOUT,
191 fds_good[0].events = POLLIN | POLLPRI | POLLOUT | POLLRDHUP; in setup()
197 fds_already_closed[0].events = POLLIN | POLLPRI | POLLOUT | POLLRDHUP; in setup()
/external/openssh/openbsd-compat/
Dbsd-poll.c74 if (fds[i].events & POLLIN) { in poll()
101 fds[i].revents |= POLLIN; in poll()

123456