Home
last modified time | relevance | path

Searched refs:era (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/lib/libc/minimal/source/time/
Dgmtime.c41 bigint_type era = ((z >= 0) ? z : (z - 146096)) / 146097; in time_civil_from_days() local
42 unsigned int doe = (z - era * (bigint_type)146097); in time_civil_from_days()
45 bigint_type y = (time_t)yoe + era * 400; in time_civil_from_days()
/Zephyr-Core-3.5.0/drivers/counter/
Dcounter_cmos.c117 int era; in hinnant() local
120 era = ((y >= 0) ? y : (y - 399)) / 400; in hinnant()
121 yoe = y - era * 400; in hinnant()
125 return era * 146097 + ((int) doe) - 719468; in hinnant()
/Zephyr-Core-3.5.0/lib/os/
Dtimeutil.c37 int64_t era = (y >= 0 ? y : y - 399) / 400; in time_days_from_civil() local
38 unsigned int yoe = y - era * 400; in time_days_from_civil()
42 return era * 146097 + (time_t)doe - 719468; in time_days_from_civil()