Lines Matching refs:pollfd
3299 struct pollfd pollfd; in TEST() local
3354 pollfd.fd = listener; in TEST()
3355 pollfd.events = POLLIN | POLLOUT; in TEST()
3357 EXPECT_GT(poll(&pollfd, 1, -1), 0); in TEST()
3358 EXPECT_EQ(pollfd.revents, POLLIN); in TEST()
3373 pollfd.fd = listener; in TEST()
3374 pollfd.events = POLLIN | POLLOUT; in TEST()
3376 EXPECT_GT(poll(&pollfd, 1, -1), 0); in TEST()
3377 EXPECT_EQ(pollfd.revents, POLLOUT); in TEST()
3748 struct pollfd pollfd; in TEST() local
3776 pollfd.fd = listener; in TEST()
3777 pollfd.events = POLLIN | POLLOUT; in TEST()
3779 EXPECT_GT(poll(&pollfd, 1, -1), 0); in TEST()
3780 EXPECT_EQ(pollfd.revents, POLLIN); in TEST()
3784 pollfd.fd = listener; in TEST()
3785 pollfd.events = POLLIN | POLLOUT; in TEST()
3787 EXPECT_GT(poll(&pollfd, 1, -1), 0); in TEST()
3788 EXPECT_EQ(pollfd.revents, POLLOUT); in TEST()
3832 struct pollfd pollfd; in TEST() local
3869 pollfd.fd = 200; in TEST()
3870 pollfd.events = POLLHUP; in TEST()
3872 EXPECT_GT(poll(&pollfd, 1, 2000), 0); in TEST()
3873 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()
3886 struct pollfd pollfd; in TEST() local
3955 pollfd.fd = 200; in TEST()
3956 pollfd.events = POLLHUP; in TEST()
3958 EXPECT_GT(poll(&pollfd, 1, 2000), 0); in TEST()
3959 EXPECT_GT((pollfd.revents & POLLHUP) ?: 0, 0); in TEST()