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

/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dcalendar.c274 int32 eyd; local
276 for (eyd = -1; eyd <= 365; eyd++) {
277 ntpcal_split split = ntpcal_split_yeardays(eyd, 0);
282 TEST_ASSERT_EQUAL(eyd, tyd);
284 TEST_ASSERT_TRUE(eyd < 0 || eyd > 364);
293 int32 eyd; local
295 for (eyd
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dntp_calendar.c872 int32_t eyd,
881 if (0 <= eyd && eyd < lt[12]) {
883 res.hi = eyd >> 5; /* approx month; might be 1 too low */
884 if (lt[res.hi + 1] <= eyd) /* fixup approximative month value */
886 res.lo = eyd - lt[res.hi];
871 ntpcal_split_yeardays( int32_t eyd, int isleapyear ) argument

Completed in 57 milliseconds