Lines Matching defs:pivot
445 * Do a periodic extension of 'value' around 'pivot' with a period of
451 * 2) pivot <= res < pivot + cycle
477 * Basically, the function delivers 'pivot + (value - pivot) % cycle',
479 * integer overflows in the '(value - pivot) % cycle' part and adheres
492 int32_t pivot,
506 * return the pivot value in that case.
509 uint32_t up = (uint32_t)pivot;
515 sf = UINT32_C(0) - (value < pivot);
519 pivot += (uc & sf) + (sf ^ uv);
524 sf = UINT32_C(0) - (value > pivot);
528 pivot -= (uc & sf) + (sf ^ uv);
530 return pivot;
563 * scale with proper epoch unfolding around a given pivot or the current
564 * system time. This function happily accepts negative pivot values as
576 const time_t * pivot
583 res.q_s = (pivot != NULL)
584 ? *pivot
595 tmp = (pivot != NULL)
596 ? *pivot
612 * scale with proper epoch unfolding around a given pivot or the current
615 * Note: The pivot must be given in the UN*X time domain!
625 const time_t *pivot
632 res.q_s = (pivot)
633 ? *pivot
644 tmp = (pivot)
645 ? *pivot
1892 * Given a second in the NTP time scale and a pivot, expand the NTP
1893 * time stamp around the pivot and convert into an ISO calendar time