Lines Matching refs:ts2
18 struct tst_ts ts1, ts2;
22 ts2 = tst_ts_from_us(type, VAL_US);
24 diff = tst_ts_diff_ns(ts1, ts2);
31 diff = tst_ts_diff_ns(ts1, ts2);
38 diff = tst_ts_diff_ms(ts1, ts2);
48 struct tst_ts ts1, ts2;
51 ts2 = tst_ts_from_us(type, VAL_US + 1);
53 if (tst_ts_lt(ts1, ts2))
54 tst_res(TPASS, "ts1 < ts2");
56 tst_res(TFAIL, "ts1 >= ts2");
60 if (tst_ts_lt(ts1, ts2))
61 tst_res(TFAIL, "ts1 < ts2");
63 tst_res(TPASS, "ts1 >= ts2");
67 if (tst_ts_lt(ts1, ts2))
68 tst_res(TFAIL, "ts1 < ts2");
70 tst_res(TPASS, "ts1 >= ts2");