Lines Matching refs:pivot
193 TcNtpDatum * pivot, in _gpsntp_from_daytime() argument
205 retv.days = pivot->days; in _gpsntp_from_daytime()
208 if (pivot->secs < shift) { in _gpsntp_from_daytime()
209 int32_t lim = pivot->secs + shift; in _gpsntp_from_daytime()
211 (retv.secs == lim && retv.frac >= pivot->frac)); in _gpsntp_from_daytime()
213 int32_t lim = pivot->secs - shift; in _gpsntp_from_daytime()
215 (retv.secs == lim && retv.frac < pivot->frac)); in _gpsntp_from_daytime()
230 TcNtpDatum * pivot, in gpsntp_from_daytime2_ex() argument
234 TNtpDatum dpiv = *pivot; in gpsntp_from_daytime2_ex()
250 l_fp pivot, in gpsntp_from_daytime1_ex() argument
258 pvi64 = ntpcal_ntp_to_ntp(pivot.l_ui, NULL); in gpsntp_from_daytime1_ex()
262 dpiv.frac = pivot.l_uf; in gpsntp_from_daytime1_ex()
527 TcGpsDatum * pivot in _gpscal_from_weektime() argument
538 retv.weeks = pivot->weeks; in _gpscal_from_weektime()
541 if (pivot->wsecs < shift) { in _gpscal_from_weektime()
542 int32_t lim = pivot->wsecs + shift; in _gpscal_from_weektime()
544 (retv.wsecs == lim && retv.frac >= pivot->frac)); in _gpscal_from_weektime()
546 int32_t lim = pivot->wsecs - shift; in _gpscal_from_weektime()
548 (retv.wsecs == lim && retv.frac < pivot->frac)); in _gpscal_from_weektime()
560 TcGpsDatum * pivot in gpscal_from_weektime2() argument
563 TGpsDatum wpiv = * pivot; in gpscal_from_weektime2()
577 l_fp pivot in gpscal_from_weektime1() argument
585 pvi64 = ntpcal_ntp_to_ntp(pivot.l_ui, NULL); in gpscal_from_weektime1()
593 wpiv.frac = pivot.l_uf; in gpscal_from_weektime1()