Searched refs:tm2 (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrpftime-test.c243 struct tm tm2; local
261 memset (&tm2, 0, sizeof(tm2));
264 &tm2);
272 strftime (buf, sizeof(buf), tests[i].vals[j].format, &tm2);
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_time.c443 struct tm tm1, tm2, o1; local
449 OPENSSL_gmtime(&t2, &tm2);
453 if ((tm1.tm_year != tm2.tm_year) ||
454 (tm1.tm_mon != tm2.tm_mon) ||
455 (tm1.tm_mday != tm2.tm_mday) ||
456 (tm1.tm_hour != tm2.tm_hour) ||
457 (tm1.tm_min != tm2.tm_min) || (tm1.tm_sec != tm2.tm_sec)) {
460 tm2.tm_mday, tm2
[all...]
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dos_win32.c104 struct tm *tm2; local
107 tm2 = gmtime(&t2);
108 if (tm2 == NULL)
110 tm->sec = tm2->tm_sec;
111 tm->min = tm2->tm_min;
112 tm->hour = tm2->tm_hour;
113 tm->day = tm2->tm_mday;
114 tm->month = tm2->tm_mon + 1;
115 tm->year = tm2->tm_year + 1900;
H A Dos_internal.c82 struct tm *tm2; local
85 tm2 = gmtime(&t2);
86 if (tm2 == NULL)
88 tm->sec = tm2->tm_sec;
89 tm->min = tm2->tm_min;
90 tm->hour = tm2->tm_hour;
91 tm->day = tm2->tm_mday;
92 tm->month = tm2->tm_mon + 1;
93 tm->year = tm2->tm_year + 1900;
H A Dos_unix.c170 struct tm *tm2; local
173 tm2 = gmtime(&t2);
174 if (tm2 == NULL)
176 tm->sec = tm2->tm_sec;
177 tm->min = tm2->tm_min;
178 tm->hour = tm2->tm_hour;
179 tm->day = tm2->tm_mday;
180 tm->month = tm2->tm_mon + 1;
181 tm->year = tm2->tm_year + 1900;
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dutil.c180 struct tm tm, tm2; local
183 memset (&tm2, 0, sizeof (tm2));
217 if(p[0] != '\0' && strptime (p, "%H:%M:%S", &tm2) != NULL) {
218 tm.tm_hour = tm2.tm_hour;
219 tm.tm_min = tm2.tm_min;
220 tm.tm_sec = tm2.tm_sec;
/freebsd-11-stable/tools/KSE/ksetest/
H A Dkse_threads_test.c485 struct kse_thr_mailbox *tm2; local
488 tm2 = thread_create(enter_uts, (int)data);
489 tm->tm_context.uc_link = &tm2->tm_context;
/freebsd-11-stable/tools/KSE/rr/
H A Drr.c396 struct kse_thr_mailbox *tm2; local
399 tm2 = thread_create(enter_uts, (int)data);
400 tm->tm_context.uc_link = &tm2->tm_context;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlvm.c189 const TValue *tm2; local
192 tm2 = fasttm(L, mt2, event);
193 if (tm2 == NULL) return NULL; /* no metamethod */
194 if (luaV_rawequalobj(tm1, tm2)) /* same metamethods? */
/freebsd-11-stable/usr.bin/diff/
H A Ddiffreg.c1619 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; local
1628 tm_ptr2 = localtime_r(&stb2.st_mtime, &tm2);

Completed in 190 milliseconds