/freebsd-9.3-release/crypto/heimdal/lib/asn1/ |
H A D | timegm.c | 60 if (tm->tm_year < 0) 64 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon]) 73 for (i = 70; i < tm->tm_year; ++i) 77 res += ndays[is_leap(tm->tm_year)][i];
|
H A D | check-timegm.c | 46 tm.tm_year = 106;
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | timegm.c | 62 if (tm->tm_year < 0) 66 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon]) 75 for (i = 70; i < tm->tm_year; ++i) 79 res += ndays[is_leap(tm->tm_year)][i];
|
H A D | strftime.c | 206 tm->tm_year, 215 "%02d", (tm->tm_year + 1900) / 100); 226 (tm->tm_year + 1900) % 100); 234 "%04d-%02d-%02d", tm->tm_year + 1900, 336 tm->tm_year, 342 "%02d", (tm->tm_year + 1900) % 100); 346 "%d", tm->tm_year + 1900);
|
H A D | strptime.c | 159 * tm_year is relative this year 195 int fday = first_day (timeptr->tm_year + tm_year_base); 211 int fday = (first_day (timeptr->tm_year + tm_year_base) + 6) % 7; 227 int fday = (first_day (timeptr->tm_year + tm_year_base) + 6) % 7; 289 timeptr->tm_year = (ret * 100) - tm_year_base; 418 timeptr->tm_year = 100 + ret; 420 timeptr->tm_year = ret; 425 timeptr->tm_year = ret - tm_year_base;
|
/freebsd-9.3-release/sys/i386/ibcs2/ |
H A D | ibcs2_time.h | 45 int tm_year; member in struct:ibcs2_tm
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | gmt2local.c | 65 dir = loc->tm_year - gmt->tm_year;
|
/freebsd-9.3-release/usr.bin/calendar/ |
H A D | day.c | 62 year1 = 1900 + tp1->tm_year; 65 year2 = 1900 + tp2->tm_year; 97 tm.tm_year = tp.tm_year; 103 tm.tm_year = y;
|
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | tm.c | 124 leapday = ((((tm->tm_year + 1900 ) % 4) == 0 && 125 ((tm->tm_year + 1900 ) % 100) != 0) || 126 ((tm->tm_year + 1900 ) % 400) == 0) ? 1 : 0; 136 ((tm->tm_year - 70) * 365) + 137 ((tm->tm_year - 69) / 4) - 138 ((tm->tm_year - 1) / 100) + 139 ((tm->tm_year + 299) / 400))); 291 tm->tm_year = (tm->tm_year % 100) + (i * 100); 293 tm->tm_year [all...] |
/freebsd-9.3-release/gnu/usr.bin/rcs/lib/ |
H A D | maketime.c | 80 + (m==1 && isleap(tm->tm_year + TM_YEAR_ORIGIN)); 108 int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); 109 int by = b->tm_year + (TM_YEAR_ORIGIN - 1); 157 --t->tm_year; 174 ++t->tm_year; 215 - (tm->tm_mon<2 || ! isleap(tm->tm_year + TM_YEAR_ORIGIN)); 236 if ( (tm->tm_year ^ gtm->tm_year) 270 if (TM_DEFINED(pt->ymodulus) || !TM_DEFINED(tm.tm_year)) { 278 tm.tm_year [all...] |
H A D | rcstime.c | 55 tm->tm_year + ((unsigned)tm->tm_year < 100 ? 0 : 1900), 147 t.tm_year = atoi(date) - (date[2]=='.' ? 0 : 1900); 175 z->tm_year + 1900,
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | time.c | 55 tm.tm_year = 70; 57 if (tm.tm_year == 0) 59 tm.tm_year--; 60 secs = year_secs(tm.tm_year + 1900); 63 while ((secs = year_secs(tm.tm_year + 1900)) <= t) { 65 tm.tm_year++; 66 if (tm.tm_year + 1900 > 9999) 70 while ((secs = month_secs(tm.tm_mon, tm.tm_year + 1900)) <= t) { 92 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
|
/freebsd-9.3-release/contrib/file/src/ |
H A D | cdf_time.c | 121 tm.tm_year = (int)(CDF_BASE_YEAR + (t / 365)); 123 rdays = cdf_getdays(tm.tm_year); 125 tm.tm_mday = cdf_getday(tm.tm_year, (int)t); 126 tm.tm_mon = cdf_getmonth(tm.tm_year, (int)t); 136 tm.tm_year -= 1900;
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | mktime.c | 158 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 && 201 normalize(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR); 203 --yourtm.tm_year; 205 year_lengths[isleap(yourtm.tm_year + TM_YEAR_BASE)]; 208 i = mon_lengths[isleap(yourtm.tm_year + 215 ++yourtm.tm_year;
|
H A D | uglydate.c | 41 year = tm->tm_year;
|
H A D | prettydate.c | 146 tm->tm_year += folds * SOLAR_CYCLE_YEARS; 147 if (tm->tm_year <= 0 || tm->tm_year >= 200) 198 tm->tm_mday, 1900 + tm->tm_year, tm->tm_hour,
|
/freebsd-9.3-release/usr.sbin/newsyslog/ |
H A D | ptimes.c | 148 tm.tm_year = ((l / 1000000) - 19) * 100; 152 tm.tm_year -= tm.tm_year % 100; 153 tm.tm_year += l / 10000; 169 if (tm.tm_year < 70 || tm.tm_mon < 0 || tm.tm_mon > 12 230 daysmon = days_pmonth(tm.tm_mon, tm.tm_year); 415 dpm = days_pmonth(ptime->tm.tm_mon, ptime->tm.tm_year); 427 ptime->tm.tm_year, ptime->tm.tm_mon, 437 ptime->tm.tm_year, ptime->tm.tm_mon, 540 nextmatch.tm.tm_year [all...] |
/freebsd-9.3-release/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 154 gm.tm_year -= t.tm_year; 158 if (gm.tm_year < 0) 160 else if (gm.tm_year > 0) 175 1900+(int)t.tm_year, 193 buf[0] = t.tm_year;
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | arpadate.c | 131 if (lt->tm_year < gmt.tm_year) 133 else if (lt->tm_year > gmt.tm_year)
|
/freebsd-9.3-release/crypto/heimdal/kdc/ |
H A D | v4_dump.c | 51 tp.tm_year = atoi(wbuf) - 1900; 58 tp.tm_year = atoi(wbuf); 59 if(tp.tm_year < 38) 60 tp.tm_year += 100;
|
/freebsd-9.3-release/usr.bin/w/ |
H A D | pr_time.c | 71 tm.tm_year != tp.tm_year) {
|
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-cn3010-evb-hs5.c | 94 TM_CHECK(tms->tm_year < 0 || tms->tm_year > 200,"year"); 138 tms.tm_year = ((reg[5] & 0x80) ? 100 : 0) + bcd2bin(reg[6]); 176 if (tms.tm_year >= 100) /* Set century bit*/ 180 reg[6] = bin2bcd(tms.tm_year % 100);
|
/freebsd-9.3-release/bin/date/ |
H A D | vary.c | 62 while ((ret = mktime(t)) == -1 && t->tm_year > 68 && t->tm_year < 138) 109 year = t->tm_year + 1900; 132 t->tm_year += val; 135 t->tm_year -= val; 138 t->tm_year = val; 139 if (t->tm_year < 69) 140 t->tm_year += 100; /* as per date.c */ 141 else if (t->tm_year > 1900) 142 t->tm_year [all...] |
/freebsd-9.3-release/usr.bin/touch/ |
H A D | touch.c | 269 t->tm_year = ATOI2(arg); 270 t->tm_year *= 100; 276 t->tm_year += yearset; 280 t->tm_year = yearset + 2000; 282 t->tm_year = yearset + 1900; 284 t->tm_year -= 1900; /* Convert to UNIX time. */ 322 t->tm_year = ATOI2(arg); 323 if (t->tm_year < 39) /* support 2000-2038 not 1902-1969 */ 324 t->tm_year += 100;
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_pcf.c | 152 tm.tm_year = buf[15] * 10 + buf[14]; 161 if (tm.tm_year < 99) 162 tm.tm_year += 100; 197 pp->year = tp->tm_year + 1900;
|