/third_party/ltp/testcases/kernel/syscalls/poll/ |
H A D | poll02.c | 7 * 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 D | poll.c | 1 #include <poll.h> 24 {int(*p)(struct pollfd[],nfds_t,int) = poll;} in f()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | poll.h | 26 #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 D | process.py | 64 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 D | popen_fork.py | 24 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 D | poll.h | 10 #include <bits/poll.h> 41 int poll (struct pollfd *, nfds_t, int);
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
H A D | poll.h | 10 #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 D | fortify_poll_chk_test.cpp | 1 #include <poll.h> 2 #include <fortify/poll.h>
|
H A D | fortify_ppoll_chk_test.cpp | 1 #include <poll.h> 2 #include <fortify/poll.h>
|
/third_party/curl/lib/ |
H A D | select.h | 30 #include <poll.h> 32 #include <sys/poll.h>
|
/third_party/glfw/src/ |
H A D | posix_poll.c | 59 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 D | test-embed.c | 29 #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 D | poll.h | 17 #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 D | poll.h | 17 #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 D | libsync.h | 36 #include <sys/poll.h> 70 ret = poll(&fds, 1, timeout); in sync_wait()
|
/third_party/ltp/testcases/kernel/syscalls/vmsplice/ |
H A D | vmsplice01.c | 14 #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 D | userfaultfd01.c | 15 #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 D | nameservercheck_server.c | 25 #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 D | pthread_cond_many.c | 44 #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 D | pixma_bjnp.c | 1141 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 D | udevadm-settle.c | 31 #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 D | mainloop.c | 23 #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 D | tdrm.c | 68 .poll = DRM(poll), \
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_poll.c | 31 # 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 D | libsync.h | 37 #include <sys/poll.h> 113 ret = poll(&fds, 1, timeout); in sync_wait()
|