Lines Matching refs:tv
16 struct timeval tv; in test_time_to_timeval() local
20 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
21 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 0)) in test_time_to_timeval()
25 if (!TEST_true(ossl_time_is_zero(ossl_time_from_timeval(tv)))) in test_time_to_timeval()
30 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
31 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 1)) in test_time_to_timeval()
34 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
35 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 1)) in test_time_to_timeval()
38 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
39 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 1)) in test_time_to_timeval()
42 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
43 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 2)) in test_time_to_timeval()
46 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
47 if (!TEST_long_eq(tv.tv_sec, 0) || !TEST_long_eq(tv.tv_usec, 999)) in test_time_to_timeval()
50 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
51 if (!TEST_long_eq(tv.tv_sec, 1) || !TEST_long_eq(tv.tv_usec, 0)) in test_time_to_timeval()
54 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
55 if (!TEST_long_eq(tv.tv_sec, 1) || !TEST_long_eq(tv.tv_usec, 0)) in test_time_to_timeval()
58 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
59 if (!TEST_long_eq(tv.tv_sec, 1) || !TEST_long_eq(tv.tv_usec, 0)) in test_time_to_timeval()
62 tv = ossl_time_to_timeval(a); in test_time_to_timeval()
63 if (!TEST_long_eq(tv.tv_sec, 1) || !TEST_long_eq(tv.tv_usec, 1)) in test_time_to_timeval()