| /src/crypto/external/apache2/openssl/dist/test/ |
| gmdifftest.c | 24 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)
|
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| strpftime-test.c | 245 struct tm tm2; local 263 memset (&tm2, 0, sizeof(tm2)); 266 &tm2); 274 strftime (buf, sizeof(buf), tests[i].vals[j].format, &tm2);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| gmdifftest.c | 24 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)
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| gmdifftest.c | 24 struct tm tm1, tm2, o1; local 32 OPENSSL_gmtime(&t2, &tm2); 36 if (!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)
|
| /src/crypto/external/bsd/heimdal/dist/kadmin/ |
| util.c | 237 struct tm tm, tm2; local 240 memset (&tm2, 0, sizeof (tm2)); 274 if(p[0] != '\0' && strptime (p, "%H:%M:%S", &tm2) != NULL) { 275 tm.tm_hour = tm2.tm_hour; 276 tm.tm_min = tm2.tm_min; 277 tm.tm_sec = tm2.tm_sec;
|
| /src/external/bsd/wpa/dist/src/utils/ |
| os_win32.c | 104 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;
|
| os_internal.c | 88 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;
|
| os_unix.c | 176 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;
|
| /src/usr.bin/diff/ |
| diffreg.c | 1608 struct tm tm1, tm2, *tm_ptr1, *tm_ptr2; local 1617 tm_ptr2 = localtime_r(&stb2.st_mtime, &tm2);
|