Lines Matching refs:tm
17 struct tm tm = *gmtime(&tp->ux); in timeutil_check() local
18 time_t uxtime = timeutil_timegm(&tm); in timeutil_check()
20 zassert_equal(&tm, gmtime_r(&tp->ux, &tm), in timeutil_check()
23 zassert_equal(tm.tm_year, tp->tm.tm_year, in timeutil_check()
25 tp->civil, tm.tm_year, tp->tm.tm_year); in timeutil_check()
26 zassert_equal(tm.tm_mon, tp->tm.tm_mon, in timeutil_check()
28 tp->civil, tm.tm_mon, tp->tm.tm_mon); in timeutil_check()
29 zassert_equal(tm.tm_mday, tp->tm.tm_mday, in timeutil_check()
31 tp->civil, tm.tm_mday, tp->tm.tm_mday); in timeutil_check()
32 zassert_equal(tm.tm_hour, tp->tm.tm_hour, in timeutil_check()
34 tp->civil, tm.tm_hour, tp->tm.tm_hour); in timeutil_check()
35 zassert_equal(tm.tm_min, tp->tm.tm_min, in timeutil_check()
37 tp->civil, tm.tm_min, tp->tm.tm_min); in timeutil_check()
38 zassert_equal(tm.tm_sec, tp->tm.tm_sec, in timeutil_check()
40 tp->civil, tm.tm_sec, tp->tm.tm_sec); in timeutil_check()
41 zassert_equal(tm.tm_wday, tp->tm.tm_wday, in timeutil_check()
43 tp->civil, tm.tm_wday, tp->tm.tm_wday); in timeutil_check()
44 zassert_equal(tm.tm_yday, tp->tm.tm_yday, in timeutil_check()
46 tp->civil, tm.tm_yday, tp->tm.tm_yday); in timeutil_check()