/freebsd-current/sys/dev/iicbus/rtc/ |
H A D | ds13rtc.c | 158 uint8_t sec, min, hour, wday, day, month, year; member in struct:time_regs 386 bct.day = tregs.day & DS13xx_M_DAY; 445 tregs.day = bct.day;
|
H A D | hym8563.c | 150 bct.day = buf[3] & 0x3f; 177 buf[3] = bct.day;
|
H A D | s35390a.c | 315 bct.day = bcd[S390_RT1_DAY]; 340 bcd[S390_RT1_DAY] = bct.day;
|
H A D | nxprtc.c | 40 * divider chain that clocks the time of day registers, and they start counting 198 uint8_t sec, min, hour, day, wday, month, year; member in struct:time_regs 392 /* We check the battery when starting up, and then only once a day. */ 780 bct.day = tregs.day & PCF85xx_M_DAY; 854 tregs.day = bct.day; 873 * once a day, mostly to avoid spamming the user with frequent warnings.
|
/freebsd-current/contrib/ntp/libparse/ |
H A D | clk_rawdcf.c | 97 * 42 - 44 DW - BCD (lsb first) day of week (1: Monday -> 7: Sunday) 231 unsigned int d = (unsigned int)clock_time->day - 1u; 336 clock_time->day = ext_bf(buffer, DCF_D10, dcfprm->zerobits); 337 clock_time->day = TIMES10(clock_time->day) + ext_bf(buffer, DCF_D1, dcfprm->zerobits); 372 (int)clock_time->hour, (int)clock_time->minute, (int)clock_time->day, (int)clock_time->month,(int) clock_time->year,
|
H A D | clk_varitext.c | 100 {8, 2}, {5, 2}, {2, 2}, /* day, month, year */ 148 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
|
H A D | clk_hopf6021.c | 152 if ( STOI(O_DAY, &clock_time->day) ||
|
H A D | clk_trimtaip.c | 115 if ( STOI(O_DAY, &clock_time->day) ||
|
H A D | clk_dcf7000.c | 102 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
|
/freebsd-current/contrib/ntp/parseutil/ |
H A D | dcfd.c | 206 long day; member in struct:clocktime 288 * 42 - 44 DW - BCD (lsb first) day of week (1: Monday -> 7: Sunday) 469 clock_time->day = ext_bf(buffer, DCF_D10); 470 clock_time->day = TIMES10(clock_time->day) + ext_bf(buffer, DCF_D1); 821 /* day */ 822 if (clock_time->day < 1 || ((clock_time->month == 2 && days_per_year(clock_time->year) == 366) ? 823 clock_time->day > 29 : clock_time->day > days_of_month[clock_time->month])) 826 return -1; /* bad day */ [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | refclock_leitch.c | 76 short day; member in struct:leitchunit 554 leitch->day = ATOB(4)*10 + ATOB(5); 559 if (leitch->day > days_in_month[leitch->month-1]) 564 leitch->yearday = leitch->day;
|
H A D | refclock_mx4200.c | 386 /* day of month */ 577 /* day of month */ 883 pp->year, pp->day, pp->hour, pp->minute, pp->second, 1092 pp->day = day_of_year; 1126 * Tables to compute the day of year. Viva la leap. 1141 register int day, i; local 1164 day = day_of_month; 1168 if (day > day2tab[month - 1]) { 1172 day += day2tab[i]; 1175 if (day > day1ta [all...] |
H A D | refclock_zyfer.c | 273 &pp->year, &pp->day, &pp->hour, &pp->minute, &pp->second, 296 tsdoy.yearday = pp->day; 302 * day-of-year based calculation now:
|
/freebsd-current/sys/amd64/vmm/io/ |
H A D | vrtc.c | 215 KASSERT(ct.day >= 1 && ct.day <= 31, ("invalid clocktime mday %d", 216 ct.day)); 254 rtc->day_of_month = rtcset(rtc, ct.day); 354 error = rtcget(rtc, rtc->day_of_month, &ct.day); 355 if (error || ct.day < 1 || ct.day > 31) { 357 ct.day); 384 ct.year, ct.mon, ct.day);
|
/freebsd-current/usr.bin/calendar/ |
H A D | calendar.h | 129 int day; member in struct:event 157 /* day.c */
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | strptime.c | 170 case 'A': /* The day of week, using the locale's form. */ 175 len = strlen(_ctloc(day[i])); 176 if (strncasecmp(_ctloc(day[i]), bp, len) == 0) 226 case 'd': /* The day of month. */ 251 case 'j': /* The day of year. */ 319 case 'w': /* The day of week, beginning on sunday. */
|
/freebsd-current/sys/powerpc/mpc85xx/ |
H A D | ds1553_core.c | 84 * Get time of day and convert it to a struct timespec. 110 ct.day = FROMBCD((*sc->sc_read)(dev, DS1553_OFF_DATE) & 127 * Set the time of day clock based on the value of the struct timespec arg. 162 (*sc->sc_write)(dev, DS1553_OFF_DATE, TOBCD(ct.day) &
|
/freebsd-current/sys/arm/ti/am335x/ |
H A D | am335x_rtc.c | 172 ct.day = FROMBCD(RTC_READ4(rtc_sc, RTC_DAYS) & 0x3f); 182 RTC_WRITE4(rtc_sc, RTC_ALARM2_DAYS, TOBCD(ct.day));
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | chrono.inc | 137 // [time.cal.day], class day 138 using std::chrono::day; 289 // [using std::literals::chrono_literals::.cal.day.nonmembers], non-member functions
|
/freebsd-current/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_hwrm.h | 117 uint8_t *month, uint8_t *day, uint8_t *hour, uint8_t *minute, 120 uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second,
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | os_unix.c | 139 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 146 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 154 tm.tm_mday = day; 190 tm->day = tm2->tm_mday;
|
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | ostream.h | 14 #include <__chrono/day.h> 135 _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, const day& __d) { 139 // the formatted day seems to be either modulo 100 or completely 142 : std::format(_LIBCPP_STATICALLY_WIDEN(_CharT, "{:02} is not a valid day"), 194 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}/{}"), __md.month(), __md.day());
|
H A D | year_month_weekday.h | 14 #include <__chrono/day.h> 72 return static_cast<unsigned>(__nth_weekday_day.count()) <= static_cast<unsigned>((__y_ / __m_ / last).day()); 83 return year_month_weekday{__ymd.year(), __ymd.month(), __wd[(static_cast<unsigned>(__ymd.day()) - 1) / 7 + 1]};
|
/freebsd-current/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 50 * and check that year/month/day/hour/minute/second are as expected. 59 int year, int month, int day, int hour, int minute, int second) 96 if (day != ANY) 97 ATF_CHECK_MSG(tm.tm_mday == day, 98 "parsedate(%s) expected day %d got %d\n", 99 argstr, day, (int)tm.tm_mday); 136 2000, 10, 1, 0, 0, 0); /* month/day/year */ 146 ANY, 1, 11, 0, 0, 0); /* month/day */ 267 * coverage of different times of day/week/month/year. 286 /* if a day nam 57 parsecheck(const char *datestr, const time_t *reftime, const int *zoff, struct tm * time_to_tm(const time_t *, struct tm *), int year, int month, int day, int hour, int minute, int second) argument [all...] |
/freebsd-current/crypto/openssh/ |
H A D | moduli.c | 520 int day, hr, min; local 525 day = seconds / 60 / 60 / 24; 526 if (day > 0) 527 snprintf(buf, sizeof buf, "%dd %d:%02d", day, hr, min);
|