Searched defs:tm (Results 1 - 8 of 8) sorted by relevance
/bind-9.11.3/bin/tests/net/ |
H A D | driver.c | 36 struct tm tm; local 43 localtime_r(&t, &tm));
|
/bind-9.11.3/lib/dns/tests/ |
H A D | update_test.c | 30 struct tm tm; local 32 memset(&tm, 0, sizeof(tm)); 33 tm.tm_year = year - 1900; 34 tm.tm_mon = month - 1; 35 tm.tm_mday = day; 36 mystdtime = timegm(&tm) ;
|
/bind-9.11.3/lib/dns/ |
H A D | time.c | 33 struct tm tm; local 46 tm.tm_year = 70; 48 if (tm.tm_year == 0) 50 tm.tm_year--; 51 secs = year_secs(tm.tm_year + 1900); 54 while ((secs = year_secs(tm.tm_year + 1900)) <= t) { 56 tm.tm_year++; 57 if (tm.tm_year + 1900 > 9999) 60 tm [all...] |
H A D | gen.c | 512 struct tm *tm; local 619 if ((tm = localtime(&now)) != NULL && tm->tm_year > 104) { 621 tm->tm_year + 1900);
|
H A D | update.c | 2036 struct tm *tm; local 2039 struct tm tm0; 2040 tm = localtime_r(&when, &tm0); 2042 tm = localtime(&when); 2044 return (((tm->tm_year + 1900) * 10000) + 2045 ((tm->tm_mon + 1) * 100) + tm->tm_mday);
|
/bind-9.11.3/lib/isc/ |
H A D | tm.c | 45 #include <isc/tm.h> 49 * Portable conversion routines for struct tm, replacing 111 isc_tm_timegm(struct tm *tm) { argument 116 leapday = ((((tm->tm_year + 1900 ) % 4) == 0 && 117 ((tm->tm_year + 1900 ) % 100) != 0) || 118 ((tm->tm_year + 1900 ) % 400) == 0) ? 1 : 0; 121 yday = tm->tm_mday - 1; 122 for (i = 1; i <= tm->tm_mon; i++) 124 ret = tm 136 isc_tm_strptime(const char *buf, const char *fmt, struct tm *tm) argument [all...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | time.c | 29 #include <isc/tm.h> 381 struct tm tm; local 391 flen = strftime(buf, len, "%d-%b-%Y %X", localtime_r(&now, &tm)); 409 struct tm tm; local 423 gmtime_r(&now, &tm)); 432 struct tm t_tm; 454 struct tm tm; local 476 struct tm tm; local [all...] |
/bind-9.11.3/lib/tests/ |
H A D | t_api.c | 599 struct tm *p; 601 struct tm tm; local 606 p = localtime_r(&t, &tm);
|
Completed in 35 milliseconds