Lines Matching defs:ts1
18 struct tst_ts ts1, ts2;
21 ts1 = tst_ts_from_ms(type, VAL_MS);
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;
50 ts1 = tst_ts_from_ms(type, VAL_MS);
53 if (tst_ts_lt(ts1, ts2))
54 tst_res(TPASS, "ts1 < ts2");
56 tst_res(TFAIL, "ts1 >= ts2");
58 ts1 = tst_ts_add_us(ts1, 1);
60 if (tst_ts_lt(ts1, ts2))
61 tst_res(TFAIL, "ts1 < ts2");
63 tst_res(TPASS, "ts1 >= ts2");
65 ts1 = tst_ts_add_us(ts1, 1);
67 if (tst_ts_lt(ts1, ts2))
68 tst_res(TFAIL, "ts1 < ts2");
70 tst_res(TPASS, "ts1 >= ts2");