/third_party/python/Lib/test/ |
H A D | test_epoll.py | 108 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 | selec [all...] |
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
H A D | epoll_wait01.c | 11 * EPOLLIN events on an epoll instance and that struct epoll_event is set 54 {.events = EPOLLIN}, in setup() 160 if (ret_evs.events != EPOLLIN) { in verify_epollin() 161 tst_res(TFAIL, "epoll.events %x, expected EPOLLIN %x", in verify_epollin() 162 ret_evs.events, EPOLLIN); in verify_epollin() 176 uint32_t events = EPOLLIN | EPOLLOUT; in verify_epollio() 193 if ((events & EPOLLIN) && in verify_epollio() 194 has_event(ret_evs, 2, fds[0], EPOLLIN)) { in verify_epollio() 196 events &= ~EPOLLIN; in verify_epollio()
|
H A D | epoll_wait07.c | 10 * We open a channel, write in it two times and verify that EPOLLIN has been 46 .events = EPOLLIN | EPOLLONESHOT, in run() 50 tst_res(TINFO, "Write channel for the 1st time. EPOLLIN expected"); in run() 54 TST_EXP_EQ_LI(evt_receive.events & EPOLLIN, EPOLLIN); in run()
|
H A D | epoll_wait06.c | 9 * Verify that edge triggering is correctly handled by epoll, for both EPOLLIN 17 * - A call to epoll_wait() is done that will return a EPOLLIN event. 68 .events = EPOLLIN | EPOLLET, in run() 84 TST_EXP_EQ_LI(evt_receive.events & EPOLLIN, EPOLLIN); in run()
|
H A D | epoll_wait02.c | 22 {.events = EPOLLIN}
|
H A D | epoll_wait04.c | 22 {.events = EPOLLIN}
|
/third_party/ltp/testcases/kernel/syscalls/epoll_ctl/ |
H A D | epoll_ctl01.c | 29 {.events = EPOLLIN}, 31 {.events = EPOLLIN} 80 events = EPOLLIN; in check_epoll_ctl() 98 if ((events & EPOLLIN) && in check_epoll_ctl() 99 has_event(res_evs, 2, fd[0], EPOLLIN)) { in check_epoll_ctl() 101 events &= ~EPOLLIN; in check_epoll_ctl()
|
H A D | epoll_ctl03.c | 24 static struct epoll_event events = {.events = EPOLLIN}; 27 EPOLLIN, EPOLLOUT, EPOLLPRI, EPOLLERR,
|
H A D | epoll_ctl04.c | 24 static struct epoll_event events = {.events = EPOLLIN};
|
/third_party/eudev/src/udev/ |
H A D | udevadm-monitor.c | 200 ep_udev.events = EPOLLIN; in adm_monitor() 234 ep_kernel.events = EPOLLIN; in adm_monitor() 258 if (ev[i].data.fd == fd_kernel && ev[i].events & EPOLLIN) { in adm_monitor() 266 } else if (ev[i].data.fd == fd_udev && ev[i].events & EPOLLIN) { in adm_monitor()
|
H A D | udevd.c | 271 ep_signal.events = EPOLLIN; in worker_spawn() 276 ep_monitor.events = EPOLLIN; in worker_spawn() 392 if (ev[i].data.fd == fd_monitor && ev[i].events & EPOLLIN) { in worker_spawn() 395 } else if (ev[i].data.fd == fd_signal && ev[i].events & EPOLLIN) { in worker_spawn() 1131 struct epoll_event ep_ctrl = { .events = EPOLLIN }; in main() 1132 struct epoll_event ep_inotify = { .events = EPOLLIN }; in main() 1133 struct epoll_event ep_signal = { .events = EPOLLIN }; in main() 1134 struct epoll_event ep_netlink = { .events = EPOLLIN }; in main() 1135 struct epoll_event ep_worker = { .events = EPOLLIN }; in main() 1455 if (ev[i].data.fd == fd_worker && ev[i].events & EPOLLIN) in main() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_epoll.c | 105 epev.events |= EPOLLIN; in ares_evsys_epoll_event_add() 138 epev.events |= EPOLLIN; in ares_evsys_epoll_event_mod() 178 if (events[i].events & (EPOLLIN | EPOLLRDHUP | EPOLLHUP | EPOLLERR)) { in ares_evsys_epoll_wait()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_epoll.cpp | 57 g_event.events = EPOLLIN | EPOLLET; in Bm_function_Epoll_ctl() 80 g_event.events = EPOLLIN | EPOLLET; in Bm_function_Epoll_wait()
|
/third_party/alsa-utils/alsactl/ |
H A D | monitor.c | 281 ev.events = EPOLLIN; in prepare_dispatcher() 286 ev.events = EPOLLIN; in prepare_dispatcher() 292 ev.events = EPOLLIN; in prepare_dispatcher() 346 if (ev->events & EPOLLIN) in run_dispatcher()
|
/third_party/eudev/test/ |
H A D | test-libudev.c | 250 ep_udev.events = EPOLLIN; in test_monitor() 258 ep_stdin.events = EPOLLIN; in test_monitor() 276 if (ev[i].data.fd == fd_udev && ev[i].events & EPOLLIN) { in test_monitor() 284 } else if (ev[i].data.fd == STDIN_FILENO && ev[i].events & EPOLLIN) { in test_monitor()
|
/third_party/curl/docs/examples/ |
H A D | ephiperfifo.c | 206 int action = ((revents & EPOLLIN) ? CURL_CSELECT_IN : 0) | in event_cb() 272 int kind = ((act & CURL_POLL_IN) ? EPOLLIN : 0) | in setsock() 442 epev.events = EPOLLIN; in init_fifo() 495 ev.events = EPOLLIN; in main()
|
/third_party/libwebsockets/lib/event-libs/sdevent/ |
H A D | sdevent.c | 110 if (revents & EPOLLIN) { in sock_accept_handler() 183 wsi_to_priv_sd(wsi)->events |= EPOLLIN; in io_sd() 198 (uint32_t)(~EPOLLIN); in io_sd() 203 if (!(wsi_to_priv_sd(wsi)->events & (EPOLLIN | EPOLLOUT))) in io_sd()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_pwait/ |
H A D | epoll_pwait04.c | 39 e.events = EPOLLIN; in setup()
|
H A D | epoll_pwait05.c | 49 e.events = EPOLLIN; in setup()
|
H A D | epoll_pwait03.c | 51 e.events = EPOLLIN; in setup()
|
H A D | epoll_pwait02.c | 43 e.events = EPOLLIN; in setup()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | mesa-overlay-control.py | 6 from select import EPOLLIN, EPOLLPRI, EPOLLERR namespace 33 epoll.register(sock, EPOLLIN | EPOLLPRI | EPOLLERR) 54 # EPOLLIN or EPOLLPRI, just read the message
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | epoll.h | 20 #define EPOLLIN 0x001 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | epoll.h | 20 #define EPOLLIN 0x001 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | epoll.h | 20 #define EPOLLIN 0x001 macro
|