Home
last modified time | relevance | path

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

12

/freebsd-12-stable/usr.bin/tcopy/
Dtcopy.c66 static uint64_t lastrec, record, size, tsize; variable
162 if (lastrec == 0 && nread == 0) in main()
164 else if (record - lastrec > 1) in main()
166 (intmax_t)lastrec, (intmax_t)record); in main()
168 fprintf(msg, "record %ju\n", (intmax_t)lastrec); in main()
174 lastrec = record; in main()
209 size = record = lastrec = 0; in main()
285 if (record - lastrec > 1) in intr()
286 fprintf(msg, "records %ju to %ju\n", (intmax_t)lastrec, (intmax_t)record); in intr()
288 fprintf(msg, "record %ju\n", (intmax_t)lastrec); in intr()
/freebsd-12-stable/contrib/ntp/ntpd/
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()
Drefclock_local.c177 refclock_process_offset(pp, pp->lastrec, pp->lastrec, 0); in local_poll()
212 pp->lastref = pp->lastrec; in local_poll()
Drefclock_arc.c490 l_fp lastrec; /* Time tag for the receive time (system). */ member
998 if(L_ISZERO(&(up->lastrec)) || in arc_receive()
999 L_ISGEQ(&(up->lastrec), &timestamp)) in arc_receive()
1006 if(!L_ISZERO(&(up->lastrec))) { in arc_receive()
1008 diff = up->lastrec; in arc_receive()
1016 up->lastrec = timestamp; in arc_receive()
1050 L_CLR(&(up->lastrec)); in arc_receive()
1138 if(L_ISZERO(&(up->lastrec))) { in arc_receive()
1425 pp->lastrec = up->lastrec; in arc_receive()
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()
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()
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()
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()
Dntp_refclock.c503 l_fp lastrec, /* last receive timestamp */ in refclock_process_offset() argument
510 pp->lastrec = lastrec; in refclock_process_offset()
512 L_SUB(&lftemp, &lastrec); in refclock_process_offset()
552 pp->lastrec.l_ui, &pp->yearstart, &offset.l_ui)) in refclock_process_f()
558 refclock_process_offset(pp, offset, pp->lastrec, fudge); in refclock_process_f()
698 peer->aorg = pp->lastrec; in refclock_receive()
1411 bug->times[1] = pp->lastrec; in refclock_buginfo()
1599 pp->lastrec.l_ui = (u_int32)ap->ts.tv_sec + JAN_1970; in refclock_pps()
1600 pp->lastrec.l_uf = (u_int32)(dtemp * FRAC); in refclock_pps()
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()
Drefclock_pst.c217 pp->lastrec = trtmp; in pst_receive()
262 pp->lastref = pp->lastrec; in pst_receive()
Drefclock_pcf.c195 get_systime(&pp->lastrec); in pcf_poll()
222 pp->lastref = pp->lastrec; in pcf_poll()
Drefclock_heath.c429 get_systime(&pp->lastrec); in heath_poll()
437 pp->lastref = pp->lastrec; in heath_poll()
Drefclock_zyfer.c244 BMAX, &pp->lastrec); in zyfer_receive()
306 refclock_process_offset(pp, tfrac, pp->lastrec, pp->fudgetime1); in zyfer_receive()
Drefclock_tt560.c188 get_systime(&pp->lastrec); in tt560_poll()
212 ulfptoa(&pp->lastrec, 6), pp->lencode, in tt560_poll()
Drefclock_as2201.c264 pp->lastrec = trtmp; in as2201_receive()
378 get_systime(&pp->lastrec); in as2201_poll()
Drefclock_hopfser.c231 &pp->lastrec); in hopfserial_receive()
325 pp->lastref = pp->lastrec; in hopfserial_receive()
Drefclock_fg.c317 pp->lastrec = rbufp->recv_time; /* Is it better than get_systime()? */ in fg_receive()
327 pp->lastref = pp->lastrec; in fg_receive()
Drefclock_gpsvme.c129 get_systime(&pp->lastrec); in psc_start()
182 get_systime(&pp->lastrec); in psc_poll()
Drefclock_mx4200.c695 pp->lencode = refclock_gtlin(rbufp, pp->a_lastcode, BMAX, &pp->lastrec); in mx4200_receive()
884 prettydate(&pp->lastrec), pp->offset); in mx4200_receive()
885 pp->lastref = pp->lastrec; in mx4200_receive()
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()
Drefclock_ulink.c224 pp->lastrec = up->laststamp; in ulink_receive()
560 pp->lastref = pp->lastrec; in ulink_poll()
Drefclock_chronolog.c201 pp->lastrec = up->laststamp; in chronolog_receive()
297 pp->lastref = pp->lastrec; in chronolog_receive()
Drefclock_dumbclock.c218 pp->lastrec = up->laststamp; in dumbclock_receive()
330 pp->lastref = pp->lastrec; in dumbclock_receive()
Drefclock_arbiter.c264 pp->lastrec = up->laststamp; in arb_receive()
362 pp->lastref = pp->lastrec; in arb_receive()
Drefclock_tsyncpci.c598 DTOLFP(((double)TimeContext.tv.tv_usec / 1000000.0), &pp->lastrec); 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