Lines Matching refs:a
40 k_timepoint_t a, b; in ZTEST() local
42 a = sys_timepoint_calc(K_NO_WAIT); in ZTEST()
43 b = a; in ZTEST()
44 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
45 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
47 a = sys_timepoint_calc(K_FOREVER); in ZTEST()
48 b = a; in ZTEST()
49 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
50 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
52 a = sys_timepoint_calc(K_NO_WAIT); in ZTEST()
54 zassert_true(sys_timepoint_cmp(a, b) < 0); in ZTEST()
55 zassert_true(sys_timepoint_cmp(b, a) > 0); in ZTEST()
57 a = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
59 zassert_true(sys_timepoint_cmp(a, b) < 0); in ZTEST()
60 zassert_true(sys_timepoint_cmp(b, a) > 0); in ZTEST()
62 a = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
63 b = a; in ZTEST()
64 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
65 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
67 a = sys_timepoint_calc(K_MSEC(100)); in ZTEST()
69 zassert_true(sys_timepoint_cmp(a, b) < 0); in ZTEST()
70 zassert_true(sys_timepoint_cmp(b, a) > 0); in ZTEST()
72 a = sys_timepoint_calc(K_NO_WAIT); in ZTEST()
74 zassert_true(sys_timepoint_cmp(a, b) < 0); in ZTEST()
75 zassert_true(sys_timepoint_cmp(b, a) > 0); in ZTEST()