Lines Matching refs:pivot
446 * Do a periodic extension of 'value' around 'pivot' with a period of
452 * 2) pivot <= res < pivot + cycle
478 * Basically, the function delivers 'pivot + (value - pivot) % cycle',
480 * integer overflows in the '(value - pivot) % cycle' part and adheres
493 int32_t pivot,
507 * return the pivot value in that case.
510 uint32_t up = (uint32_t)pivot;
516 sf = UINT32_C(0) - (value < pivot);
520 pivot += (uc & sf) + (sf ^ uv);
525 sf = UINT32_C(0) - (value > pivot);
529 pivot -= (uc & sf) + (sf ^ uv);
531 return pivot;
564 * scale with proper epoch unfolding around a given pivot or the current
565 * system time. This function happily accepts negative pivot values as
577 const time_t * pivot
584 res.q_s = (pivot != NULL)
585 ? *pivot
596 tmp = (pivot != NULL)
597 ? *pivot
613 * scale with proper epoch unfolding around a given pivot or the current
616 * Note: The pivot must be given in the UN*X time domain!
626 const time_t *pivot
633 res.q_s = (pivot)
634 ? *pivot
645 tmp = (pivot)
646 ? *pivot
1893 * Given a second in the NTP time scale and a pivot, expand the NTP
1894 * time stamp around the pivot and convert into an ISO calendar time