Home | History | Annotate | Download | only in adb

Lines Matching full:revents

131     pfd[0].revents = -1;
132 pfd[1].revents = -1;
134 EXPECT_EQ(0, pfd[0].revents);
135 EXPECT_EQ(POLLWRNORM, pfd[1].revents);
140 pfd[0].revents = -1;
142 EXPECT_EQ(POLLRDNORM, pfd[0].revents);
143 pfd[0].revents = -1;
144 pfd[1].revents = -1;
146 EXPECT_EQ(POLLRDNORM, pfd[0].revents);
147 EXPECT_EQ(POLLWRNORM, pfd[1].revents);
156 EXPECT_EQ(0, pfd.revents);
161 EXPECT_EQ(POLLRDNORM, pfd.revents);
177 EXPECT_EQ(POLLRDNORM, pfd[0].revents);
180 EXPECT_EQ(POLLRDNORM, pfd[0].revents);
181 EXPECT_EQ(POLLNVAL, pfd[1].revents);
182 EXPECT_EQ(POLLWRNORM, pfd[2].revents);
192 EXPECT_EQ(0, pfd[0].revents);
193 EXPECT_EQ(0, pfd[1].revents);
198 EXPECT_EQ(POLLRDNORM, pfd[0].revents);
199 EXPECT_EQ(POLLRDNORM, pfd[1].revents);
208 EXPECT_EQ(0, pfd.revents);
216 EXPECT_EQ(POLLHUP, pfd.revents & POLLHUP);
236 ASSERT_NE(0, pfds[i].revents & POLLIN);