Searched refs:TM_YEAR_BASE (Results 1 - 13 of 13) sorted by relevance
/freebsd-9.3-release/crypto/openssh/openbsd-compat/ |
H A D | strptime.c | 38 #define TM_YEAR_BASE 1900 /* from tzfile.h */ macro 76 century = TM_YEAR_BASE; 331 tm->tm_year = i - TM_YEAR_BASE; 363 if (century == TM_YEAR_BASE) { 365 tm->tm_year = relyear + 2000 - TM_YEAR_BASE; 367 tm->tm_year = relyear + 1900 - TM_YEAR_BASE; 369 tm->tm_year = relyear + century - TM_YEAR_BASE;
|
/freebsd-9.3-release/contrib/tzcode/stdtime/ |
H A D | tzfile.h | 163 #define TM_YEAR_BASE 1900 macro
|
H A D | localtime.c | 1712 if (increment_overflow(&tmp->tm_year, -TM_YEAR_BASE)) 1892 ** It is converted back to an offset from TM_YEAR_BASE later. 1894 if (long_increment_overflow(&y, TM_YEAR_BASE)) 1919 if (long_increment_overflow(&y, -TM_YEAR_BASE)) 1929 else if (y + TM_YEAR_BASE < EPOCH_YEAR) {
|
/freebsd-9.3-release/bin/date/ |
H A D | date.c | 61 #ifndef TM_YEAR_BASE 62 #define TM_YEAR_BASE 1900 macro 244 lt->tm_year = ATOI2(p) * 100 - TM_YEAR_BASE; 253 lt->tm_year += 2000 - TM_YEAR_BASE; 255 lt->tm_year += 1900 - TM_YEAR_BASE;
|
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | tm.c | 71 #ifndef TM_YEAR_BASE 72 #define TM_YEAR_BASE 1900 macro 398 tm->tm_year = i - TM_YEAR_BASE; 412 tm->tm_year = i + 2000 - TM_YEAR_BASE; 414 tm->tm_year = i + 1900 - TM_YEAR_BASE;
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | mktime.c | 88 #define TM_YEAR_BASE 1900 macro 205 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)]; 209 TM_YEAR_BASE)][yourtm.tm_mon];
|
/freebsd-9.3-release/lib/libc/stdtime/ |
H A D | strftime.c | 185 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0, 380 base = TM_YEAR_BASE; 473 pt = _yconv(t->tm_year, TM_YEAR_BASE, 0, 1, 477 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 1,
|
/freebsd-9.3-release/contrib/tzcode/zic/ |
H A D | zdump.c | 79 #ifndef TM_YEAR_BASE 80 #define TM_YEAR_BASE 1900 macro 81 #endif /* !defined TM_YEAR_BASE */ 531 result += DAYSPERNYEAR + isleap_sum(tmy, TM_YEAR_BASE); 653 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; 654 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR +
|
/freebsd-9.3-release/contrib/diff/lib/ |
H A D | strftime.c | 116 #define TM_YEAR_BASE 1900 macro 281 int a4 = (a->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (a->tm_year & 3); 282 int b4 = (b->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (b->tm_year & 3); 794 int year = tp->tm_year + TM_YEAR_BASE; 1118 int year = tp->tm_year + TM_YEAR_BASE; 1188 DO_NUMBER (1, tp->tm_year + TM_YEAR_BASE);
|
/freebsd-9.3-release/contrib/lukemftpd/ |
H A D | lukemftpd.h | 401 #define TM_YEAR_BASE 1900 macro
|
/freebsd-9.3-release/contrib/tnftp/ |
H A D | tnftp.h | 470 #define TM_YEAR_BASE 1900 macro
|
/freebsd-9.3-release/contrib/lukemftpd/src/ |
H A D | cmds.c | 599 TM_YEAR_BASE + t->tm_year,
|
H A D | ftpcmd.y | 845 TM_YEAR_BASE + t->tm_year,
|
Completed in 232 milliseconds