Searched refs:month (Results 1 - 9 of 9) sorted by relevance
/fuchsia/zircon/third_party/ulib/musl/src/time/ |
H A D | __month_to_secs.c | 1 int __month_to_secs(int month, int is_leap) { argument 5 int t = secs_through_month[month]; 6 if (is_leap && month >= 2)
|
H A D | __tm_to_secs.c | 6 int month = tm->tm_mon; local 7 if (month >= 12 || month < 0) { 8 int adj = month / 12; 9 month %= 12; 10 if (month < 0) { 12 month += 12; 17 t += __month_to_secs(month, is_leap);
|
/fuchsia/zircon/system/ulib/rtc/ |
H A D | librtc.c | 11 // Leading 0 allows using the 1-indexed month values from rtc. 45 for (size_t month = 1; month < rtc->month; month++) { 46 days_since_local_epoch += days_in_month[month]; 48 if (rtc->month > 2 && is_leap_year(rtc->year)) { 77 rtc->month > 12 || 88 .month = 1,
|
/fuchsia/zircon/system/utest/rtc-lib/ |
H A D | rtc.cpp | 10 rtc_t make_rtc(uint16_t year, uint8_t month, argument 13 return rtc_t { seconds, minutes, hours, day, month, year }; 25 t0.month = 13; 27 t0.month = 1;
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | rtc.h | 16 uint8_t day, month; member in struct:__anon702
|
/fuchsia/zircon/system/uapp/clock/ |
H A D | clock.c | 77 rtc.month, 91 &rtc.month,
|
/fuchsia/zircon/system/dev/rtc/nxp/ |
H A D | pcf8563-rtc.c | 46 rtc->month = from_bcd(read_buf[5] & 0x1f); 80 (century << 7) | to_bcd(rtc->month),
|
/fuchsia/zircon/system/dev/rtc/fallback/ |
H A D | rtc-impl.cpp | 42 rtc_last_.month = 1;
|
/fuchsia/zircon/system/dev/misc/intel-rtc/ |
H A D | intel-rtc.c | 162 rtc->month = read_reg(REG_MONTH, reg_is_binary); 181 write_reg(REG_MONTH, rtc->month, reg_is_binary);
|
Completed in 47 milliseconds