Home
last modified time | relevance | path

Searched refs:ymd (Results 1 – 5 of 5) sorted by relevance

/freebsd-13.1/sys/powerpc/powernv/
H A Dopal_dev.c277 uint32_t ymd; in opal_gettime() local
280 rv = opal_call(OPAL_RTC_READ, vtophys(&ymd), vtophys(&hmsm)); in opal_gettime()
291 ymd = be32toh(ymd); in opal_gettime()
298 ct.day = bcd2bin((ymd & 0x000000ff) >> 0); in opal_gettime()
299 ct.mon = bcd2bin((ymd & 0x0000ff00) >> 8); in opal_gettime()
300 ct.year = bcd2bin32((ymd & 0xffff0000) >> 16); in opal_gettime()
310 uint32_t ymd = 0; in opal_settime() local
315 ymd |= (uint32_t)bin2bcd(ct.day); in opal_settime()
316 ymd |= ((uint32_t)bin2bcd(ct.mon) << 8); in opal_settime()
317 ymd |= ((uint32_t)bin2bcd32(ct.year) << 16); in opal_settime()
[all …]
/freebsd-13.1/contrib/ntp/ntpd/
H A Drefclock_dumbclock.c71 struct tm ymd; /* struct tm for y/m/d only */ member
153 up->ymd = *tm_time_p; in dumbclock_start()
259 asserted_tm.tm_year = up->ymd.tm_year; in dumbclock_receive()
260 asserted_tm.tm_mon = up->ymd.tm_mon; in dumbclock_receive()
261 asserted_tm.tm_mday = up->ymd.tm_mday; in dumbclock_receive()
290 up->ymd = *lt_p; in dumbclock_receive()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dchrono455 constexpr year_month_day operator+(const year_month_day& ymd, const months& dm) noexcept;
456 constexpr year_month_day operator+(const months& dm, const year_month_day& ymd) noexcept;
457 constexpr year_month_day operator+(const year_month_day& ymd, const years& dy) noexcept;
458 constexpr year_month_day operator+(const years& dy, const year_month_day& ymd) noexcept;
459 constexpr year_month_day operator-(const year_month_day& ymd, const months& dm) noexcept;
460 constexpr year_month_day operator-(const year_month_day& ymd, const years& dy) noexcept;
H A Dlocale1735 enum dateorder {no_order, dmy, mdy, ymd, ydm};
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dlocale.cpp5450 return time_base::ymd; in __do_date_order()
5537 return time_base::ymd; in __do_date_order()