Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/ntp/dist/tests/libntp/
H A Dcalyearstart.c33 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); in test_NoWrapInDateRange()
34 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL)); in test_NoWrapInDateRange()
41 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); in test_NoWrapInDateRangeLeapYear()
42 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL)); in test_NoWrapInDateRangeLeapYear()
49 TEST_ASSERT_EQUAL(expected, calyearstart(input, &nowtime)); in test_WrapInDateRange()
50 TEST_ASSERT_EQUAL(expected, calyearstart(input, NULL)); in test_WrapInDateRange()
/netbsd-src/external/bsd/ntp/dist/clockstuff/
H A Dchutest.c646 date_ui = calyearstart(rtime->l_ui, NULL); in chufilter()
673 date_ui += calyearstart(yearstart - CLOCK_WAYTOOBIG, in chufilter()
685 date_ui += calyearstart(yearstart + (400 * SECSPERDAY), in chufilter()
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Dcalyearstart.c25 calyearstart(u_int32 ntptime, const time_t *pivot) in calyearstart() function