Home
last modified time | relevance | path

Searched refs:yearsecs (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/sys/dev/dec/
Dmcclock.c155 uint32_t yearsecs; in mcclock_get() local
171 yearsecs = clock_ymdhms_to_secs(&dt) - (72 - 70) * SECS_PER_COMMON_YEAR; in mcclock_get()
184 tvp->tv_sec = yearsecs + clock_ymdhms_to_secs(&dt); in mcclock_get()
202 uint32_t yearsecs; in mcclock_set() local
215 yearsecs = tvp->tv_sec - clock_ymdhms_to_secs(&dt); in mcclock_set()
218 clock_secs_to_ymdhms(first72 + yearsecs, &dt); in mcclock_set()
223 yearsecs, time_second); in mcclock_set()
/netbsd/src/lib/libc/time/
Dlocaltime.c1352 int_fast32_t yearsecs in tzparse() local
1356 if (increment_overflow_time(&janfirst1, -yearsecs)) { in tzparse()
1357 janoffset = -yearsecs; in tzparse()
1365 int_fast32_t yearsecs in tzparse() local
1369 if (increment_overflow_time(&janfirst1, yearsecs) in tzparse()
1385 yearsecs = (year_lengths[isleap(year)] in tzparse() local
1395 && endtime - starttime < yearsecs)) { in tzparse()
1419 (&janfirst, janoffset + yearsecs)) in tzparse()