Searched refs:day (Results 76 - 100 of 190) sorted by relevance

12345678

/freebsd-current/sys/dev/iicbus/rtc/
H A Dds13rtc.c158 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 Dhym8563.c150 bct.day = buf[3] & 0x3f;
177 buf[3] = bct.day;
H A Ds35390a.c315 bct.day = bcd[S390_RT1_DAY];
340 bcd[S390_RT1_DAY] = bct.day;
H A Dnxprtc.c40 * 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 Dclk_rawdcf.c97 * 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 Dclk_varitext.c100 {8, 2}, {5, 2}, {2, 2}, /* day, month, year */
148 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
H A Dclk_hopf6021.c152 if ( STOI(O_DAY, &clock_time->day) ||
H A Dclk_trimtaip.c115 if ( STOI(O_DAY, &clock_time->day) ||
H A Dclk_dcf7000.c102 if (Stoi(&buffer[format->field_offsets[O_DAY].offset], &clock_time->day,
/freebsd-current/contrib/ntp/parseutil/
H A Ddcfd.c206 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 Drefclock_leitch.c76 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 Drefclock_mx4200.c386 /* 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 Drefclock_zyfer.c273 &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 Dvrtc.c215 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 Dcalendar.h129 int day; member in struct:event
157 /* day.c */
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dstrptime.c170 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 Dds1553_core.c84 * 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 Dam335x_rtc.c172 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 Dchrono.inc137 // [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 Dbnxt_hwrm.h117 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 Dos_unix.c139 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 Dostream.h14 #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 Dyear_month_weekday.h14 #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 Dt_parsedate.c50 * 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 Dmoduli.c520 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);

Completed in 272 milliseconds

12345678