Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 34) sorted by relevance

12

/bionic/libc/private/
Dbionic_futex.h43 …_always_inline int __futex(volatile void* ftx, int op, int value, const struct timespec* timeout) { in __futex() argument
46 int result = syscall(__NR_futex, ftx, op, value, timeout); in __futex()
62 static inline int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
63 return __futex(ftx, FUTEX_WAIT, value, timeout); in __futex_wait()
66 …e int __futex_wait_ex(volatile void* ftx, bool shared, int value, const struct timespec* timeout) { in __futex_wait_ex() argument
67 return __futex(ftx, shared ? FUTEX_WAIT : FUTEX_WAIT_PRIVATE, value, timeout); in __futex_wait_ex()
/bionic/libc/include/
Dpoll.h55 int poll(struct pollfd* fds, nfds_t fd_count, int timeout) { in poll() argument
57 return __poll_chk(fds, fd_count, timeout, __bos(fds)); in poll()
61 return __poll_chk(fds, fd_count, timeout, __bos(fds)); in poll()
66 return __poll_real(fds, fd_count, timeout); in poll()
71 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask… in ppoll() argument
73 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds)); in ppoll()
77 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds)); in ppoll()
82 return __ppoll_real(fds, fd_count, timeout, mask); in ppoll()
/bionic/libc/bionic/
D__poll_chk.cpp33 extern "C" int __poll_chk(struct pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) { in __poll_chk() argument
37 return poll(fds, fd_count, timeout); in __poll_chk()
40 extern "C" int __ppoll_chk(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, con… in __ppoll_chk() argument
44 return ppoll(fds, fd_count, timeout, mask); in __ppoll_chk()
Depoll_wait.cpp31 int epoll_wait(int fd, struct epoll_event* events, int max_events, int timeout) { in epoll_wait() argument
32 return epoll_pwait(fd, events, max_events, timeout, NULL); in epoll_wait()
Dsigtimedwait.cpp35 int sigtimedwait(const sigset_t* set, siginfo_t* info, const timespec* timeout) { in sigtimedwait() argument
37 return __rt_sigtimedwait(sigset.get(), info, timeout, sizeof(sigset)); in sigtimedwait()
Depoll_pwait.cpp35 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
42 return __epoll_pwait(fd, events, max_events, timeout, kernel_ss_ptr, sizeof(kernel_ss)); in epoll_pwait()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_set.h70 __u32 timeout; member
86 __u32 timeout; member
Dxt_IDLETIMER.h25 __u32 timeout; member
Dxt_CT.h46 char timeout[32]; member
/bionic/libc/kernel/uapi/linux/
Dpg.h29 int timeout; member
Dusbdevice_fs.h31 __u32 timeout; member
39 unsigned int timeout; member
Dpps.h72 struct pps_ktime timeout; member
Dbsg.h52 __u32 timeout; member
Ddlm_device.h39 __u64 timeout; member
Dtipc.h70 __u32 timeout; member
Dncp_fs.h79 int timeout; member
Dip_vs.h114 unsigned int timeout; member
157 unsigned int timeout; member
/bionic/tests/
Dfortify_compilation_test.cpp227 timespec timeout; in test_ppoll() local
231 ppoll(fds, 2, &timeout, NULL); in test_ppoll()
Dsignal_test.cpp340 struct timespec timeout; in TEST() local
341 timeout.tv_sec = 2; in TEST()
342 timeout.tv_nsec = 0; in TEST()
344 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
368 struct timespec timeout; in TEST() local
369 timeout.tv_sec = 0; in TEST()
370 timeout.tv_nsec = 1000000; in TEST()
372 ASSERT_EQ(-1, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
/bionic/libc/kernel/uapi/linux/hdlc/
Dioctl.h95 unsigned int timeout; member
/bionic/libc/kernel/uapi/drm/
Dmsm_drm.h74 struct drm_msm_timespec timeout; member
127 struct drm_msm_timespec timeout; member
Dtegra_drm.h50 __u32 timeout; member
121 __u32 timeout; member
/bionic/libc/dns/resolv/
Dres_send.c721 int timeout = (statp->retrans << ns); in get_timeout() local
723 timeout /= statp->nscount; in get_timeout()
725 if (timeout <= 0) { in get_timeout()
726 timeout = 1; in get_timeout()
729 __libc_format_log(ANDROID_LOG_DEBUG, "libc", "using timeout of %d sec\n", timeout); in get_timeout()
732 return timeout; in get_timeout()
948 struct timespec now, timeout, finish; in connect_with_timeout() local
960 timeout = evConsTime((long)sec, 0L); in connect_with_timeout()
961 finish = evAddTime(now, timeout); in connect_with_timeout()
983 struct timespec now, timeout; in retrying_select() local
[all …]
/bionic/libc/kernel/uapi/rdma/
Dib_user_cm.h179 __u8 timeout; member
194 __u32 timeout; member
275 __u8 timeout; member
/bionic/libc/kernel/uapi/linux/dvb/
Ddmx.h82 __u32 timeout; member

12