Searched defs:months (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c70 static char months[] = variable
79 for (cp = months, cp2 = str; *cp != 0; cp += 3)
82 return (((int)(cp-months)) / 3);
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c54 static char *months[] = { variable
143 (void) printf(dcgettext(NULL, TITLE, LC_TIME), months[m-1], y); local
170 * names of three months per a line and should be
172 * of the names of months.
324 months[month - MON_1] = nl_langinfo(month);
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c207 ushort_t *months; local
255 months = year & 0x03 ? regyear : leapyear;
256 for (month = 0; days >= months[month]; month++)
259 days -= months[month - 1];
300 ushort_t *months; local
328 months = year & 0x03 ? regyear : leapyear;
334 days += months[month - 2];
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dlogging.c51 static const char *months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", variable
322 local_tm->tm_mday, months[local_tm->tm_mon],
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c87 static char months[] = "JanFebMarAprMayJunJulAugSepOctNovDec"; variable
116 * Returns -1 if the months name is not valid.
126 for (cp = months, cp2 = str; *cp != '\0'; cp += 3)
128 return ((cp-months) / 3);
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c177 static const char * const months[12] = variable
1504 days[tdate->tm_wday], tdate->tm_mday, months[tdate->tm_mon],
1529 if (strcasecmp(mon, months[i]) == 0)
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h111 L_DECL(months); variable
/illumos-gate/usr/src/cmd/sort/common/
H A Dfields.c98 static char *months[MONTHS_IN_YEAR]; variable
225 months[i] = (char *)c_months[i];
247 months[i] = strdup(month_name);
601 if (xstrneql(month_candidate, months[j], month_lengths[j])) {
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c172 * week for the Unix epoch (i.e. day 0 is a Thu), months[] for the months
182 static char *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", variable
286 tpp = months;
439 tpp = months;
657 fp = months[month];

Completed in 104 milliseconds