Home
last modified time | relevance | path

Searched refs:EPOLLIN (Results 1 – 25 of 67) sorted by relevance

123

/external/libevent/
Depolltable-internal.h149 { EPOLLIN, EPOLL_CTL_ADD },
151 { EPOLLIN|EPOLLRDHUP, EPOLL_CTL_ADD },
153 { EPOLLIN, EPOLL_CTL_ADD },
157 { EPOLLIN, EPOLL_CTL_DEL },
161 { EPOLLIN|EPOLLRDHUP, EPOLL_CTL_DEL },
181 { EPOLLIN|EPOLLOUT, EPOLL_CTL_ADD },
183 { EPOLLIN|EPOLLOUT|EPOLLRDHUP, EPOLL_CTL_ADD },
185 { EPOLLIN|EPOLLOUT, EPOLL_CTL_ADD },
213 { EPOLLIN, EPOLL_CTL_ADD },
215 { EPOLLIN|EPOLLRDHUP, EPOLL_CTL_ADD },
[all …]
/external/python/cpython2/Lib/test/
Dtest_epoll.py92 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
93 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
100 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
101 ep.register(client, select.EPOLLIN | select.EPOLLOUT)
109 select.EPOLLIN | select.EPOLLOUT)
111 select.EPOLLIN | select.EPOLLOUT)
114 select.EPOLLIN | select.EPOLLOUT)
117 select.EPOLLIN | select.EPOLLOUT)
119 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
121 select.EPOLLIN | select.EPOLLOUT)
[all …]
/external/python/cpython3/Lib/test/
Dtest_epoll.py108 ep.register(server.fileno(), select.EPOLLIN | select.EPOLLOUT)
109 ep.register(client.fileno(), select.EPOLLIN | select.EPOLLOUT)
116 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
117 ep.register(client, select.EPOLLIN | select.EPOLLOUT)
125 select.EPOLLIN | select.EPOLLOUT)
127 select.EPOLLIN | select.EPOLLOUT)
130 select.EPOLLIN | select.EPOLLOUT)
133 select.EPOLLIN | select.EPOLLOUT)
135 ep.register(server, select.EPOLLIN | select.EPOLLOUT)
137 select.EPOLLIN | select.EPOLLOUT)
[all …]
/external/linux-kselftest/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c157 e.events = EPOLLIN; in TEST()
188 e.events = EPOLLIN | EPOLLET; in TEST()
220 events[0].events = EPOLLIN; in TEST()
223 events[0].events = EPOLLIN; in TEST()
258 events[0].events = EPOLLIN | EPOLLET; in TEST()
261 events[0].events = EPOLLIN | EPOLLET; in TEST()
296 e.events = EPOLLIN; in TEST()
335 e.events = EPOLLIN | EPOLLET; in TEST()
376 events[0].events = EPOLLIN; in TEST()
379 events[0].events = EPOLLIN; in TEST()
[all …]
/external/ltp/testcases/kernel/syscalls/epoll_ctl/
Depoll_ctl01.c32 {.events = EPOLLIN},
34 {.events = EPOLLIN}
83 events = EPOLLIN; in check_epoll_ctl()
100 if ((events & EPOLLIN) && in check_epoll_ctl()
101 has_event(res_evs, 2, fd[0], EPOLLIN)) { in check_epoll_ctl()
103 events &= ~EPOLLIN; in check_epoll_ctl()
Depoll_ctl02.c42 {.events = EPOLLIN},
/external/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait01.c52 {.events = EPOLLIN}, in setup()
157 if (ret_evs.events != EPOLLIN) { in verify_epollin()
159 ret_evs.events, EPOLLIN); in verify_epollin()
173 uint32_t events = EPOLLIN | EPOLLOUT; in verify_epollio()
190 if ((events & EPOLLIN) && in verify_epollio()
191 has_event(ret_evs, 2, fds[0], EPOLLIN)) { in verify_epollio()
193 events &= ~EPOLLIN; in verify_epollio()
Depoll_wait02.c32 {.events = EPOLLIN}
/external/strace/xlat/
Depollevents.h6 #if defined(EPOLLIN) || (defined(HAVE_DECL_EPOLLIN) && HAVE_DECL_EPOLLIN)
8 static_assert((EPOLLIN) == (0x00000001), "EPOLLIN != 0x00000001");
11 # define EPOLLIN 0x00000001
129 XLAT(EPOLLIN),
Depollevents.in1 EPOLLIN 0x00000001
/external/ltp/testcases/kernel/syscalls/epoll2/include/
Depoll.h28 EPOLLIN = 0x001, enumerator
29 #define EPOLLIN EPOLLIN macro
/external/rust/crates/mio/src/sys/unix/selector/
Depoll.rs3 use libc::{EPOLLET, EPOLLIN, EPOLLOUT, EPOLLRDHUP};
136 kind = kind | EPOLLIN | EPOLLRDHUP; in interests_to_epoll()
160 (event.events as libc::c_int & libc::EPOLLIN) != 0 in is_readable()
176 || (event.events as libc::c_int & libc::EPOLLIN != 0 in is_read_closed()
212 libc::EPOLLIN, in debug_details()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc68 static_cast<uint32_t>(EPOLLET | EPOLLIN | EPOLLEXCLUSIVE | EPOLLONESHOT); in grpc_is_epollexclusive_available()
97 ev.events = static_cast<uint32_t>(EPOLLET | EPOLLIN | EPOLLEXCLUSIVE); in grpc_is_epollexclusive_available()
/external/curl/docs/examples/
Dephiperfifo.c204 int action = ((revents & EPOLLIN) ? CURL_CSELECT_IN : 0) | in event_cb()
270 int kind = ((act & CURL_POLL_IN) ? EPOLLIN : 0) | in setsock()
440 epev.events = EPOLLIN; in init_fifo()
495 ev.events = EPOLLIN; in main()
/external/mesa3d/src/vulkan/overlay-layer/
Dmesa-overlay-control.py6 from select import EPOLLIN, EPOLLPRI, EPOLLERR
33 epoll.register(sock, EPOLLIN | EPOLLPRI | EPOLLERR)
/external/strace/tests-mx32/
Depoll_ctl.c22 ev->events = EPOLLIN; in main()
/external/strace/tests-m32/
Depoll_ctl.c22 ev->events = EPOLLIN; in main()
/external/strace/tests/
Depoll_ctl.c22 ev->events = EPOLLIN; in main()
/external/grpc-grpc/src/core/lib/iomgr/
Dis_epollexclusive_available.cc68 static_cast<uint32_t>(EPOLLET | EPOLLIN | EPOLLEXCLUSIVE | EPOLLONESHOT); in grpc_is_epollexclusive_available()
/external/rust/crates/nix/test/sys/
Dtest_epoll.rs21 let mut event = EpollEvent::new(EpollFlags::EPOLLIN | EpollFlags::EPOLLERR, 1); in test_epoll_ctl()
/external/kernel-headers/original/uapi/linux/
Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001 macro
/external/crosvm/sys_util/src/
Dpoll.rs18 c_int, epoll_create1, epoll_ctl, epoll_event, epoll_wait, EPOLLHUP, EPOLLIN, EPOLLOUT,
132 self.event.events & (EPOLLIN as u32) != 0 in readable()
203 mask: EPOLLIN as u32, in iter_readable()
274 WatchingEvents(self.0 | EPOLLIN as u32) in set_read()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_pollset.cc86 ev.events = EPOLLIN; in BM_PollEmptyPollset_SpeedOfLight()
191 ev[0].events = EPOLLIN; in BM_SingleThreadPollOneFd_SpeedOfLight()
/external/wayland/src/
Devent-loop.c103 if (ep->events & EPOLLIN) in wl_event_source_fd_dispatch()
136 ep.events |= EPOLLIN; in add_source()
222 ep.events |= EPOLLIN; in wl_event_source_fd_update()
315 ep.events = EPOLLIN; in wl_timer_heap_ensure_timerfd()
/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_test.c368 event.events = EPOLLIN; in poll_pidfd()
378 if (c != 1 || !(events[0].events & EPOLLIN)) in poll_pidfd()

123