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

/freebsd-current/crypto/openssl/test/
H A Dgmdifftest.c24 struct tm tm1, tm2, o1; local
32 OPENSSL_gmtime(&t2, &tm2);
36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year)
37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon)
38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday)
39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour)
40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min)
41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec)
/freebsd-current/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-current/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.c88 struct tm *tm2; local
91 tm2 = gmtime(&t2);
92 if (tm2 == NULL)
94 tm->sec = tm2->tm_sec;
95 tm->min = tm2->tm_min;
96 tm->hour = tm2->tm_hour;
97 tm->day = tm2->tm_mday;
98 tm->month = tm2->tm_mon + 1;
99 tm->year = tm2->tm_year + 1900;
H A Dos_unix.c176 struct tm *tm2; local
179 tm2 = gmtime(&t2);
180 if (tm2 == NULL)
182 tm->sec = tm2->tm_sec;
183 tm->min = tm2->tm_min;
184 tm->hour = tm2->tm_hour;
185 tm->day = tm2->tm_mday;
186 tm->month = tm2->tm_mon + 1;
187 tm->year = tm2->tm_year + 1900;
/freebsd-current/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-current/sys/contrib/zstd/lib/common/
H A Dcpu.h125 C(tm2, 8)
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dcpu.h127 C(tm2, 8)
/freebsd-current/sys/contrib/openzfs/module/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-current/usr.bin/diff/
H A Ddiffreg.c1674 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; local
1683 tm_ptr2 = localtime_r(&stb2.st_mtime, &tm2);

Completed in 314 milliseconds