Searched refs:YEAR (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c47 #define YEAR 1900 macro
86 for (p = 1; ! isleap(y2+YEAR+p); p++)
111 return (dom[m] + (((m == 1) && isleap(y + YEAR)) ? 1 : 0));
H A Datt2.l84 "year"s? { LL(UNIT, YEAR); }
H A Datt1.y54 %token YEAR
203 case YEAR:
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c51 #define YEAR "\n\n\n\t\t\t\t%u\n\n" macro
163 (void) printf(dcgettext(NULL, YEAR, LC_TIME), y);
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmxdate.c62 #define YEAR (1L<<19) macro
229 if ((set|state) & (YEAR|MONTH|DAY))
236 if (((set|state) & (YEAR|MONTH|HOUR|MINUTE|ZONE)) == (YEAR|MONTH|HOUR|MINUTE) && (i = tmgoff(s, &t, TM_LOCALZONE)) != TM_LOCALZONE)
705 if ((*t == 'T' || *t == 't') && ((set|state) & (YEAR|MONTH|DAY)) == (YEAR|MONTH) && isdigit(*(t + 1)))
736 set |= YEAR|MONTH|DAY;
756 flags |= YEAR;
833 if (!(state & (LAST|NEXT|THIS)) && ((i = t - s) == 4 && (*t == '.' && isdigit(*(t + 1)) && isdigit(*(t + 2)) && *(t + 3) != '.' || (!*t || isspace(*t) || *t == '_' || isalnum(*t)) && n >= 0 && (n % 100) < 60 && ((m = (n / 100)) < 20 || m < 24 && !((set|state) & (YEAR|MONTH|HOUR|MINUTE)))) || i > 4 && i <= 12))
962 if (*s == ':' || *s == '.' && ((set|state) & (YEAR|MONT
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_vercheck.c56 #define YEAR(y) ((y-1) * (NMONTHS * NDAYS * NHOURS * NMINS)) macro
153 return (YEAR(year) + MONTH(month) +
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddump.h191 #define YEAR (365L*DAY) macro
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c991 #define YEAR(y) ((y) >= 100 ? (y) : (y) + 1900)
993 #define YEAR(y) (((y) < 1900) ? ((y) + 1900) : (y)) macro
1019 year = YEAR (tm -> tm_year);

Completed in 64 milliseconds