/glibc-2.36/misc/ |
D | tst-select.c | 32 struct timeval tmo; member 48 ts = timespec_add (ts, (struct timespec) { args->tmo.tv_sec, 0 }); in do_test_child() 50 int r = select (args->fds[0][0] + 1, &rfds, NULL, NULL, &args->tmo); in do_test_child() 55 TEST_COMPARE (args->tmo.tv_sec, 0); in do_test_child() 56 TEST_COMPARE (args->tmo.tv_usec, 0); in do_test_child() 70 struct timeval tv = { .tv_sec = args->tmo.tv_sec, .tv_usec = 0 }; in do_test_child_alarm() 73 if (args->tmo.tv_sec > INT_MAX) in do_test_child_alarm() 79 TEST_VERIFY (tv.tv_sec < args->tmo.tv_sec); in do_test_child_alarm() 92 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 250000 }; in do_test() 103 args.tmo = (struct timeval) { .tv_sec = 0, .tv_usec = 1000000 }; in do_test() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-epoll.c | 138 int tmo = TYPE_MAXIMUM (int); in test_epoll_large_timeout() local 139 TEST_COMPARE (epoll_wait_check (efd, &event, 1, tmo, &ss), -1); in test_epoll_large_timeout() 154 epoll_wait_check (int epfd, struct epoll_event *ev, int maxev, int tmo, in epoll_wait_check() argument 159 int r = epoll_wait (epfd, ev, maxev, tmo); in epoll_wait_check() 165 epoll_pwait_check (int epfd, struct epoll_event *ev, int maxev, int tmo, in epoll_pwait_check() argument 168 return epoll_pwait (epfd, ev, maxev, tmo, ss); in epoll_pwait_check() 172 epoll_pwait2_check (int epfd, struct epoll_event *ev, int maxev, int tmo, in epoll_pwait2_check() argument 175 time_t s = tmo == -1 ? TYPE_MAXIMUM (time_t) : tmo / 1000; in epoll_pwait2_check() 176 long int ns = tmo == -1 ? 0 : (tmo % 1000) * 1000000; in epoll_pwait2_check()
|
D | epoll_pwait2.c | 24 const struct __timespec64 *tmo, const sigset_t *s) in __epoll_pwait2_time64() argument 27 return SYSCALL_CANCEL (epoll_pwait2, fd, ev, maxev, tmo, s, __NSIG_BYTES); in __epoll_pwait2_time64() 34 const struct timespec *tmo, const sigset_t *s) in libc_hidden_def() 37 if (tmo != NULL) in libc_hidden_def() 39 tmo64 = valid_timespec_to_timespec64 (*tmo); in libc_hidden_def()
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-join15.c | 68 struct timespec tmo; in do_test() local 69 if (clock_gettime (clocks[t], &tmo) == -1) in do_test() 72 tmo = make_timespec (-1, 0); in do_test() 74 tmo = timespec_add (tmo, make_timespec (0, 100000000)); in do_test() 79 TEST_COMPARE (pthread_clockjoin_np (thr, NULL, clocks[t], &tmo), ret); in do_test()
|
D | tst-robust3.c | 5 static struct timespec tmo; variable 14 tmo.tv_sec = tv.tv_sec + 3600; \ 15 tmo.tv_nsec = 0; \ 19 #define LOCK(m) pthread_mutex_timedlock (m, &tmo)
|
/glibc-2.36/nptl/ |
D | tst-mutexpi10.c | 64 struct timespec tmo = timespec_add (xclock_now (clocks[c].clk), in do_test() local 67 TEST_COMPARE (pthread_mutex_clocklock (&mtx, clocks[c].clk, &tmo), in do_test()
|
/glibc-2.36/socket/ |
D | recvmmsg.c | 26 struct timespec *tmo) in recvmmsg() argument
|
/glibc-2.36/include/sys/ |
D | epoll.h | 11 const struct __timespec64 *tmo,
|
/glibc-2.36/sysdeps/unix/sysv/linux/include/sys/ |
D | sem.h | 17 const struct __timespec64 *tmo);
|
/glibc-2.36/scripts/ |
D | check-obsolete-constructs.py | 168 for tmo in ENDLINE_RE.finditer(text): 170 adj_line_start = tmo.end()
|