Searched refs:tm1 (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | gmdifftest.c | 24 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 D | os_win32.c | 65 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 D | os_unix.c | 158 struct tm tm, *tm1; in os_mktime() local 178 tm1 = localtime(&t_local); in os_mktime() 179 if (tm1) { in os_mktime() 180 t1 = mktime(tm1); in os_mktime() 181 tm1 = gmtime(&t_local); in os_mktime() 182 if (tm1) { in os_mktime() 183 t2 = mktime(tm1); in os_mktime()
|
| /freebsd/crypto/krb5/src/appl/gss-sample/ |
| H A D | gss-server.c | 359 struct timeval tm1, tm2; in test_import_export_context() local 364 gettimeofday(&tm1, (struct timezone *) 0); in test_import_export_context() 373 (int) context_token.length, timeval_subtract(&tm2, &tm1)); in test_import_export_context() 389 gettimeofday(&tm1, (struct timezone *) 0); in test_import_export_context() 392 timeval_subtract(&tm1, &tm2)); in test_import_export_context()
|
| /freebsd/usr.bin/ncal/ |
| H A D | ncal.c | 486 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 D | recoverdisk.c | 89 struct tm tm1; in account_good_read_period() local 97 assert(localtime_r(&pp->t0, &tm1) != NULL); in account_good_read_period() 102 assert(strftime(pp->str, sizeof pp->str, fmt, &tm1) != 0); in account_good_read_period()
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | lvm.c | 189 const TValue *tm1 = fasttm(L, mt1, event); in get_equalTM() local 191 if (tm1 == NULL) return NULL; /* no metamethod */ in get_equalTM() 192 if (mt1 == mt2) return tm1; /* same metatables => same metamethods */ in get_equalTM() 195 if (luaV_rawequalobj(tm1, tm2)) /* same metamethods? */ in get_equalTM() 196 return tm1; in get_equalTM()
|
| /freebsd/usr.bin/diff/ |
| H A D | diffreg.c | 1699 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; in print_header() local 1707 tm_ptr1 = localtime_r(&stb1.st_mtime, &tm1); in print_header()
|