Searched refs:POLLIN (Results 1 - 20 of 20) sorted by relevance

/fuchsia/zircon/third_party/ulib/musl/include/
H A Dpoll.h11 #define POLLIN 0x001 macro
/fuchsia/zircon/system/ulib/fdio/include/lib/fdio/
H A Dio.h25 #define FDIO_EVT_READABLE POLLIN
29 #define FDIO_EVT_ALL (POLLIN | POLLOUT | POLLERR | POLLRDHUP)
37 // and expected signals (signals_in/signals_out correspond to POLLIN/POLLOUT
/fuchsia/zircon/system/ulib/fdio/
H A Dwaitable.c22 // signals that cause POLLIN
47 if (events & POLLIN) {
60 events |= POLLIN;
H A Dpipe.c125 if (events & POLLIN) {
140 events |= POLLIN;
H A Dsocket.c293 if (events & POLLIN) {
301 if (events & POLLIN) {
329 events |= POLLIN;
336 events |= POLLIN;
520 if (events & POLLIN) {
535 events |= POLLIN;
H A Dremoteio.c44 static_assert((POLLIN << POLL_SHIFT) == DEVICE_SIGNAL_READABLE, "");
H A Dunistd.c2114 events |= POLLIN;
2163 if (events & POLLIN) {
/fuchsia/zircon/system/uapp/ping/
H A Dping.cpp118 fd.events = POLLIN;
121 if (fd.revents & POLLIN) {
/fuchsia/zircon/system/utest/pty/
H A Dpty-test.c90 ASSERT_EQ(fd_signals(pc), POLLIN | POLLOUT, "");
99 ASSERT_EQ(fd_signals(ps), POLLIN | POLLOUT, "");
201 ASSERT_EQ(fd_signals(ps), POLLHUP | POLLIN, ""); local
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.cpp53 updated_events |= POLLIN;
55 updated_events &= ~(POLLIN);
258 poll_fds_.push_back(pollfd{socket_fd_.get(), POLLIN, 0});
281 if (poll_fds_[i].revents & POLLIN) {
317 bool new_data_available = poll_fds_[i].revents & POLLIN;
378 poll_fds_.push_back(pollfd{client_fd, POLLIN, 0});
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.cpp151 if (!(pollevt & POLLIN)) {
205 if ((r = port_fd_handler_init(&vi->fh, fd, POLLIN | POLLHUP | POLLRDHUP)) < 0) {
H A Dmain.cpp124 if (pollevt & POLLIN) {
181 if ((r = port_fd_handler_init(&vc->fh, fd, POLLIN | POLLRDHUP | POLLHUP)) < 0) {
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_handle_fd.c121 struct pollfd poll_fds[1] = {{fds[0], POLLIN, 0}};
154 struct pollfd poll_fds[1] = {{fds[0], POLLIN, 0}};
H A Dfdio_socketpair.c195 pollfd.events = POLLIN;
/fuchsia/zircon/system/host/netprotocol/
H A Dnetprotocol.c271 fds.events = POLLIN;
284 if (r > 0 && (fds.revents & POLLIN)) {
/fuchsia/zircon/system/utest/syslog/
H A Dsyslog_tests.c119 fd.events = POLLIN;
/fuchsia/zircon/third_party/ulib/musl/src/network/
H A Dres_msend.c90 pfd.events = POLLIN;
/fuchsia/zircon/system/utest/blobfs/
H A Dblobfs.cpp1271 fds.events = POLLIN;
1284 fds.events = POLLIN;
1286 ASSERT_EQ(fds.revents, POLLIN);
1336 fds.events = POLLIN;
1338 ASSERT_EQ(fds.revents, POLLIN);
/fuchsia/zircon/third_party/ulib/linenoise/
H A Dlinenoise.c300 .events = POLLIN,
/fuchsia/zircon/system/uapp/gfxlatency/
H A Dmain.cpp293 fds[0].events = POLLIN;
299 fds[1].events = POLLIN;

Completed in 149 milliseconds