Lines Matching refs:_sync
105 } _sync;
231 _sync.base = CurrentTime(_clock);
248 _sync.maxError = CurrentTime(_clock) - _sync.base;
249 _sync.minError = 0;
258 _sync.base += _sync.minError;
259 _sync.maxError -= _sync.minError;
260 _sync.minError = 0;
266 _sync.minError = -1e7;
267 _sync.maxError = 1e7;
279 return _sync.minError;
283 return _sync.maxError;
310 uint64_t sleepTime = (_sync.maxError - _sync.minError) / kSleepTimeDivider;
321 digitTimes.local[i] = CurrentTime(_clock) - _sync.base;
345 if (digitTimes.local[i] != 0 && digitTimes.remote[i] != 0 && delta > _sync.minError) {
346 _sync.minError = delta;
388 digitTimes.local[digit - 1] = CurrentTime(_clock) - _sync.base;
398 if (digitTimes.local[i] != 0 && digitTimes.remote[i] != 0 && delta < _sync.maxError) {
399 _sync.maxError = delta;
549 return ((NSTimeInterval)microseconds + _sync.base) / USEC_PER_SEC;
568 result.t = ((NSTimeInterval)microseconds + _sync.base) / USEC_PER_SEC;
581 return ((NSTimeInterval)_sync.base) / USEC_PER_SEC;