Home
last modified time | relevance | path

Searched refs:lfptoa (Results 1 – 16 of 16) sorted by relevance

/NextBSD/contrib/ntp/tests/libntp/
HDlfptostr.c58 TEST_ASSERT_EQUAL_STRING("-100.0000000000", lfptoa(&test, LFP_MAX_PRECISION)); in test_NegativeInteger()
66 TEST_ASSERT_EQUAL_STRING("200.2500000000", lfptoa(&test, LFP_MAX_PRECISION)); in test_PositiveIntegerWithFraction()
74 TEST_ASSERT_EQUAL_STRING("-99.7500000000", lfptoa(&test, LFP_MAX_PRECISION)); in test_NegativeIntegerWithFraction()
82 TEST_ASSERT_EQUAL_STRING("10", lfptoa(&test, 0)); in test_RoundingDownToInteger()
90 TEST_ASSERT_EQUAL_STRING("11", lfptoa(&test, 0)); in test_RoundingMiddleToInteger()
98 TEST_ASSERT_EQUAL_STRING("6", lfptoa(&test, 0)); in test_RoundingUpToInteger()
106 TEST_ASSERT_EQUAL_STRING("8.3", lfptoa(&test, 1)); in test_SingleDecimal()
114 TEST_ASSERT_EQUAL_STRING("1.0", lfptoa(&test, 1)); in test_MillisecondsRoundingUp()
124 TEST_ASSERT_EQUAL_STRING("1.0", lfptoa(&test, 1)); in test_MillisecondsRoundingDown()
HDrefidsmear.c59 as = lfptoa(&l, 8); in rtol()
83 as = lfptoa(&l, 8); in rtoltor()
105 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r)); in ltor()
HDtimevalops.c147 …nand\nn_expr which is %s\nare not close; diff=%susec\n", lfptoa(&m, 10), lfptoa(&n, 10), lfptoa(&d… in AssertFpClose()
HDtimespecops.c137 …nand\nn_expr which is %s\nare not close; diff=%susec\n", lfptoa(&m, 10), lfptoa(&n, 10), lfptoa(&d… in AssertFpClose()
/NextBSD/contrib/ntp/tests/sandbox/
HDsmeartest.c90 printf("refid %#x, smear %s\n", r, lfptoa(&l, 8)); in rtol()
107 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r)); in rtoltor()
123 printf("smear %s, refid %#.8x\n", lfptoa(&l, 8), ntohl(r)); in ltor()
/NextBSD/contrib/ntp/scripts/monitoring/
HDntploopstat368 $compl = &lfptoa($compl_i, $compl_f);
373 $offset = &lfptoa($offset_i, $offset_f);
374 $drift = &lfptoa($drift_i, $drift_f);
/NextBSD/contrib/ntp/ntpdate/
HDntpdate.c892 printf("offset: %s, delay %s\n", lfptoa(&ci, 6), fptoa(di, 5)); in receive()
1283 lfptoa(&server->offset, 6)); in clock_adjust()
1290 lfptoa(&server->offset, 6)); in clock_adjust()
2127 lfptoa(&pp->offset, 6), fptoa((s_fp)pp->delay, 5)); in printserver()
2172 (void) fprintf(fp, " %-8.8s", lfptoa(&pp->filter_offset[i], 6)); in printserver()
2182 lfptoa(&pp->offset, 6)); in printserver()
/NextBSD/contrib/ntp/ntpdc/
HDntpdc_ops.c502 lfptoa(&tempts, 6), in dopeers()
646 (void) fprintf(fp, " %-8.8s", lfptoa(&tempts, 6)); in printpeer()
664 lfptoa(&tempts, 6), fptoa(NTOHS_FP(pp->delay), 5), in printpeer()
918 lfptoa(&tempts, 6), in loopinfo()
919 lfptoa(&temp2ts, 3), in loopinfo()
925 lfptoa(&tempts, 6)); in loopinfo()
928 lfptoa(&tempts, 3)); in loopinfo()
1023 (void) fprintf(fp, "authdelay: %s s\n", lfptoa(&tempts, 6)); in sysinfo()
2710 lfptoa(&ts, 6)); in clockstat()
2713 lfptoa(&ts, 6)); in clockstat()
[all …]
/NextBSD/contrib/ntp/clockstuff/
HDchutest.c819 mfptoa(date_ui, tmp, 8), lfptoa(&off[imin], 8), in chufilter()
820 lfptoa(&off[imax], 8)); in chufilter()
/NextBSD/contrib/ntp/ntpd/
HDntpd.c1276 DPRINTF(2, ("processing timestamp delta %s (with prec. fuzz)\n", lfptoa(&dts, 9)));
1295 DPRINTF(2, ("processing time for %d buffers %s\n", bufcount, lfptoa(&tsb, 9)));
HDntp_util.c853 fprintf(timingstats.fp, "%lu %s %s\n", day, lfptoa(&now, in record_timing_stats()
HDrefclock_parse.c2270 lfptoa(&parse->parseio.parse_dtime.parse_ptime.fp, 6)); in local_input()
2320 lfptoa(&tstmp, 6)); in local_input()
2322 lfptoa(&ts.fp, 6)); in local_input()
3995 lfptoa(&off,6)); in parse_process()
4103 lfptoa(&off,6)); in parse_process()
HDntp_io.c401 count, lfptoa(dts, 9), tag); in collect_timing()
3407 lfptoa(&dts, 9)));
HDntp_proto.c3670 lfptoa(&leap_smear.offset, 8) in fast_xmit()
/NextBSD/contrib/ntp/include/
HDntp_fp.h370 #define lfptoa(fpv, ndec) mfptoa((fpv)->l_ui, (fpv)->l_uf, (ndec)) macro
/NextBSD/contrib/ntp/
HDCommitLog88870 use 'lfptoa' for printing l_fp values