/freebsd/usr.bin/tcopy/ |
H A D | tcopy.c | 54 static uint64_t lastrec, record, size, tsize; variable 160 if (lastrec == 0 && nread == 0) in main() 162 else if (record - lastrec > 1) in main() 164 (intmax_t)lastrec, (intmax_t)record); in main() 166 fprintf(msg, "record %ju\n", (intmax_t)lastrec); in main() 172 lastrec = record; in main() 207 size = record = lastrec = 0; in main() 283 if (record - lastrec > 1) in intr() 284 fprintf(msg, "records %ju to %ju\n", (intmax_t)lastrec, (intmax_t)record); in intr() 286 fprintf(msg, "record %ju\n", (intmax_t)lastrec); in intr()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_datum.c | 134 l_fp lastrec; /* time tag for the receive time (system) */ member 532 datum_pts->lastrec = rbufp->recv_time; in datum_pts_receive() 626 datum_pts->lastrec.l_ui, in datum_pts_receive() 631 error = datum_pts->lastref.l_ui - datum_pts->lastrec.l_ui; in datum_pts_receive() 667 datum_pts->lastrec.l_ui, in datum_pts_receive() 677 datum_pts->lastrec.l_ui, in datum_pts_receive() 711 L_SUB(&tstmp, &datum_pts->lastrec); /* tstmp is now the correction */ in datum_pts_receive() 732 datum_pts->lastref = datum_pts->lastrec; in datum_pts_receive()
|
H A D | refclock_local.c | 177 refclock_process_offset(pp, pp->lastrec, pp->lastrec, 0); in local_poll() 212 pp->lastref = pp->lastrec; in local_poll()
|
H A D | refclock_arc.c | 490 l_fp lastrec; /* Time tag for the receive time (system). */ member 1001 if(L_ISZERO(&(up->lastrec)) || in arc_receive() 1002 L_ISGEQ(&(up->lastrec), ×tamp)) in arc_receive() 1009 if(!L_ISZERO(&(up->lastrec))) { in arc_receive() 1011 diff = up->lastrec; in arc_receive() 1019 up->lastrec = timestamp; in arc_receive() 1053 L_CLR(&(up->lastrec)); in arc_receive() 1141 if(L_ISZERO(&(up->lastrec))) { in arc_receive() 1428 pp->lastrec = up->lastrec; in arc_receive() [all...] |
H A D | refclock_hopfpci.c | 148 get_systime(&pp->lastrec); in hopfpci_start() 222 get_systime(&pp->lastrec); in hopfpci_poll() 250 pp->lastref = pp->lastrec; in hopfpci_poll()
|
H A D | refclock_tpro.c | 153 get_systime(&pp->lastrec); in tpro_poll() 179 ulfptoa(&pp->lastrec, 6), pp->lencode, in tpro_poll() 201 pp->lastref = pp->lastrec; in tpro_poll()
|
H A D | refclock_acts.c | 329 refclock_gtraw(rbufp, tbuf, octets, &pp->lastrec); in acts_receive() 333 up->tstamp = pp->lastrec; in acts_receive() 343 up->tstamp = pp->lastrec; in acts_receive() 571 pp->lastref = pp->lastrec; in acts_timeout() 887 pp->lastrec = up->tstamp; in acts_timecode() 897 pp->lastref = pp->lastrec; in acts_timecode()
|
H A D | refclock_wwvb.c | 306 pp->lastrec = up->laststamp; in wwvb_receive() 311 prettydate(&trtmp), prettydate(&pp->lastrec))); in wwvb_receive() 312 if (L_ISZERO(&pp->lastrec)) in wwvb_receive() 400 pp->lastref = pp->lastrec; in wwvb_receive()
|
H A D | ntp_refclock.c | 501 l_fp lastrec, /* last receive timestamp */ in refclock_process_offset() 508 pp->lastrec = lastrec; in refclock_process_offset() 510 L_SUB(&lftemp, &lastrec); in refclock_process_offset() 527 * Important for PPS users: Normally, the pp->lastrec is set to the 531 * zero and the fraction for pp->lastrec is set to the PPS offset. 550 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui)) in refclock_process_f() 556 refclock_process_offset(pp, offset, pp->lastrec, fudge); in refclock_process_f() 696 peer->aorg = pp->lastrec; in refclock_receive() 1409 bug->times[1] = pp->lastrec; in refclock_buginfo() 503 refclock_process_offset(struct refclockproc * pp,l_fp lasttim,l_fp lastrec,double fudge) refclock_process_offset() argument [all...] |
H A D | refclock_true.c | 383 pp->lastrec = rd_tmp; in true_receive() 546 pp->second, GMT, pp->lastrec.l_ui, in true_receive() 565 get_systime(&pp->lastrec); in true_receive() 570 L_SUB(&off, &pp->lastrec); in true_receive() 600 pp->lastref = pp->lastrec; in true_receive()
|
H A D | refclock_heath.c | 429 get_systime(&pp->lastrec); in heath_poll() 437 pp->lastref = pp->lastrec; in heath_poll()
|
H A D | refclock_pcf.c | 195 get_systime(&pp->lastrec); in pcf_poll() 222 pp->lastref = pp->lastrec; in pcf_poll()
|
H A D | refclock_pst.c | 217 pp->lastrec = trtmp; in pst_receive() 262 pp->lastref = pp->lastrec; in pst_receive()
|
H A D | refclock_tt560.c | 188 get_systime(&pp->lastrec); in tt560_poll() 212 ulfptoa(&pp->lastrec, 6), pp->lencode, in tt560_poll()
|
H A D | refclock_zyfer.c | 244 BMAX, &pp->lastrec); in zyfer_receive() 306 refclock_process_offset(pp, tfrac, pp->lastrec, pp->fudgetime1); in zyfer_receive()
|
H A D | refclock_gpsvme.c | 129 get_systime(&pp->lastrec); in psc_start() 182 get_systime(&pp->lastrec); in psc_poll()
|
H A D | refclock_hopfser.c | 231 &pp->lastrec); in hopfserial_receive() 325 pp->lastref = pp->lastrec; in hopfserial_receive()
|
H A D | refclock_as2201.c | 264 pp->lastrec = trtmp; in as2201_receive() 378 get_systime(&pp->lastrec); in as2201_poll()
|
H A D | refclock_fg.c | 309 /*get_systime(&pp->lastrec);*/ in fg_receive() 317 pp->lastrec = rbufp->recv_time; /* Is it better than get_systime()? */ in fg_receive() 327 pp->lastref = pp->lastrec; in fg_receive()
|
H A D | refclock_mx4200.c | 695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec); in mx4200_receive() 838 * Precision timestamp is returned in pp->lastrec in mx4200_receive() 876 * lastrec as both the reference time and receive time in in mx4200_receive() 884 prettydate(&pp->lastrec), pp->offset); in mx4200_receive() 885 pp->lastref = pp->lastrec; in mx4200_receive() 1490 * Process a PPS signal, placing a timestamp in pp->lastrec. 1543 * Return the timestamp in pp->lastrec in mx4200_pps() 1546 pp->lastrec.l_ui = up->pps_i.assert_timestamp.tv_sec + in mx4200_pps() 1548 pp->lastrec.l_uf = ((double)(up->pps_i.assert_timestamp.tv_nsec) * in mx4200_pps()
|
H A D | refclock_dumbclock.c | 218 pp->lastrec = up->laststamp; in dumbclock_receive() 330 pp->lastref = pp->lastrec; in dumbclock_receive()
|
H A D | refclock_chronolog.c | 201 pp->lastrec = up->laststamp; in chronolog_receive() 297 pp->lastref = pp->lastrec; in chronolog_receive()
|
H A D | refclock_ulink.c | 224 pp->lastrec = up->laststamp; in ulink_receive() 560 pp->lastref = pp->lastrec; in ulink_poll()
|
H A D | refclock_arbiter.c | 264 pp->lastrec = up->laststamp; in arb_receive() 362 pp->lastref = pp->lastrec; in arb_receive()
|
H A D | refclock_tsyncpci.c | 598 DTOLFP(((double)TimeContext.tv.tv_usec / 1000000.0), &pp->lastrec); in tsync_poll() 602 ** peer's lastrec time should be compatible with NTP which is seconds since in tsync_poll() 604 ** specTimeStamp and place in the peer's lastrec long floating point struct. in tsync_poll() 606 pp->lastrec.Ul_i.Xl_ui += (unsigned int)TimeContext.tv.tv_sec + in tsync_poll() 646 refclock_process_offset(pp, offset, pp->lastrec, in tsync_poll()
|