Searched refs:month (Results 1 – 7 of 7) sorted by relevance
| /system/ulib/rtc/ |
| A D | librtc.c | 44 for (size_t month = 1; month < rtc->month; month++) { in seconds_since_epoch() local 45 days_since_local_epoch += days_in_month[month]; in seconds_since_epoch() 47 if (rtc->month > 2 && is_leap_year(rtc->year)) { in seconds_since_epoch() 84 for (rtc->month = 1;; rtc->month++) { in seconds_to_rtc() 85 uint32_t days_per_month = days_in_month[rtc->month]; in seconds_to_rtc() 86 if ((rtc->month == 2) && is_leap_year(rtc->year)) { in seconds_to_rtc() 114 rtc->month > 12 || in rtc_is_invalid() 127 .month = 1, in sanitize_rtc()
|
| /system/utest/rtc-lib/ |
| A D | rtc.cpp | 9 fuchsia_hardware_rtc_Time make_rtc(uint16_t year, uint8_t month, uint8_t day, uint8_t hours, in make_rtc() argument 11 return fuchsia_hardware_rtc_Time{seconds, minutes, hours, day, month, year}; in make_rtc() 23 t0.month = 13; in santitize_rtc_test() 25 t0.month = 1; in santitize_rtc_test()
|
| /system/uapp/clock/ |
| A D | clock.c | 80 rtc.month, in print_rtc() 94 &rtc.month, in set_rtc()
|
| /system/fidl/fuchsia-hardware-rtc/ |
| A D | rtc.fidl | 14 uint8 month;
|
| /system/dev/rtc/nxp/ |
| A D | pcf8563-rtc.c | 42 rtc->month = from_bcd(read_buf[5] & 0x1f); in pcf8563_rtc_get() 71 (century << 7) | to_bcd(rtc->month), in pcf8563_rtc_set()
|
| /system/dev/rtc/fallback/ |
| A D | rtc-impl.cpp | 44 rtc_last_.month = 1;
|
| /system/dev/rtc/intel-rtc/ |
| A D | intel-rtc.c | 162 rtc->month = read_reg(REG_MONTH, reg_is_binary); in read_time() 181 write_reg(REG_MONTH, rtc->month, reg_is_binary); in write_time()
|
Completed in 11 milliseconds