Home
last modified time | relevance | path

Searched refs:lastrec (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/usr.bin/tcopy/
H A Dtcopy.c54 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 Drefclock_datum.c134 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 Drefclock_local.c177 refclock_process_offset(pp, pp->lastrec, pp->lastrec, 0); in local_poll()
212 pp->lastref = pp->lastrec; in local_poll()
H A Drefclock_arc.c490 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), &timestamp)) 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 Drefclock_hopfpci.c148 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 Drefclock_tpro.c153 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 Drefclock_acts.c329 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 Drefclock_wwvb.c306 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 Dntp_refclock.c501 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 Drefclock_true.c383 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 Drefclock_heath.c429 get_systime(&pp->lastrec); in heath_poll()
437 pp->lastref = pp->lastrec; in heath_poll()
H A Drefclock_pcf.c195 get_systime(&pp->lastrec); in pcf_poll()
222 pp->lastref = pp->lastrec; in pcf_poll()
H A Drefclock_pst.c217 pp->lastrec = trtmp; in pst_receive()
262 pp->lastref = pp->lastrec; in pst_receive()
H A Drefclock_tt560.c188 get_systime(&pp->lastrec); in tt560_poll()
212 ulfptoa(&pp->lastrec, 6), pp->lencode, in tt560_poll()
H A Drefclock_zyfer.c244 BMAX, &pp->lastrec); in zyfer_receive()
306 refclock_process_offset(pp, tfrac, pp->lastrec, pp->fudgetime1); in zyfer_receive()
H A Drefclock_gpsvme.c129 get_systime(&pp->lastrec); in psc_start()
182 get_systime(&pp->lastrec); in psc_poll()
H A Drefclock_hopfser.c231 &pp->lastrec); in hopfserial_receive()
325 pp->lastref = pp->lastrec; in hopfserial_receive()
H A Drefclock_as2201.c264 pp->lastrec = trtmp; in as2201_receive()
378 get_systime(&pp->lastrec); in as2201_poll()
H A Drefclock_fg.c309 /*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 Drefclock_mx4200.c695 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 Drefclock_dumbclock.c218 pp->lastrec = up->laststamp; in dumbclock_receive()
330 pp->lastref = pp->lastrec; in dumbclock_receive()
H A Drefclock_chronolog.c201 pp->lastrec = up->laststamp; in chronolog_receive()
297 pp->lastref = pp->lastrec; in chronolog_receive()
H A Drefclock_ulink.c224 pp->lastrec = up->laststamp; in ulink_receive()
560 pp->lastref = pp->lastrec; in ulink_poll()
H A Drefclock_arbiter.c264 pp->lastrec = up->laststamp; in arb_receive()
362 pp->lastref = pp->lastrec; in arb_receive()
H A Drefclock_tsyncpci.c598 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()

12