Searched refs:tvlast (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/external/bsd/ntp/dist/tests/sandbox/ |
H A D | bug-2803.c | 24 int do_test( struct timeval timetv, struct timeval tvlast ) 37 tvdiff_old = abs_tval(sub_tval(timetv, tvlast)); 43 tvdiff_new = sub_tval(timetv, tvlast); 51 printf( "timetv %lli|%07li, tvlast %lli|%07li: tvdiff_old: %lli|%07li -> %i, tvdiff_new: %lli|%07li -> %i, same cond: %s\n", 53 (long long) tvlast.tv_sec, tvlast.tv_usec, 65 * Both timetv and tvlast iterate over the given range, in all combinations. 73 struct timeval tvlast; local 77 for ( tvlast.tv_sec = start_sec; tvlast [all...] |
/netbsd-current/external/bsd/ntp/dist/tests/bug-2803/ |
H A D | bug-2803.c | 29 static int do_test( struct timeval timetv, struct timeval tvlast ) 42 tvdiff_old = abs_tval(sub_tval(timetv, tvlast)); 48 tvdiff_new = sub_tval(timetv, tvlast); 56 printf( "timetv %lli|%07li, tvlast %lli|%07li: tvdiff_old: %lli|%07li -> %i, tvdiff_new: %lli|%07li -> %i, same cond: %s\n", 58 (long long) tvlast.tv_sec, (u_long)tvlast.tv_usec, 70 * Both timetv and tvlast iterate over the given range, in all combinations. 78 struct timeval tvlast; local 82 for ( tvlast.tv_sec = start_sec; tvlast [all...] |
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | systime.c | 379 struct timeval tvlast 404 tvdiff = abs_tval(sub_tval(timetv, tvlast)); 430 ut.ut_time = tvlast.tv_sec; 449 utx.ut_tv = tvlast; 472 ut.ut_time = tvlast.tv_sec; 490 utx.ut_tv = tvlast; 523 struct timeval timetv, tvlast; local 555 tvlast.tv_sec = timets.tv_sec; 556 tvlast.tv_usec = (timets.tv_nsec + 500) / 1000; 587 update_uwtmp(timetv, tvlast); 626 struct timeval tvbase, tvlast; local [all...] |
Completed in 77 milliseconds