Searched refs:leapSec (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_tsyncpci.c410 LeapSecondObj leapSec; local
556 for (i = 0; i < (sizeof(leapSec) / 4); i++)
560 ((unsigned char*)&leapSec)[(i * 4) + j] =
652 ApplyTimeOffset(&(leapSec.utcDate), -1);
657 (leapSec.utcDate.year == (unsigned int)TimeContext.timeObj.year) &&
658 (leapSec.utcDate.doy == (unsigned int)TimeContext.timeObj.days))
661 if (leapSec.offset == 1)
666 else if (leapSec.offset == -1)

Completed in 158 milliseconds