Searched refs:fds (Results 1 - 3 of 3) sorted by relevance
/bionic/tests/ |
H A D | sys_select_test.cpp | 27 fd_set fds; local 28 FD_ZERO(&fds); 31 EXPECT_FALSE(FD_ISSET(i, &fds)); 34 FD_SET(0, &fds); 35 EXPECT_TRUE(FD_ISSET(0, &fds)); 36 EXPECT_FALSE(FD_ISSET(1, &fds)); 37 FD_SET(1, &fds); 38 EXPECT_TRUE(FD_ISSET(0, &fds)); 39 EXPECT_TRUE(FD_ISSET(1, &fds)); 40 FD_CLR(0, &fds); 51 int fds[2]; local [all...] |
H A D | sys_epoll_test.cpp | 47 int fds[2]; local 48 ASSERT_NE(-1, pipe(fds)); 56 ASSERT_NE(-1, epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fds[0], &ev)); 59 ASSERT_EQ(1, write(fds[1], "\n", 1)); 66 close(fds[0]); 67 close(fds[1]);
|
/bionic/libc/bionic/ |
H A D | poll.cpp | 38 int poll(pollfd* fds, nfds_t fd_count, int ms) { argument 45 return __ppoll(fds, fd_count, ts_ptr, NULL, 0); 48 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) { argument 63 return __ppoll(fds, fd_count, mutable_ts_ptr, kernel_ss_ptr, sizeof(kernel_ss));
|
Completed in 89 milliseconds