Lines Matching defs:fds
273 struct pollfd fds[1];
290 fds[0].fd = efd;
291 fds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI |
293 fds[0].revents = 0;
294 ATF_REQUIRE(poll(fds, 1, 0) == 1);
295 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));
331 fds[0].fd = efd;
332 fds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI |
334 fds[0].revents = 0;
335 ATF_REQUIRE(poll(fds, 1, 0) == 1);
336 ATF_REQUIRE(fds[0].revents == (POLLIN | POLLRDNORM));
372 struct pollfd fds[1];
378 fds[0].fd = ctx->efd;
379 fds[0].events = POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI;
380 fds[0].revents = 0;
388 ATF_REQUIRE(poll(fds, 1, INFTIM) == 1);
389 ATF_REQUIRE(fds[0].revents == (POLLIN | POLLRDNORM));
398 fds[0].fd = ctx->efd;
399 fds[0].events = POLLOUT | POLLWRNORM;
400 fds[0].revents = 0;
408 ATF_REQUIRE(poll(fds, 1, INFTIM) == 1);
409 ATF_REQUIRE(fds[0].revents == (POLLOUT | POLLWRNORM));