| /src/lib/libc/sys/ | 
| sigtimedwait.c | 51 	struct timespec ts;  local in function:sigtimedwait 54 		ts = *timeout;
 55 		return __sigtimedwait(set, info, &ts);
 
 | 
| epoll.c | 59 	struct timespec ts, *tsp;  local in function:epoll_pwait 62 		ts.tv_sec = timeout / 1000;
 63 		ts.tv_nsec = (timeout % 1000) * 1000000;
 64 		tsp = &ts;
 
 | 
| /src/lib/libc/gen/ | 
| usleep.c | 49 	struct timespec ts;  local in function:__weak_alias 54 	ts.tv_sec  = (useconds / 1000000);
 55 	ts.tv_nsec = (useconds % 1000000) * 1000;
 57 	nanosleep(&ts, NULL);
 
 | 
| /src/lib/libc/compat/sys/ | 
| compat_aio_suspend.c | 63 	struct timespec ts, *tsp;  variable in typeref:struct:timespec 66 		timespec50_to_timespec(ts50, tsp = &ts);
 
 | 
| compat_mqueue.c | 66 	struct timespec ts, *tsp;  variable in typeref:struct:timespec 69 		timespec50_to_timespec(ts50, tsp = &ts);
 79 	struct timespec ts, *tsp;  local in function:mq_timedsend
 82 		timespec50_to_timespec(ts50, tsp = &ts);
 
 | 
| compat_lfs_segwait.c | 57 	struct timeval ts, *tsp;  variable in typeref:struct:timeval 60 		timeval50_to_timeval(ts50, tsp = &ts);
 
 | 
| compat_sigtimedwait.c | 61 	struct timespec ts;  local in function:__weak_alias 64 		timespec50_to_timespec(timeout, &ts);
 65 		return ____sigtimedwait50(set, info, &ts);
 
 | 
| compat__lwp_park.c | 59 	struct timespec ts, *tsp;  variable in typeref:struct:timespec 62 		timespec50_to_timespec(ts50, tsp = &ts);
 
 | 
| compat_adjtime.c | 62 	struct timeval ts, *tsp;  variable in typeref:struct:timeval 68 		timeval50_to_timeval(ts50, tsp = &ts);
 
 | 
| compat_nanosleep.c | 62 	struct timespec ts, *tsp;  variable in typeref:struct:timespec 68 		timespec50_to_timespec(ts50, tsp = &ts);
 
 | 
| compat_kevent.c | 60 	struct timespec ts, *tsp;  variable in typeref:struct:timespec 63 		timespec50_to_timespec(ts50, tsp = &ts);
 
 | 
| /src/lib/libcurses/ | 
| pause.c | 51 	struct timespec	ts;  local in function:napms 54 	ts.tv_sec = ms / 1000;
 55 	ts.tv_nsec = (ms % 1000) * 1000000;
 56 	(void)nanosleep(&ts, NULL);
 
 | 
| /src/sys/external/bsd/drm2/include/linux/sched/ | 
| clock.h | 44 	struct timespec ts;  local in function:local_clock 46 	nanouptime(&ts);
 48 	return ts.tv_sec*1000000000ull + ts.tv_nsec;
 
 | 
| /src/tests/lib/libpthread/ | 
| t_mtx.c | 119 	struct timespec ts;  local in function:ATF_TC_BODY 121 	ts.tv_sec = 0;
 122 	ts.tv_nsec = 1;
 125 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
 131 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_timedout);
 137 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
 143 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
 144 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
 150 	ATF_REQUIRE_EQ(mtx_timedlock(&m, &ts), thrd_success);
 
 | 
| /src/tests/lib/libc/gen/ | 
| t_timespec_get.c | 43 	struct timespec ts, ts2;  local in function:ATF_TC_BODY 45 	ATF_REQUIRE_EQ(timespec_getres(&ts, TIME_MONOTONIC), TIME_MONOTONIC);
 48 	ATF_REQUIRE_EQ(ts.tv_sec, ts2.tv_sec);
 49 	ATF_REQUIRE_EQ(ts.tv_nsec, ts2.tv_nsec);
 51 	ATF_REQUIRE_EQ(timespec_getres(&ts, TIME_UTC), TIME_UTC);
 54 	ATF_REQUIRE_EQ(ts.tv_sec, ts2.tv_sec);
 55 	ATF_REQUIRE_EQ(ts.tv_nsec, ts2.tv_nsec);
 58 	ATF_REQUIRE_EQ(timespec_getres(&ts, INT_MAX), 0);
 69 	struct timespec ts, ts2;  local in function:ATF_TC_BODY
 71 	ATF_REQUIRE_EQ(timespec_get(&ts, TIME_UTC), TIME_UTC)
 97  struct timespec ts, ts2;  local in function:ATF_TC_BODY
 [all...]
 | 
