Lines Matching defs:ts
26 struct timespec pt, *ts;
38 ts = ptimeout_get_tsp(&pt);
39 ASSERT_PTR_NE(ts, NULL);
40 ASSERT_LONG_EQ(ts->tv_nsec, 0);
41 ASSERT_LONG_EQ(ts->tv_sec, 100);
48 ts = ptimeout_get_tsp(&pt);
49 ASSERT_PTR_NE(ts, NULL);
50 ASSERT_LONG_EQ(ts->tv_nsec, 123 * 1000000);
51 ASSERT_LONG_EQ(ts->tv_sec, 50);
58 ts = ptimeout_get_tsp(&pt);
59 ASSERT_PTR_NE(ts, NULL);
60 ASSERT_LONG_EQ(ts->tv_nsec, 0);
61 ASSERT_LONG_EQ(ts->tv_sec, 0);
69 ts = ptimeout_get_tsp(&pt);
70 ASSERT_PTR_NE(ts, NULL);
71 ASSERT_LONG_GT(ts->tv_sec, 50);
72 ASSERT_LONG_LT(ts->tv_sec, 200);
80 ts = ptimeout_get_tsp(&pt);
81 ASSERT_PTR_NE(ts, NULL);
82 ASSERT_LONG_EQ(ts->tv_nsec, 0);
83 ASSERT_LONG_EQ(ts->tv_sec, 0);