Lines Matching defs:delta
135 /* accumulative time delta from continuous modify, such as adjtime */
137 /* accumulative time delta from discontinuous modify, such as settimeofday */
194 * Input: delta - The amount of time by which the clock is to be adjusted.
198 int adjtime(const struct timeval *delta, struct timeval *oldDelta)
213 if ((delta == NULL) || ((delta->tv_sec == 0) && (delta->tv_usec == 0))) {
218 if ((delta->tv_usec > OS_SYS_US_PER_SECOND) || (delta->tv_usec < -OS_SYS_US_PER_SECOND)) {
224 * 2: in the glibc implementation, delta must be less than or equal to (INT_MAX / 1000000 - 2) and
227 if ((delta->tv_sec < (INT_MIN / OS_SYS_US_PER_SECOND + 2)) ||
228 (delta->tv_sec > (INT_MAX / OS_SYS_US_PER_SECOND + 2))) {
233 g_adjTimeLeft = (INT64)delta->tv_sec * OS_SYS_NS_PER_SECOND + delta->tv_usec * OS_SYS_NS_PER_US;