| /src/sys/compat/common/ | 
| kern_time_60.c | 59 		syscallarg(const struct timespec *)	ts; 66 	struct timespec ts, *tsp;  local in function:compat_60_sys__lwp_park
 68 	if (SCARG(uap, ts) == NULL)
 71 		error = copyin(SCARG(uap, ts), &ts, sizeof(ts));
 74 		tsp = &ts;
 
 | 
| /src/sys/compat/netbsd32/ | 
| netbsd32_compat_60.c | 53 		syscallarg(const netbsd32_timespecp) ts; 58 	struct timespec ts, *tsp;  local in function:compat_60_netbsd32__lwp_park
 62 	if (SCARG_P32(uap, ts) == NULL)
 65 		error = copyin(SCARG_P32(uap, ts), &ts32, sizeof ts32);
 68 		netbsd32_to_timespec(&ts32, &ts);
 69 		tsp = &ts;
 
 | 
| netbsd32_futex.c | 63 	struct timespec ts, *tsp;  local in function:netbsd32___futex 73 		netbsd32_to_timespec(&ts32, &ts);
 74 		tsp = &ts;
 
 | 
| netbsd32_select.c | 65 	struct timespec ats, *ts = NULL;  local in function:netbsd32___select50 77 		ts = &ats;
 81 	    SCARG_P32(uap, ou), SCARG_P32(uap, ex), ts, NULL);
 93 		syscallarg(const netbsd32_timespecp_t) ts;
 98 	struct timespec ats, *ts = NULL;  local in function:netbsd32___pselect50
 101 	if (SCARG_P32(uap, ts)) {
 102 		error = copyin(SCARG_P32(uap, ts), &ts32, sizeof(ts32));
 106 		ts = &ats;
 116 	    SCARG_P32(uap, ou), SCARG_P32(uap, ex), ts, mask);
 126 		syscallarg(const netbsd32_timespecp_t) ts;
 131  struct timespec ats, *ts = NULL;  local in function:netbsd32___pollts50
 [all...]
 | 
| /src/tests/lib/libc/sys/ | 
| t_lwp_ctl.c | 50 	struct timespec ts;  local in function:ATF_TC_BODY 58 	ts.tv_nsec = 10*1000000;
 59 	ts.tv_sec = 0;
 61 	ATF_REQUIRE(nanosleep(&ts, 0) != -1);
 
 | 
| t_nanosleep.c | 105 	struct timespec ts;  local in function:ATF_TC_BODY 107 	ts.tv_sec = 1;
 108 	ts.tv_nsec = -1;
 110 	ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1);
 112 	ts.tv_sec = 1;
 113 	ts.tv_nsec = 1000000000;
 115 	ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1);
 117 	ts.tv_sec = -1;
 118 	ts.tv_nsec = 0;
 120 	ATF_REQUIRE_ERRNO(0, nanosleep(&ts, NULL) == 0)
 [all...]
 | 
| t_sigtimedwait.c | 52 	struct timespec ts, before, after, len;  local in function:ATF_TC_BODY 57 	ts.tv_sec = 0;
 58 	ts.tv_nsec = 0;
 60 	r = sigtimedwait(&block, &info, &ts);
 107 	struct timespec ts;  local in function:ATF_TC_BODY
 112 	ts.tv_sec = 5;
 113 	ts.tv_nsec = 0;
 114 	r = sigtimedwait(&block, &info, &ts);
 
 | 
| /src/usr.bin/make/unit-tests/ | 
| parse.mk | 48 ${:U:range=511:@_@1234567@:ts.}: 12345 ${:U} 53 ${:U:range=1023:@_@1234567@:ts.}: 12345 ${:U}
 
 | 
| /src/sys/rump/librump/rumpkern/ | 
| cons.c | 140 	struct timespec ts;  local in function:rumpcons_stat 142 	getnanoboottime(&ts);
 146 	sb->st_atimespec = sb->st_mtimespec = sb->st_ctimespec = ts;
 147 	sb->st_birthtimespec = ts;
 
 | 
| /src/tests/kernel/ | 
| t_timeleft.c | 57 	struct timespec ts;  member in struct:info 61 timeleft__lwp_park(struct timespec *ts)
 64 	    ts, 0, ts, NULL) == -1);
 69 timeleft_pselect(struct timespec *ts)
 71 	ATF_REQUIRE_ERRNO(EINTR, pselect(1, NULL, NULL, NULL, ts, NULL));
 79 	(*i->fun)(&i->ts);
 86 	const struct timespec ts = { 5, 0 };  local in function:tester
 88 	struct info i = { fun, ts };
 97 	printf("Orig time %ju.%lu\n", (intmax_t)ts.tv_sec, ts.tv_nsec)
 [all...]
 |