Searched refs:timetv (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 ) argument 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", 52 (long long) timetv.tv_sec, timetv.tv_usec, 65 * Both timetv and tvlast iterate over the given range, in all combinations. 72 struct timeval timetv; local 75 for ( timetv.tv_sec = start_sec; timetv [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 ) argument 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", 57 (long long) timetv.tv_sec, (u_long)timetv.tv_usec, 70 * Both timetv and tvlast iterate over the given range, in all combinations. 77 struct timeval timetv; local 80 for ( timetv.tv_sec = start_sec; timetv [all...] |
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | systime.c | 378 struct timeval timetv, 404 tvdiff = abs_tval(sub_tval(timetv, tvlast)); 435 ut.ut_time = timetv.tv_sec; 454 utx.ut_tv = timetv; 477 ut.ut_time = timetv.tv_sec; 500 utx.ut_tv = timetv; 523 struct timeval timetv, tvlast; local 562 timetv = lfp_stamp_to_tval(fp_sys, &pivot); 565 if (ntp_set_tod(&timetv, NULL) != 0) { 587 update_uwtmp(timetv, tvlas 377 update_uwtmp( struct timeval timetv, struct timeval tvlast ) argument [all...] |
Completed in 185 milliseconds