Searched refs:poll (Results 1 - 25 of 31) sorted by relevance

12

/fuchsia/zircon/third_party/ulib/musl/src/unistd/
H A Dpause.c3 #include <poll.h>
7 return poll(NULL, 0, 0);
/fuchsia/zircon/third_party/ulib/musl/include/sys/
H A Dpoll.h1 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
2 #include <poll.h>
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dpoll.h9 #include <bits/poll.h>
36 int poll(struct pollfd*, nfds_t, int);
/fuchsia/zircon/system/ulib/fdio/include/lib/fdio/
H A Dio.h8 #include <poll.h>
/fuchsia/zircon/system/uapp/ping/
H A Dping.cpp12 #include <poll.h>
119 switch (poll(&fd, 1, 1000)) {
125 fprintf(stderr, "ping: Spurious wakeup from poll\n");
/fuchsia/zircon/system/host/xdc-server/
H A Dxdc-server.h9 #include <poll.h>
37 // Returns the set of client events we should poll for.
H A Dxdc-server.cpp14 #include <poll.h>
49 // We want to poll for the client readable signal if:
57 // We need to poll for the client writable signal if we have data to send to the client.
209 // passed to poll.
269 // poll expects an array of pollfds.
270 int num = poll(&poll_fds_[0], poll_fds_.size(), -1 /* timeout */);
272 fprintf(stderr, "poll failed, err: %s\n", strerror(errno));
283 // Don't need to increment num_sockets as there aren't poll events for it yet.
299 fprintf(stderr, "poll returned an unknown fd: %d\n", poll_fds_[i].fd);
389 // Client has disconnected. This will be handled in the main poll threa
[all...]
/fuchsia/zircon/system/ulib/fdio/
H A Dwaitable.c5 #include <poll.h>
H A Dpipe.c6 #include <poll.h>
H A Dbsdsocket.c9 #include <poll.h>
/fuchsia/zircon/system/utest/syslog/
H A Dsyslog_tests.c10 #include <poll.h>
120 EXPECT_EQ(poll(&fd, 1, 1), 0, "");
H A Dsyslog_socket_tests.cpp15 #include <poll.h>
/fuchsia/zircon/third_party/ulib/musl/src/network/
H A Dres_msend.c8 #include <poll.h>
108 if (poll(&pfd, 1, t1 + retry_interval - t2) <= 0)
/fuchsia/zircon/system/host/bootserver/
H A Dtftp.c16 #include <poll.h>
110 int poll_result = poll(&poll_fds, 1, SEND_TIMEOUT_US);
/fuchsia/zircon/system/host/netprotocol/
H A Dnetcp.c11 #include <poll.h>
109 int poll_result = poll(&poll_fds, 1, MAX_SEND_TIME_MS);
H A Dnetprotocol.c21 #include <poll.h>
283 int r = poll(&fds, 1, wait_ms);
290 fprintf(stderr, "poll returned error: %s\n", strerror(errno));
/fuchsia/zircon/system/utest/fdio/
H A Dfdio_socketpair.c8 #include <poll.h>
200 poll_args->poll_result = poll(&pollfd, 1, timeout_ms);
228 EXPECT_EQ(poll_args.poll_result, 1, "poll should have one entry");
229 EXPECT_LT(poll_args.poll_time, 100u * 1000 * 1000, "poll should not have timed out");
250 EXPECT_EQ(poll_args.poll_result, 1, "poll should have one entry");
251 EXPECT_LT(poll_args.poll_time, 100u * 1000 * 1000, "poll should not have timed out");
/fuchsia/zircon/third_party/ulib/musl/stubs/
H A Diostubs.c3 #include <poll.h>
448 weak_alias(stub_poll, poll);
/fuchsia/zircon/system/core/virtcon/
H A Dkeyboard.cpp6 #include <poll.h>
H A Dmain.cpp7 #include <poll.h>
/fuchsia/zircon/system/utest/core/interrupt/
H A Dinterrupt-test.c11 #include <poll.h>
/fuchsia/zircon/system/utest/pty/
H A Dpty-test.c9 #include <poll.h>
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dprocess.c8 #include <poll.h>
/fuchsia/zircon/system/dev/i2c/dw-i2c/
H A Ddw-i2c.c75 int poll = 0; local
88 } while (poll++ < max_poll);
/fuchsia/zircon/third_party/ulib/linenoise/
H A Dlinenoise.c118 #include <poll.h>
303 if (poll(&p, 1, 250) != 1) return -1;

Completed in 96 milliseconds

12