/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxfmt.c | 263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); in tmxfmt() 282 n = tm->tm_year + 1900; in tmxfmt() 579 cp = number(cp, ep, (long)(tm->tm_year % 100), 2, width, pad); in tmxfmt() 582 cp = number(cp, ep, (long)(1900 + tm->tm_year), 4, width, pad); in tmxfmt()
|
H A D | tmweek.c | 67 week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52; in tmweek()
|
H A D | tmxscan.c | 81 tm->tm_year = set->year; in gen() 85 tm->tm_year++; in gen() 251 set.year = (n - 19) * 100 + tm->tm_year % 100; in scan()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | tmplout.c | 934 t.tm_year = GET2BYTENUM( p ); p += 2; in time2text() 936 t.tm_year = 100 * (t.tm_year - 19); in time2text() 937 t.tm_year += GET2BYTENUM( p ); p += 2; in time2text() 942 if(t.tm_year < 70) { in time2text() 943 t.tm_year += 100; in time2text() 1014 year = YEAR (tm -> tm_year); in gtime()
|
/illumos-gate/usr/src/stand/lib/sa/ |
H A D | time.h | 49 int tm_year; /* years since 1900 */ member
|
/illumos-gate/usr/src/head/iso/ |
H A D | time_iso.h | 86 int tm_year; member
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 700 tmptr->tm_year += tmptr->tm_mon / 12; in mktime1() 705 tmptr->tm_year -= (temp / 12); in mktime1() 707 tmptr->tm_year--; in mktime1() 715 if (!year_is_cached || (cached_year != tmptr->tm_year)) { in mktime1() 716 cached_year = tmptr->tm_year; in mktime1() 724 if (isleap(tmptr->tm_year + TM_YEAR_BASE)) in mktime1() 743 tmptr->tm_year < 1 || tmptr->tm_year > 138; in mktime1() 1227 tmptr->tm_year = (int)(y - TM_YEAR_BASE); in offtime_u() 1264 year = gmttm.tm_year + 1900; in posix_check_dst()
|
H A D | ctime.c | 115 int year = t->tm_year + 1900; in __posix_asctime_r()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 201 if (timebuf.tm_year <= 0) in krb5_string_to_timestamp() 265 tmp->tm_mday, tmp->tm_mon+1, 1900+tmp->tm_year, in krb5_timestamp_to_sfstring()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | unctime.c | 64 then.tm_year = atoi(&dbuf[E_YEAR]) - 1900;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 465 (unsigned *)&tm.tm_year, (unsigned *)&tm.tm_mon, in parse_ts() 475 if (tm.tm_year <= 37) in parse_ts() 476 tm.tm_year += 100; in parse_ts() 478 if (tm.tm_year >= 1900) in parse_ts() 479 tm.tm_year -= 1900; in parse_ts()
|
/illumos-gate/usr/src/cmd/date/ |
H A D | date.c | 267 yy = 1900 + current_date->tm_year; in setdate() 270 yy = 1900 + current_date->tm_year; in setdate()
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | atq.c | 385 unpackeddate->tm_year += 1900; in printdate() 391 unpackeddate->tm_mday, unpackeddate->tm_year, in printdate()
|
H A D | cron.c | 1473 (t1)->tm_year == (t2)->tm_year && \ 1480 (tp)->tm_year = yr; \ 1575 tm_setup(&tmp, tm->tm_year, tm->tm_mon, tm->tm_mday, in tz_next_time() 1675 day1 = next_ge((d1-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1, in tz_next_time() 1686 day2 = (d1 + daysahead-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1; in tz_next_time() 1704 yr = tm->tm_year; in tz_next_time() 1713 db = days_btwn(tm->tm_mon, tm->tm_mday, tm->tm_year, mon, in tz_next_time() 1812 tmp2.tm_year = yr + 1; in tz_next_time() 1854 tm->tm_mday, tm->tm_year, mon, day, yr); in tz_next_time()
|
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/ |
H A D | getdate.y | 724 Month = 12 * tm->tm_year + tm->tm_mon + RelMonth; 896 int ay = a->tm_year + (TM_YEAR_ORIGIN - 1); 897 int by = b->tm_year + (TM_YEAR_ORIGIN - 1); 943 yyYear = tm->tm_year;
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | getdate.y | 604 Month = 12 * tm->tm_year + tm->tm_mon + RelMonth; 883 &(tm->tm_min), &(tm->tm_year)) < 4); 891 tm->tm_mday, CHECK_TM(tm->tm_year)); 906 yyYear = tm->tm_year;
|
/illumos-gate/usr/src/boot/include/ |
H A D | time.h | 131 int tm_year; /* years since 1900 */ member
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | tm.h | 143 int tm_year; member
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | efi.h | 89 uint16_t tm_year; /* 1998 - 20XX */ member
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strptime.c | 115 tm->tm_year = i * 100 - 1900; in __strptime() 448 tm->tm_year = i; in __strptime()
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volprivate.c | 191 tm->tm_mon+1, tm->tm_mday, tm->tm_year % 100, in derrprint()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | debug.c | 148 1900 + tmp->tm_year, /* HACK */
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | lslog.c | 296 tm_p->tm_mon, tm_p->tm_mday, (tm_p->tm_year % 100), in stamp()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kutil.c | 66 int tm_year; member 1210 atm.tm_year = ((date >> 9) & 0x3F) + 80; in smb_time_dos_to_unix() 1238 i += atm.tm_year - 80; in smb_time_unix_to_dos() 1300 result->tm_year = year - TM_YEAR_BASE; in smb_gmtime_r() 1354 year = tm->tm_year + TM_YEAR_BASE; in smb_timegm()
|
/illumos-gate/usr/src/cmd/cal/ |
H A D | cal.c | 116 y = thetime->tm_year + 1900; in main()
|