/freebsd/contrib/kyua/utils/ |
H A D | datetime_test.cpp | 267 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() local 270 const datetime::timestamp ts2 = ts1; in ATF_TEST_CASE_BODY() 273 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 277 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 342 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() local 344 ATF_REQUIRE_EQ("2010-12-10", ts1.strftime("%Y-%m-%d")); in ATF_TEST_CASE_BODY() 345 ATF_REQUIRE_EQ("08:45:50", ts1.strftime("%H:%M:%S")); in ATF_TEST_CASE_BODY() 356 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() local 358 ATF_REQUIRE_EQ("2010-12-10T08:45:50.000000Z", ts1.to_iso8601_in_utc()); in ATF_TEST_CASE_BODY() 369 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() local [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_nanosleep.c | 71 struct timespec ts1, ts2, tsn; in ATF_TC_BODY() local 79 (void)memset(&ts1, 0, sizeof(struct timespec)); in ATF_TC_BODY() 82 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &ts1) == 0); in ATF_TC_BODY() 89 if (timespeccmp(&ts2, &ts1, <=) != 0) { in ATF_TC_BODY() 96 (unsigned long long)ts1.tv_sec, ts1.tv_nsec, in ATF_TC_BODY()
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_clock.c | 60 struct timespec ts1; in measure_clock() local 74 nanotime(&ts1); in measure_clock() 82 delta = timespec_sub(ts2, ts1); in measure_clock() 121 delta = timespec_sub(ts3, ts1); in measure_clock()
|
/freebsd/tools/tools/so_splice/ |
H A D | pingpong.c | 130 struct timespec ts1, ts2; in main() local 140 clock_gettime(CLOCK_MONOTONIC, &ts1); in main() 151 ns = (ts2.tv_sec - ts1.tv_sec) * 1000000000 + in main() 152 (ts2.tv_nsec - ts1.tv_nsec); in main()
|
/freebsd/sys/netinet/ |
H A D | ip_input.c | 1122 struct timespec ts1; in ip_savecontrol() local 1126 mbuf_tstmp2timespec(m, &ts1); in ip_savecontrol() 1127 timespec2bintime(&ts1, &bt); in ip_savecontrol() 1142 struct timespec ts1; in ip_savecontrol() local 1147 mbuf_tstmp2timespec(m, &ts1); in ip_savecontrol() 1148 timespec2bintime(&ts1, &bt1); in ip_savecontrol() 1163 struct timespec ts, ts1; in ip_savecontrol() local 1169 bintime2timespec(&boottimebin, &ts1); in ip_savecontrol() 1170 timespecadd(&ts, &ts1, &ts); in ip_savecontrol()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_mutex.c | 885 struct timespec ts1, ts2; in mutex_self_lock() local 896 clock_gettime(CLOCK_REALTIME, &ts1); in mutex_self_lock() 897 TIMESPEC_SUB(&ts2, abstime, &ts1); in mutex_self_lock() 921 clock_gettime(CLOCK_REALTIME, &ts1); in mutex_self_lock() 922 TIMESPEC_SUB(&ts2, abstime, &ts1); in mutex_self_lock() 927 ts1.tv_sec = 30; in mutex_self_lock() 928 ts1.tv_nsec = 0; in mutex_self_lock() 930 __sys_nanosleep(&ts1, NULL); in mutex_self_lock()
|
/freebsd/sys/netinet6/ |
H A D | ip6_input.c | 1189 struct timespec ts1; in ip6_savecontrol_v4() local 1197 mbuf_tstmp2timespec(m, &ts1); in ip6_savecontrol_v4() 1198 timespec2bintime(&ts1, &bt1); in ip6_savecontrol_v4() 1216 mbuf_tstmp2timespec(m, &ts1); in ip6_savecontrol_v4() 1217 timespec2bintime(&ts1, &t.bt); in ip6_savecontrol_v4() 1236 bintime2timespec(&boottimebin, &ts1); in ip6_savecontrol_v4() 1237 timespecadd(&t.ts, &ts1, &t.ts); in ip6_savecontrol_v4()
|
/freebsd/sys/kern/ |
H A D | subr_turnstile.c | 882 struct turnstile *ts1; in turnstile_broadcast() local 911 ts1 = ts; in turnstile_broadcast() 916 ts1 = LIST_FIRST(&ts->ts_free); in turnstile_broadcast() 917 MPASS(ts1 != NULL); in turnstile_broadcast() 918 LIST_REMOVE(ts1, ts_hash); in turnstile_broadcast() 919 td->td_turnstile = ts1; in turnstile_broadcast()
|
H A D | uipc_sem.c | 809 struct timespec ts1, ts2; in kern_sem_wait() local 843 ts1 = *abstime; in kern_sem_wait() 845 timespecsub(&ts1, &ts2, &ts1); in kern_sem_wait() 846 TIMESPEC_TO_TIMEVAL(&tv, &ts1); in kern_sem_wait()
|
/freebsd/sys/netsmb/ |
H A D | smb_trantcp.c | 521 struct timespec ts1, ts2; in smb_nbst_connect() local 541 getnanotime(&ts1); in smb_nbst_connect() 546 timespecsub(&ts2, &ts1, &ts2); in smb_nbst_connect()
|
/freebsd/usr.sbin/moused/ |
H A D | moused.c | 2509 struct timespec ts1; in r_timestamp() 2522 clock_gettime(CLOCK_MONOTONIC_FAST, &ts1); in r_timestamp() 2523 drift_current_ts = ts1; in r_timestamp() 2528 tssub(&ts1, &ts2, &ts); in r_timestamp() 2534 tssub(&ts1, &ts2, &ts3); in r_timestamp() 2548 bstate[i].ts = ts1; in r_timestamp() 2551 bstate[i].ts = ts1; in r_timestamp() 2558 bstate[i].ts = ts1; in r_timestamp() 2575 struct timespec ts1; in r_timeout() 2580 clock_gettime(CLOCK_MONOTONIC_FAST, &ts1); in r_timeout() 2510 struct timespec ts1; r_timestamp() local 2576 struct timespec ts1; r_timeout() local [all...] |
/freebsd/sys/compat/linux/ |
H A D | linux_misc.c | 2230 struct timespec ts0, ts1; in linux_common_ppoll() local 2262 nanotime(&ts1); in linux_common_ppoll() 2263 timespecsub(&ts1, &ts0, &ts1); in linux_common_ppoll() 2264 timespecsub(tsp, &ts1, tsp); in linux_common_ppoll()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_cmd.c | 833 ds = ent->ts2 - ent->ts1; in complete_command() 901 ent->ts1 = ktime_get_ns(); in cmd_work_handler() 1024 ds = ent->ts2 - ent->ts1; in mlx5_cmd_invoke()
|
/freebsd/sys/dev/mlx5/ |
H A D | driver.h | 887 u64 ts1; 880 u64 ts1; global() member
|
/freebsd/contrib/ncurses/ |
H A D | aclocal.m4 | 2760 struct timespec ts1, ts2; 2762 ts1.tv_sec = 0; 2763 ts1.tv_nsec = 750000000; 2767 code = nanosleep(&ts1, &ts2); /* on failure errno is ENOSYS. */
|
/freebsd/share/termcap/ |
H A D | termcap | 611 falco|ts1|ts-1|falco ts-1:is=\Eu\E3:\
|
/freebsd/ |
H A D | ObsoleteFiles.inc | 7246 OLD_FILES+=usr/share/terminfo/t/ts1
|
/freebsd/contrib/ncurses/misc/ |
H A D | terminfo.src | 17326 falco|ts1|ts-1|Falco ts-1,
|