Home
last modified time | relevance | path

Searched refs:poll (Results 26 - 50 of 388) sorted by relevance

12345678910>>...16

/third_party/ltp/testcases/kernel/syscalls/poll/
H A Dpoll02.c7 * Check that poll() timeouts correctly.
12 #include <sys/poll.h>
27 TEST(poll(pfds, 1, sleep_ms)); in sample_fn()
32 tst_res(TFAIL | TTERRNO, "poll() returned %li", TST_RET); in sample_fn()
54 .scall = "poll()",
/third_party/musl/libc-test/src/api/
H A Dpoll.c1 #include <poll.h>
24 {int(*p)(struct pollfd[],nfds_t,int) = poll;} in f()
/third_party/pulseaudio/src/pulsecore/
H A Dpoll.h26 #include <poll.h>
47 int fd; /* File descriptor to poll. */
61 #define pa_poll(fds,nfds,timeout) poll((fds),(nfds),(timeout))
/third_party/python/Lib/multiprocessing/
H A Dprocess.py64 if (child_popen := p._popen) and child_popen.poll() is not None:
165 returncode = self._popen.poll()
180 if self._popen.poll() is None:
232 return self._popen.poll()
270 exitcode = self._popen.poll()
H A Dpopen_fork.py24 def poll(self, flag=os.WNOHANG): member in Popen
43 return self.poll(os.WNOHANG if timeout == 0.0 else 0)
/third_party/musl/porting/liteos_a/kernel/include/
H A Dpoll.h10 #include <bits/poll.h>
41 int poll (struct pollfd *, nfds_t, int);
/third_party/musl/porting/liteos_a_newlib/kernel/include/
H A Dpoll.h10 #include <bits/poll.h>
41 int poll (struct pollfd *, nfds_t, int);
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
H A Dfortify_poll_chk_test.cpp1 #include <poll.h>
2 #include <fortify/poll.h>
H A Dfortify_ppoll_chk_test.cpp1 #include <poll.h>
2 #include <fortify/poll.h>
/third_party/curl/lib/
H A Dselect.h30 #include <poll.h>
32 #include <sys/poll.h>
/third_party/glfw/src/
H A Dposix_poll.c59 const int result = poll(fds, count, milliseconds); in _glfwPollPOSIX()
75 const int result = poll(fds, count, -1); in _glfwPollPOSIX()
/third_party/libuv/test/
H A Dtest-embed.c29 #include <poll.h>
68 rc = poll(&p, 1, uv_backend_timeout(loop)); in TEST_IMPL()
/third_party/musl/porting/linux/user/include/fortify/
H A Dpoll.h17 #error "Never include this file directly; instead, include <poll.h>"
34 int poll(struct pollfd* const fds __DIAGNOSE_PASS_OBJECT_SIZE, nfds_t fd_amount, int timeout)
37 "in call to 'poll', " FD_COUNT_LARGE_GIVEN_BUFFER)
46 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_amount, timeout);
/third_party/musl/include/fortify/linux/
H A Dpoll.h17 #error "Never include this file directly; instead, include <poll.h>"
34 int poll(struct pollfd* const fds __DIAGNOSE_PASS_OBJECT_SIZE, nfds_t fd_amount, int timeout)
37 "in call to 'poll', " FD_COUNT_LARGE_GIVEN_BUFFER)
46 return __DIAGNOSE_CALL_BYPASSING_FORTIFY(poll)(fds, fd_amount, timeout);
/third_party/libdrm/
H A Dlibsync.h36 #include <sys/poll.h>
70 ret = poll(&fds, 1, timeout); in sync_wait()
/third_party/ltp/testcases/kernel/syscalls/vmsplice/
H A Dvmsplice01.c14 #include <sys/poll.h>
69 * in a real app you'd be more clever with poll of course, in vmsplice_test()
73 if (poll(&pfd, 1, -1) < 0) in vmsplice_test()
74 tst_brk(TBROK | TERRNO, "poll() failed"); in vmsplice_test()
/third_party/ltp/testcases/kernel/syscalls/userfaultfd/
H A Duserfaultfd01.c15 #include <poll.h>
50 nready = poll(&pollfd, 1, -1); in handle_thread()
53 "Error on poll"); in handle_thread()
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dnameservercheck_server.c25 #include <poll.h>
75 ret = poll(fds, 1, -1); in main()
77 t_error("%s poll failed, errno is %d\n", __func__, errno); in main()
/third_party/ltp/testcases/realtime/perf/latency/
H A Dpthread_cond_many.c44 #include <sys/poll.h>
96 poll(NULL, 0, 10); in childfunc()
180 poll(NULL, 0, 10); in wake_child()
/third_party/backends/backend/pixma/
H A Dpixma_bjnp.c1141 struct POLL_DETAILS *poll; in bjnp_poll_scanner() local
1147 poll = (struct POLL_DETAILS *) cmd_buf; in bjnp_poll_scanner()
1148 memset( poll, 0, sizeof( struct POLL_DETAILS)); in bjnp_poll_scanner()
1153 poll->type = htons(type); in bjnp_poll_scanner()
1155 user_host_len = sizeof( poll -> extensions.type2.user_host); in bjnp_poll_scanner()
1164 charTo2byte(poll->extensions.type1.user_host, user_host, user_host_len); in bjnp_poll_scanner()
1168 poll->extensions.type2.dialog = htonl(device[devno].dialog); in bjnp_poll_scanner()
1169 charTo2byte(poll->extensions.type2.user_host, user_host, user_host_len); in bjnp_poll_scanner()
1170 poll->extensions.type2.unknown_1 = htonl(0x14); in bjnp_poll_scanner()
1171 poll in bjnp_poll_scanner()
[all...]
/third_party/eudev/src/udev/
H A Dudevadm-settle.c31 #include <poll.h>
156 if (poll(pfd, 1, MSEC_PER_SEC) > 0 && pfd[0].revents & POLLIN) in adm_settle()
/third_party/alsa-utils/alsamixer/
H A Dmainloop.c23 #include <poll.h>
99 fatal_alsa_error("cannot get poll descriptors", err); in mainloop()
100 n = poll(pollfds, nfds, -1); in mainloop()
106 fatal_error("poll error"); in mainloop()
116 fatal_alsa_error("cannot get poll events", err); in mainloop()
/third_party/ltp/testcases/kernel/device-drivers/drm/kernel_space/
H A Dtdrm.c68 .poll = DRM(poll), \
/third_party/node/deps/cares/src/lib/
H A Dares_event_poll.c31 # include <poll.h>
94 rv = poll(pollfd, (nfds_t)num_fds, (timeout_ms == 0) ? -1 : (int)timeout_ms); in ares_evsys_poll_wait()
130 const ares_event_sys_t ares_evsys_poll = { "poll",
/third_party/mesa3d/src/util/
H A Dlibsync.h37 #include <sys/poll.h>
113 ret = poll(&fds, 1, timeout); in sync_wait()

Completed in 11 milliseconds

12345678910>>...16