Searched defs:year (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dctime.c43 * year-1970
45 * day of the year
117 int year = t->tm_year + 1900; local
137 if (year < 0 || year >= 10000) {
142 cp = ct_numb(cp, year / 100, '0');
144 (void) ct_numb(cp, year, '0');
H A Dlocaltime.c180 DAY_OF_YEAR /* n - day of year */
1347 int year, i, idx, ridx; local
1352 year = gmttm.tm_year + 1900;
1369 while (year < __usa_rules[i].s_year && i < MAX_RULE_TABLE) {
1378 idx = posix_daylight(&jan01, year, &pdaylight);
1382 * Note: t, rtime[0], and rtime[1] are all bounded within 'year'
1393 * Given January 1, 00:00:00 GMT for a year as an Epoch-relative time,
1394 * along with the integer year #, a posix_daylight_t that is composed
1398 * Also update janfirst by a year, by adding the appropriate number of
1399 * seconds depending on whether the year i
1403 posix_daylight(int64_t *janfirst, int year, posix_daylight_t *pdaylightp) argument
2359 int i, year, tz_max_times; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/ieee1275/
H A Ddatetime.c62 grub_ieee1275_cell_t year; member in struct:get_time_args
95 datetime->year = args.year;
113 grub_ieee1275_cell_t year; member in struct:set_time_args
140 args.year = datetime->year;
/osnet-11/usr/src/grub/grub2/include/grub/
H A Ddatetime.h27 grub_uint16_t year; member in struct:grub_datetime
80 if (datetime->year > 2038 || datetime->year < 1901)
92 y4 = (datetime->year - 1973) / 4;
93 if (datetime->year < 1973)
95 ay = datetime->year - 1973 - 4 * y4;
121 if ((datetime->year > 1980 && ret < 0)
122 || (datetime->year < 1960 && ret > 0))
/osnet-11/usr/src/lib/libprtdiag/common/
H A Ddisplay_funcs.c92 int sec, min, hour, day, month, year; local
94 year = BCD_TO_BYTE(mostek[6]) + YRBASE;
95 month = BCD_TO_BYTE(mostek[5] & 0x1f) + ((year & 3) << 4);
101 utc = (year - 70); /* next 3 lines: utc = 365y + y/4 */
103 utc += (utc << 2) + ((year - 69) >> 2);
/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmxscan.c41 int year; member in struct:__anon1190
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
80 if (set->year >= 0)
81 tm->tm_year = set->year;
84 if (set->year < 0 && set->mon < tm->tm_mon)
251 set.year = (n - 19) * 100 + tm->tm_year % 100;
366 set.year = n;
370 set.year = n - 1900;
/osnet-11/usr/src/lib/libldap4/common/
H A Dtmplout.c1042 year;
1055 year = YEAR (tm -> tm_year);
1058 for (i = 1970; i < year; i++)
1060 if (dysize (year) == 366 && mon >= 3)
1041 year; local
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c925 if ( len > 15 ) { /* throw away excess from 4-digit year time string */
928 len = 13; /* assume we have a time w/2-digit year (len=13) */
1006 year;
1019 year = YEAR (tm -> tm_year);
1022 for (i = 1970; i < year; i++)
1024 if (dysize (year) == 366 && mon >= 3)
1005 year; local
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Diso9660.c61 grub_uint8_t year; member in struct:grub_iso9660_date2
87 grub_uint8_t year[4]; member in struct:grub_iso9660_date
184 if (! i->year[0] && ! i->year[1]
185 && ! i->year[2] && ! i->year[3]
193 datetime.year = (i->year[0] - '0') * 1000 + (i->year[1] - '0') * 100
194 + (i->year[
[all...]
H A Dudf.c149 grub_uint16_t year; member in struct:grub_udf_timestamp
967 datetime.year = U16 (tstamp->year);
/osnet-11/usr/src/lib/libslp/clib/
H A Dslp_ami.h162 short year; /* YYYY format when used for GeneralizedTime */ member in struct:__anon2586
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dutil.c3506 int month, mday, year, jday; local
3518 /* offset to bias by March (month 4) 1st between month/mday & year finding */
3527 * an offset into the year by considering months to have 30.6 (153/5) days,
3530 * the 13th and 14th month of the previous year. After that transformation,
3537 * arbitrary 'beginning of time' by futzing with the (adjusted) year number,
3542 * normalised values for the year, month, day-of-month, and day-of-year.
3545 * the right year value. (Basically, we don't want the contribution of
3546 * March 1st to the number to apply while deriving the year). Having done
3547 * that, we 'count up' the contribution to the year numbe
3695 Perl_my_strftime(pTHX_ char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/efi/
H A Dapi.h744 grub_efi_uint16_t year; member in struct:grub_efi_time
/osnet-11/usr/src/lib/pkcs11/include/
H A Dpkcs11t.h619 CK_CHAR year[4]; /* the year ("1900" - "9999") */ member in struct:CK_DATE

Completed in 104 milliseconds