Home
last modified time | relevance | path

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

12

/bionic/libc/include/bits/fortify/
Dpoll.h43 int poll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, int timeout) in poll() argument
51 return __poll_chk(fds, fd_count, timeout, bos_fds); in poll()
54 return __call_bypassing_fortify(poll)(fds, fd_count, timeout); in poll()
59 …d* const fds __pass_object_size, nfds_t fd_count, const struct timespec* timeout, const sigset_t* … in ppoll() argument
67 return __ppoll_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll()
70 return __call_bypassing_fortify(ppoll)(fds, fd_count, timeout, mask); in ppoll()
76 …d* const fds __pass_object_size, nfds_t fd_count, const struct timespec* timeout, const sigset64_t… in ppoll64() argument
84 return __ppoll64_chk(fds, fd_count, timeout, mask, bos_fds); in ppoll64()
87 return __call_bypassing_fortify(ppoll64)(fds, fd_count, timeout, mask); in ppoll64()
/bionic/libc/bionic/
Dsys_epoll.cpp50 int epoll_pwait(int fd, epoll_event* events, int max_events, int timeout, const sigset_t* ss) { in epoll_pwait() argument
58 return epoll_pwait64(fd, events, max_events, timeout, ss_ptr); in epoll_pwait()
61 int epoll_pwait64(int fd, epoll_event* events, int max_events, int timeout, const sigset64_t* ss) { in epoll_pwait64() argument
62 return __epoll_pwait(fd, events, max_events, timeout, ss, sizeof(*ss)); in epoll_pwait64()
65 int epoll_wait(int fd, struct epoll_event* events, int max_events, int timeout) { in epoll_wait() argument
66 return epoll_pwait64(fd, events, max_events, timeout, nullptr); in epoll_wait()
Dfortify.cpp158 int __poll_chk(pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) { in __poll_chk() argument
160 return poll(fds, fd_count, timeout); in __poll_chk()
163 int __ppoll_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll_chk() argument
166 return ppoll(fds, fd_count, timeout, mask); in __ppoll_chk()
169 int __ppoll64_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout, in __ppoll64_chk() argument
172 return ppoll64(fds, fd_count, timeout, mask); in __ppoll64_chk()
Dsignal.cpp273 int sigtimedwait(const sigset_t* bionic_set, siginfo_t* info, const timespec* timeout) { in sigtimedwait() argument
276 return sigtimedwait64(&set.sigset64, info, timeout); in sigtimedwait()
279 int sigtimedwait64(const sigset64_t* set, siginfo_t* info, const timespec* timeout) { in sigtimedwait64() argument
286 return __rt_sigtimedwait(mutable_set_ptr, info, timeout, sizeof(*set)); in sigtimedwait64()
Dndk_cruft.cpp228 int __futex_wait(volatile void* ftx, int value, const struct timespec* timeout) { in __futex_wait() argument
229 return __real_futex_wait(ftx, value, timeout); in __futex_wait()
/bionic/libc/private/
Dbionic_futex.h42 const timespec* timeout, int bitset) { in __futex() argument
45 int result = syscall(__NR_futex, ftx, op, value, timeout, NULL, bitset); in __futex()
61 static inline int __futex_wait(volatile void* ftx, int value, const timespec* timeout) { in __futex_wait() argument
62 return __futex(ftx, FUTEX_WAIT, value, timeout, 0); in __futex_wait()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_IDLETIMER.h25 __u32 timeout; member
30 __u32 timeout; member
Dxt_set.h60 __u32 timeout; member
73 __u32 timeout; member
Dxt_CT.h44 char timeout[32]; member
/bionic/libc/kernel/uapi/linux/
Dpps.h74 struct pps_ktime timeout; member
78 struct pps_ktime_compat timeout; member
Dauto_dev-ioctl.h47 __u64 timeout; member
82 struct args_timeout timeout; member
Dusbdevice_fs.h29 __u32 timeout; member
35 unsigned int timeout; member
Dpg.h29 int timeout; member
Dbsg.h46 __u32 timeout; member
Dip_vs.h104 unsigned int timeout; member
139 unsigned int timeout; member
Ddlm_device.h35 __u64 timeout; member
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT21 int epoll_wait:epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) lp32
36 int poll:poll(struct pollfd *fds, nfds_t nfds, int timeout) lp32
55 …t(int n, unsigned long* inp, unsigned long* outp, unsigned long* exp, struct timeval* timeout) lp32
/bionic/libc/kernel/uapi/drm/
Detnaviv_drm.h83 struct drm_etnaviv_timespec timeout; member
143 struct drm_etnaviv_timespec timeout; member
158 struct drm_etnaviv_timespec timeout; member
Dtegra_drm.h48 __u32 timeout; member
105 __u32 timeout; member
Dmsm_drm.h80 struct drm_msm_timespec timeout; member
146 struct drm_msm_timespec timeout; member
/bionic/libc/dns/resolv/
Dres_send.c151 socklen_t salen, const struct timespec timeout);
984 const struct timespec timeout) in connect_with_timeout() argument
998 struct timespec finish = evAddTime(now, timeout); in connect_with_timeout()
1019 struct timespec now, timeout; in retrying_poll() local
1028 timeout = evSubTime(*finish, now); in retrying_poll()
1030 timeout = evConsTime(0L, 0L); in retrying_poll()
1032 int n = ppoll(&fds, 1, &timeout, /*sigmask=*/NULL); in retrying_poll()
1084 struct timespec now, timeout, finish, done; in send_dg() local
1165 timeout = get_timeout(statp, params, ns); in send_dg()
1167 finish = evAddTime(now, timeout); in send_dg()
/bionic/libc/kernel/uapi/linux/hdlc/
Dioctl.h80 unsigned int timeout; member
/bionic/tests/
Dfortify_test.cpp1007 timespec timeout; in TEST_F() local
1008 timeout.tv_sec = timeout.tv_nsec = 0; in TEST_F()
1009 ASSERT_FORTIFY(ppoll(buf, fd_count, &timeout, nullptr)); in TEST_F()
1017 timespec timeout; in TEST_F() local
1018 timeout.tv_sec = timeout.tv_nsec = 0; in TEST_F()
1019 ASSERT_FORTIFY(ppoll64(buf, fd_count, &timeout, nullptr)); in TEST_F()
Dsignal_test.cpp723 timespec timeout = { .tv_sec = 2, .tv_nsec = 0 }; in TEST() local
725 ASSERT_EQ(SIGALRM, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
744 timespec timeout = { .tv_sec = 2, .tv_nsec = 0 }; in TEST() local
746 ASSERT_EQ(SIGRTMIN, sigtimedwait64(&just_SIGRTMIN, &info, &timeout)); in TEST()
761 timespec timeout = { .tv_sec = 0, .tv_nsec = 1000000 }; in TEST() local
763 ASSERT_EQ(-1, sigtimedwait(&just_SIGALRM, &info, &timeout)); in TEST()
/bionic/libc/kernel/android/scsi/scsi/
Dsg.h36 unsigned int timeout; member

12