Searched refs:epoll_fd (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | sys_epoll_test.cpp | 28 int epoll_fd = epoll_create(1); in TEST() local 29 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST() 33 ASSERT_EQ(0, epoll_wait(epoll_fd, events, 1, 1)); in TEST() 36 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, nullptr)); in TEST() 40 ASSERT_EQ(0, epoll_pwait64(epoll_fd, events, 1, 1, nullptr)); in TEST() 47 ASSERT_EQ(0, epoll_pwait(epoll_fd, events, 1, 1, &ss)); in TEST() 57 int epoll_fd = epoll_create(1); in TEST() local 58 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST() 69 ASSERT_NE(-1, epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fds[0], &ev)); in TEST() 76 ASSERT_EQ(1, epoll_wait(epoll_fd, events, 1, 1)); in TEST()
|