/titanic_44/usr/src/grub/grub-0.97/docs/ |
H A D | mdate-sh | 86 month= 88 until test $month 94 Jan) month=January; nummonth=1;; 95 Feb) month=February; nummonth=2;; 96 Mar) month=March; nummonth=3;; 97 Apr) month=April; nummonth=4;; 98 May) month=May; nummonth=5;; 99 Jun) month=June; nummonth=6;; 100 Jul) month=July; nummonth=7;; 101 Aug) month=August; nummonth=8;; [all …]
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_subr.c | 121 uint_t year, month, day, hour, min, sec; in pc_tvtopct() local 145 for (month = 1; unixtime >= 86400 * days_in_month(month, year); in pc_tvtopct() 146 month++) in pc_tvtopct() 147 unixtime -= 86400 * days_in_month(month, year); in pc_tvtopct() 162 PC_DPRINTF3(1, "ux2pc date: %d.%d.%d\n", day, month, YEAR_ZERO + year); in pc_tvtopct() 167 ASSERT(month >= 1 && month <= 12); in pc_tvtopct() 168 ASSERT(day >= 1 && day <= days_in_month(month, year)); in pc_tvtopct() 176 LE_16(year << YEARSHIFT | month << MONSHIFT | day << DAYSHIFT); in pc_tvtopct() 192 uint_t year, month, day, hour, min, sec; in pc_pcttotv() local 198 month = (LE_16(pctp->pct_date) >> MONSHIFT) & MONMASK; in pc_pcttotv() [all …]
|
/titanic_44/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | date.c | 156 if (specTime.month != DP_SET_DATE_TIME_IGNORE_FIELD) in ADM_Set_Date() 157 specTime.month = specTime.month - 1; in ADM_Set_Date() 200 Date->month = DP_SET_DATE_TIME_IGNORE_FIELD; in ADM_Decode_Date() 214 Date->month = DP_SET_DATE_TIME_IGNORE_FIELD; in ADM_Decode_Date() 230 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 236 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() 248 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 254 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() 268 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 279 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_time.c | 206 ulong_t days, year, month, inc; in smb_time_unix2dos() local 256 for (month = 0; days >= months[month]; month++) in smb_time_unix2dos() 258 if (month > 0) in smb_time_unix2dos() 259 days -= months[month - 1]; in smb_time_unix2dos() 261 + ((month + 1) << DD_MONTH_SHIFT); in smb_time_unix2dos() 297 ulong_t month; in smb_dos2unixtime() local 329 month = (dd & DD_MONTH_MASK) >> DD_MONTH_SHIFT; in smb_dos2unixtime() 330 if (month < 1 || month > 12) { in smb_dos2unixtime() 331 month = 1; in smb_dos2unixtime() 333 if (month > 1) in smb_dos2unixtime() [all …]
|
/titanic_44/usr/src/cmd/cal/ |
H A D | cal.c | 321 int month; in load_months() local 323 for (month = MON_1; month <= MON_12; month++) in load_months() 324 months[month - MON_1] = nl_langinfo(month); in load_months() 325 for (month = ABMON_1; month <= ABMON_12; month++) in load_months() 326 short_months[month - ABMON_1] = nl_langinfo(month); in load_months()
|
/titanic_44/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 193 int month, day; in inithol() local 276 sscanf(holbuf, "%d/%d %*s %*s %*[^\n]\n", &month, &day); in inithol() 277 if (month < 0 || month > 12) { in inithol() 278 fprintf(stderr, "pnpsplit: invalid month %d\n", month); in inithol() 287 doy = day_of_year(thisyear, month, day); in inithol() 333 day_of_year(year, month, day) in day_of_year() argument 338 for (i = 1; i < month; i++) in day_of_year()
|
/titanic_44/usr/src/cmd/localedef/ |
H A D | time.c | 111 add_list(tm.month, str, 12); in add_time_list() 148 if (tm.month[11] != NULL) in check_time_list() 187 free((char *)tm.month[i]); in reset_time_list() 188 tm.month[i] = NULL; in reset_time_list() 229 if (putl_category(tm.month[i], f) == EOF) { in dump_time()
|
/titanic_44/usr/src/cmd/krb5/kadmin/gui/dchanger/ |
H A D | DateTimeDialog.java | 56 private Choice month; field in DateTimeDialog 163 month = new Choice(); in addFields() 187 tempPanel.add(month); in addFields() 261 month.removeAll(); in initializeMonth() 264 month.add(monthStrings[i]); in initializeMonth() 267 month.addItemListener(new DCMonthChangeListener()); in initializeMonth() 411 month.select(calendar.get(Calendar.MONTH)); in setDate() 437 int monthIndex = month.getSelectedIndex(); in fixDateField() 525 month.getSelectedIndex(), in toString()
|
/titanic_44/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_subr.c | 164 int year, month, day, hour, minute, sec, gmtoff; local 167 month = HDE_DATE_MONTH(dp); 178 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); 201 int year, month, day, hour, minute, sec, gmtoff; local 204 month = HSV_DATE_MONTH(dp); 215 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff);
|
/titanic_44/usr/src/lib/libsqlite/test/ |
H A D | date.test | 66 datetest 2.13 {datetime('2003-10-22 12:34','start of month')} \ 77 datetest 2.21 {datetime('2003-10-22 12:34','1 month')} {2003-11-22 12:34:00} 78 datetest 2.22 {datetime('2003-10-22 12:34','11 month')} {2004-09-22 12:34:00} 79 datetest 2.23 {datetime('2003-10-22 12:34','-13 month')} {2002-09-22 12:34:00} 203 datetest 8.5 {datetime('now','start of month')} {2003-10-01 00:00:00} 210 datetest 8.12 {datetime('now','1 month')} {2003-11-22 12:34:00} 211 datetest 8.13 {datetime('now','11 month')} {2004-09-22 12:34:00} 212 datetest 8.14 {datetime('now','-13 month')} {2002-09-22 12:34:00}
|
/titanic_44/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 95 int sec, min, hour, day, month, year; in get_time() local 98 month = BCD_TO_BYTE(mostek[5] & 0x1f) + ((year & 3) << 4); in get_time() 107 utc += days_thru_month[month] + day - 1; in get_time()
|
/titanic_44/usr/src/cmd/touch/ |
H A D | touch.c | 272 char *month; in parse_datetime() local 309 month = strsep(&p, "-"); in parse_datetime() 318 month == NULL || strlen(month) != 2 || !isnumber(month) || in parse_datetime() 329 tm.tm_mon = atoi(month) - 1; in parse_datetime()
|
/titanic_44/usr/src/lib/libc/port/locale/ |
H A D | strptime.c | 366 for (i = 0; i < asizeof(tptr->month); i++) { in __strptime() 367 len = strlen(tptr->month[i]); in __strptime() 368 if (strncasecmp(buf, tptr->month[i], len) == 0) in __strptime() 375 if (i == asizeof(tptr->month)) { in __strptime() 376 for (i = 0; i < asizeof(tptr->month); i++) { in __strptime() 383 if (i == asizeof(tptr->month)) in __strptime()
|
H A D | timelocal.h | 38 const char *month[12]; member
|
H A D | nl_langinfo.c | 107 ret = (char *)ltime->month[_REL(MON_1)]; in nl_langinfo_l()
|
/titanic_44/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_vercheck.c | 87 int maj, year, month, day, hour, min; in obp_timestamp() local 129 month = strtoi(c + 5, NULL); in obp_timestamp() 132 if (year < 1995 || month == 0 || day == 0) in obp_timestamp() 153 return (YEAR(year) + MONTH(month) + in obp_timestamp()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | timers.c | 1372 long dse, day, month, year; in utc_to_tod() local 1404 month = ((year & 3) << 4) + 1; in utc_to_tod() 1405 while (day >= days_thru_month[month + 1]) in utc_to_tod() 1406 month++; in utc_to_tod() 1408 tod.tod_day = day - days_thru_month[month] + 1; in utc_to_tod() 1409 tod.tod_month = month & 15; in utc_to_tod() 1421 int month = tod.tod_month + ((year & 3) << 4); in tod_to_utc() local 1430 int days_diff = days_thru_month[month + 1] - days_thru_month[month]; in tod_to_utc() 1488 utc += days_thru_month[month] + tod.tod_day - 1; in tod_to_utc()
|
/titanic_44/usr/src/cmd/auditreduce/ |
H A D | time.c | 175 int month = tme->tm_mon; in tm_to_secs() local 184 while (month > 0) { in tm_to_secs() 185 days = days_month[--month]; in tm_to_secs() 186 if (leap_year && month == 1) { /* 1 is February */ in tm_to_secs()
|
/titanic_44/usr/src/cmd/acct/ |
H A D | wtmpfix.c | 127 int month; in main() local 136 month = tmp->tm_mon + 1; in main() 138 (month - 1) * 30) * DAYEPOCH; in main() 140 (month + 1) * 30) * DAYEPOCH; in main()
|
/titanic_44/usr/src/cmd/calendar/ |
H A D | calprog.c | 72 char *month[] = { variable 98 month[tm->tm_mon], tm->tm_mon + 1, tm->tm_mday); in tprint()
|
/titanic_44/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 218 ssize_t month; in http_date2time_t() local 309 month = n; in http_date2time_t() 462 month = n; in http_date2time_t() 576 if (month < 2) in http_date2time_t() 579 secs = ((((year - 1970) * 365 + dom[month] + day - 1 + leap) * 24 in http_date2time_t() 600 ssize_t month; in http_today() local 635 month = 11; in http_today() 641 month--; in http_today() 657 fp = months[month]; in http_today()
|
/titanic_44/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 1082 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_dirdate() local 1085 month = HDE_DATE_MONTH(dp); in hs_parse_dirdate() 1096 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); in hs_parse_dirdate() 1117 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_longdate() local 1120 month = HSV_DATE_MONTH(dp); in hs_parse_longdate() 1131 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); in hs_parse_longdate()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kutil.c | 1053 int month; in smb_gmtime_r() local 1080 for (month = TM_JANUARY; month <= TM_DECEMBER; ++month) { in smb_gmtime_r() 1081 sec_per_month = days_in_month[month] * SECSPERDAY; in smb_gmtime_r() 1083 if (month == TM_FEBRUARY && isleap(year)) in smb_gmtime_r() 1092 result->tm_mon = month; in smb_gmtime_r()
|
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 107 char *month = argv[LOGR_MONTH]; in logr_syslog_set_timestamp() local 115 (void) snprintf(buf, 32, "%s %s %s", month, day, time); in logr_syslog_set_timestamp()
|
/titanic_44/usr/src/cmd/fwflash/plugins/hdrs/ |
H A D | hermon_ib.h | 127 uint8_t month; member
|