| /src/lib/libc/time/ |
| leapseconds.awk | 29 print "# Leap YEAR MON DAY 23:59:60 + R/S" 31 print "# Leap YEAR MON DAY 23:59:59 - R/S" 36 print "# Leap YEAR MONTH DAY HH:MM:SS CORR R/S" 58 day = 31 61 day = 30 63 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
|
| /src/sys/arch/mvme68k/stand/libsa/ |
| chiptotime.c | 21 chiptotime(int sec, int min, int hour, int day, int mon, int year) 28 day = bcdtobin(day); 35 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 40 days += dayyr[mon - 1] + day - 1;
|
| clock.c | 24 chiptotime(int sec, int min, int hour, int day, int mon, int year) 31 day = bcdtobin(day); 38 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 43 days += dayyr[mon - 1] + day - 1;
|
| /src/tests/usr.bin/xlint/lint1/ |
| msg_155.c | 60 * XXX: The expressions 'day + 0' and '0 + day' should result in the same 66 enum Day { 68 } day = MONDAY; local in function:type_name_of_enum 70 /* expect+1: ... passing 'enum Day' ... */ 71 sink(day); 73 /* expect+1: ... passing 'enum Day' ... */ 74 sink(day + 0); 77 sink(0 + day);
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| clock.c | 105 int sec, min, hour, day, mon, year; local in function:time 111 day = cl->cl_mday; 115 return chiptotime(sec, min, hour, day, mon, year);
|
| /src/sys/arch/mvmeppc/stand/libsa/ |
| clock.c | 27 chiptotime(int sec, int min, int hour, int day, int mon, int year) 34 day = bcdtobin(day); 41 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 46 days += dayyr[mon - 1] + day - 1;
|
| /src/sys/arch/x68k/stand/libsa/ |
| clock.c | 48 int sec, min, hour, day, mon, year; local in function:getsecs 55 day = (val & 0x000000ff); 63 if (mon < 1 || mon > 12 || day < 1 || day > 31) 71 days += yday[mon - 1] + day - 1;
|
| /src/sys/arch/mac68k/mac68k/ |
| pram.c | 64 long year, month, day, hour, minute, seconds, i, dayperyear; local in function:convtime 68 day = 1; 99 day++; 119 monstr[month], day, year, hour, minute, seconds);
|
| /src/sys/arch/hp300/stand/common/ |
| clock.c | 103 int year, month, day, hour, min, sec; local in function:clock_to_gmt 115 day = mc_read(MC_DOM); 151 day = bbc_to_decimal(8, 7); 161 year, month, day, hour, min, sec); 165 range_test(day, 1, 31); 178 tmp += (day - 1);
|
| /src/sys/arch/playstation2/include/ |
| bootinfo.h | 51 u_int8_t day; member in struct:bootinfo_rtc
|
| /src/sys/sys/ |
| localedef.h | 75 const char *day[7]; member in struct:__anona3f85cde0408
|
| /src/usr.bin/calendar/ |
| calendar.c | 263 * numeric month or day (1, 2, 04) 272 int day; local in function:isnow 285 /* found a day */ 286 day = v1; 294 /* if no recognizable day, assume the first */ 295 if ((day = getfield(endp, &endp, &flags)) == 0) 296 day = 1; 300 day = v1; 305 /* if no recognizable day, assume the first */ 306 day = v2 ? v2 : 1 [all...] |
| /src/usr.bin/cal/ |
| cal.c | 69 #define SPACE -1 /* used in day array */ 120 * Subtracting the gregorian leap day count (for a given date) from 121 * the julian leap day count (for the same date) describes the number 250 errx(1, "illegal day of week value: use 0-6"); 336 #define DAY_LEN 3 /* 3 spaces per day */ 337 #define J_DAY_LEN 4 /* 4 spaces per day */ 340 #define HEAD_SEP 2 /* spaces between day headings */ 494 int day, dw, dm; local in function:day_array 515 day = julian ? day_in_year(1, month, year) : 1; 518 (julian ? (day == tm->tm_yday) [all...] |
| /src/lib/libc/citrus/ |
| citrus_lc_time.c | 84 free(__UNCONST(data->day[i])); 113 { _CITRUS_LC_TIME_SYM_DAY_1, OFFSET(day[DAY_IDX(DAY_1)] ) }, 114 { _CITRUS_LC_TIME_SYM_DAY_2, OFFSET(day[DAY_IDX(DAY_2)] ) }, 115 { _CITRUS_LC_TIME_SYM_DAY_3, OFFSET(day[DAY_IDX(DAY_3)] ) }, 116 { _CITRUS_LC_TIME_SYM_DAY_4, OFFSET(day[DAY_IDX(DAY_4)] ) }, 117 { _CITRUS_LC_TIME_SYM_DAY_5, OFFSET(day[DAY_IDX(DAY_5)] ) }, 118 { _CITRUS_LC_TIME_SYM_DAY_6, OFFSET(day[DAY_IDX(DAY_6)] ) }, 119 { _CITRUS_LC_TIME_SYM_DAY_7, OFFSET(day[DAY_IDX(DAY_7)] ) },
|
| /src/lib/libc/locale/ |
| nl_langinfo.c | 114 [ DAY_1 ] = offsetofu16(_TimeLocale, day[0]), 115 [ DAY_2 ] = offsetofu16(_TimeLocale, day[1]), 116 [ DAY_3 ] = offsetofu16(_TimeLocale, day[2]), 117 [ DAY_4 ] = offsetofu16(_TimeLocale, day[3]), 118 [ DAY_5 ] = offsetofu16(_TimeLocale, day[4]), 119 [ DAY_6 ] = offsetofu16(_TimeLocale, day[5]), 120 [ DAY_7 ] = offsetofu16(_TimeLocale, day[6]),
|
| /src/sys/dev/ |
| smbios_platform.c | 235 platform_scan_date(char *buf, unsigned int *month, unsigned int *day, 249 *day = strtoul(s, NULL, 10); 260 unsigned int month, day, year; local in function:platform_add_date 265 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3) 267 if (month == 0 || month > 12 || day == 0 || day > 31) 275 snprintf(datestr, sizeof(datestr), "%04u%02u%02u", year, month, day);
|
| /src/sys/arch/landisk/stand/boot/ |
| getsecs.c | 196 uint32_t sec, min, hour, day; local in function:getsecs 208 day = rtc_read(RS5C313_DAY1); 209 day += rtc_read(RS5C313_DAY10) * 10; 220 secs += day * 60 * 60 * 24;
|
| /src/sys/arch/mvme68k/stand/netboot/ |
| config.h | 47 u_char day; member in struct:brdid
|
| /src/sys/arch/powerpc/powerpc/ |
| rtas.c | 55 { "get-time-of-day", RTAS_FUNC_GET_TIME_OF_DAY }, 56 { "set-time-of-day", RTAS_FUNC_SET_TIME_OF_DAY }, 266 int status, year, month, day, hour, minute, second, nanosecond; local in function:rtas_todr_gettime_ymdhms 272 &month, &day, &hour, &minute, &second, &nanosecond) < 0) 277 t->dt_day = day; 288 int status, year, month, day, hour, minute, second, nanosecond; local in function:rtas_todr_settime_ymdhms 295 day = t->dt_day; 302 day, hour, minute, second, nanosecond, &status) < 0)
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_rtc.c | 97 uint32_t leap, year, month, day; member in struct:sunxi_rtc_config 116 .day = SUN4I_RTC_DAY, 130 .day = SUN6I_RTC_DAY, 147 .day = SUN7I_RTC_DAY, 161 .day = SUN6I_RTC_DAY, 178 .day = SUN6I_RTC_DAY, 195 .day = SUN6I_RTC_DAY, 211 .day = SUN6I_RTC_DAY, 229 .day = SUN6I_RTC_DAY, 451 dt->dt_day = __SHIFTOUT(yymmdd, conf->day); [all...] |
| /src/sys/arch/vax/include/ |
| ka630.h | 110 u_short day; member in struct:ka630clock
|
| ka820.h | 129 u_char day; member in struct:ka820clock
|
| /src/sys/arch/playstation2/playstation2/ |
| clock.c | 87 dt->dt_day = bcdtobin(rtc->day);
|
| /src/usr.sbin/ac/ |
| ac.c | 373 up->secs = 0; /* for next day */ 465 int day = -1; local in function:ac 472 if (day >= 0 && day != ltm->tm_yday) { 473 day = ltm->tm_yday; 483 day = ltm->tm_yday; 532 if (day >= 0 && day != ltm->tm_yday) {
|
| /src/games/rogue/ |
| machdep.c | 219 * This function returns the current year, month(1-12), day(1-31), hour(0-23), 242 rt_buf->day = t->tm_mday; 277 rt_buf->day = t->tm_mday;
|