/illumos-gate/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 …]
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | date.c | 154 if (specTime.month != DP_SET_DATE_TIME_IGNORE_FIELD) in ADM_Set_Date() 155 specTime.month = specTime.month - 1; in ADM_Set_Date() 198 Date->month = DP_SET_DATE_TIME_IGNORE_FIELD; in ADM_Decode_Date() 212 Date->month = DP_SET_DATE_TIME_IGNORE_FIELD; in ADM_Decode_Date() 228 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 234 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() 246 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 252 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() 266 Date->month = ADM_twodigits(&String[0]); in ADM_Decode_Date() 277 if ((Date->month < 1) || (Date->month > 12)) in ADM_Decode_Date() [all …]
|
/illumos-gate/usr/src/cmd/cal/ |
H A D | cal.c | 319 int month; in load_months() local 321 for (month = MON_1; month <= MON_12; month++) in load_months() 322 months[month - MON_1] = nl_langinfo(month); in load_months() 323 for (month = ABMON_1; month <= ABMON_12; month++) in load_months() 324 short_months[month - ABMON_1] = nl_langinfo(month); in load_months()
|
/illumos-gate/usr/src/cmd/acct/lib/ |
H A D | pnpsplit.c | 197 int month, day; in inithol() local 280 sscanf(holbuf, "%d/%d %*s %*s %*[^\n]\n", &month, &day); in inithol() 281 if (month < 0 || month > 12) { in inithol() 282 fprintf(stderr, "pnpsplit: invalid month %d\n", month); in inithol() 291 doy = day_of_year(thisyear, month, day); in inithol() 335 day_of_year(int year, int month, int day) in day_of_year() argument 340 for (i = 1; i < month; i++) in day_of_year()
|
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/ |
H A D | test_misc.c | 196 int month; in smb_gmtime_r() local 223 for (month = TM_JANUARY; month <= TM_DECEMBER; ++month) { in smb_gmtime_r() 224 sec_per_month = days_in_month[month] * SECSPERDAY; in smb_gmtime_r() 226 if (month == TM_FEBRUARY && isleap(year)) in smb_gmtime_r() 235 result->tm_mon = month; in smb_gmtime_r()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | time.c | 109 int lyear, month; in to_efi_time() local 115 month = 13; in to_efi_time() 116 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time() 121 seconds = CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time() 130 month = efi_time->Month - 1; in to_efi_time() 131 time -= CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | time.c | 112 add_list(tm.month, str, 12); in add_time_list() 150 if (tm.month[11] != NULL) in check_time_list() 189 free((char *)tm.month[i]); in reset_time_list() 190 tm.month[i] = NULL; in reset_time_list() 231 if (putl_category(tm.month[i], f) == EOF) { in dump_time()
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_subr.c | 162 int year, month, day, hour, minute, sec, gmtoff; local 165 month = HDE_DATE_MONTH(dp); 176 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); 199 int year, month, day, hour, minute, sec, gmtoff; local 202 month = HSV_DATE_MONTH(dp); 213 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff);
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | date.test | 64 datetest 2.13 {datetime('2003-10-22 12:34','start of month')} \ 75 datetest 2.21 {datetime('2003-10-22 12:34','1 month')} {2003-11-22 12:34:00} 76 datetest 2.22 {datetime('2003-10-22 12:34','11 month')} {2004-09-22 12:34:00} 77 datetest 2.23 {datetime('2003-10-22 12:34','-13 month')} {2002-09-22 12:34:00} 201 datetest 8.5 {datetime('now','start of month')} {2003-10-01 00:00:00} 208 datetest 8.12 {datetime('now','1 month')} {2003-11-22 12:34:00} 209 datetest 8.13 {datetime('now','11 month')} {2004-09-22 12:34:00} 210 datetest 8.14 {datetime('now','-13 month')} {2002-09-22 12:34:00}
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | display_funcs.c | 93 int sec, min, hour, day, month, year; in get_time() local 96 month = BCD_TO_BYTE(mostek[5] & 0x1f) + ((year & 3) << 4); in get_time() 105 utc += days_thru_month[month] + day - 1; in get_time()
|
/illumos-gate/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()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 1397 long dse, day, month, year; in utc_to_tod() local 1429 month = ((year & 3) << 4) + 1; in utc_to_tod() 1430 while (day >= days_thru_month[month + 1]) in utc_to_tod() 1431 month++; in utc_to_tod() 1433 tod.tod_day = day - days_thru_month[month] + 1; in utc_to_tod() 1434 tod.tod_month = month & 15; in utc_to_tod() 1446 int month = tod.tod_month + ((year & 3) << 4); in tod_to_utc() local 1455 int days_diff = days_thru_month[month + 1] - days_thru_month[month]; in tod_to_utc() 1513 utc += days_thru_month[month] + tod.tod_day - 1; in tod_to_utc()
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 173 int month = tme->tm_mon; in tm_to_secs() local 182 while (month > 0) { in tm_to_secs() 183 days = days_month[--month]; in tm_to_secs() 184 if (leap_year && month == 1) { /* 1 is February */ in tm_to_secs()
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | wtmpfix.c | 125 int month; in main() local 134 month = tmp->tm_mon + 1; in main() 136 (month - 1) * 30) * DAYEPOCH; in main() 138 (month + 1) * 30) * DAYEPOCH; in main()
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 1083 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_dirdate() local 1086 month = HDE_DATE_MONTH(dp); in hs_parse_dirdate() 1097 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); in hs_parse_dirdate() 1118 int year, month, day, hour, minute, sec, gmtoff; in hs_parse_longdate() local 1121 month = HSV_DATE_MONTH(dp); in hs_parse_longdate() 1132 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff); in hs_parse_longdate()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kutil.c | 1276 int month; in smb_gmtime_r() local 1303 for (month = TM_JANUARY; month <= TM_DECEMBER; ++month) { in smb_gmtime_r() 1304 sec_per_month = days_in_month[month] * SECSPERDAY; in smb_gmtime_r() 1306 if (month == TM_FEBRUARY && isleap(year)) in smb_gmtime_r() 1315 result->tm_mon = month; in smb_gmtime_r()
|
/illumos-gate/usr/src/cmd/fwflash/plugins/hdrs/ |
H A D | hermon_ib.h | 127 uint8_t month; member
|
/illumos-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 1918 char month[3]; in validate_iscsi_name() local 1944 (void) strncpy(month, &(in_name[9]), 2); in validate_iscsi_name() 1945 month[2] = '\0'; in validate_iscsi_name() 1947 i = atoi(month); in validate_iscsi_name()
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vrtc.c | 74 uint8_t month; member 395 rtc->month = rtc_enc(rtc, ct.mon); in vrtc_time_to_cmos() 562 ct.mon = rtc_dec(rtc, rtc->month, &err); in vrtc_cmos_to_secs()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | literals.h | 110 L_DECL(month);
|