Home
last modified time | relevance | path

Searched refs:tm1 (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; in check_time() local
33 OPENSSL_gmtime(&t1, &tm1); in check_time()
34 o1 = tm1; in check_time()
35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) in check_time()
36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time()
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time()
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Dos_win32.c65 struct tm tm, *tm1; in os_mktime() local
85 tm1 = localtime(&t_local); in os_mktime()
86 if (tm1) { in os_mktime()
87 t1 = mktime(tm1); in os_mktime()
88 tm1 = gmtime(&t_local); in os_mktime()
89 if (tm1) { in os_mktime()
90 t2 = mktime(tm1); in os_mktime()
H A Dos_unix.c142 struct tm tm, *tm1; in os_mktime() local
162 tm1 = localtime(&t_local); in os_mktime()
163 if (tm1) { in os_mktime()
164 t1 = mktime(tm1); in os_mktime()
165 tm1 = gmtime(&t_local); in os_mktime()
166 if (tm1) { in os_mktime()
167 t2 = mktime(tm1); in os_mktime()
/freebsd/usr.bin/ncal/
H A Dncal.c486 struct tm *tm1; in main() local
489 tm1 = localtime(&t); in main()
490 dt.y = tm1->tm_year + 1900; in main()
491 dt.m = tm1->tm_mon + 1; in main()
492 dt.d = tm1->tm_mday; in main()
/freebsd/sbin/recoverdisk/
H A Drecoverdisk.c81 struct tm tm1; in report_good_read2() local
89 assert(localtime_r(&pp->t0, &tm1) != NULL); in report_good_read2()
94 assert(strftime(pp->str, sizeof pp->str, fmt, &tm1) != 0); in report_good_read2()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.c188 const TValue *tm1 = fasttm(L, mt1, event); in get_equalTM() local
190 if (tm1 == NULL) return NULL; /* no metamethod */ in get_equalTM()
191 if (mt1 == mt2) return tm1; /* same metatables => same metamethods */ in get_equalTM()
194 if (luaV_rawequalobj(tm1, tm2)) /* same metamethods? */ in get_equalTM()
195 return tm1; in get_equalTM()
/freebsd/usr.bin/diff/
H A Ddiffreg.c1677 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; in print_header()
1685 tm_ptr1 = localtime_r(&stb1.st_mtime, &tm1); in print_header()
1673 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; print_header() local