Searched refs:timeLeftNanos (Results 1 – 2 of 2) sorted by relevance
371 int64_t timeLeftNanos = timeoutNanoseconds; in waitForStateChange() local388 if (sleepTimeNanos > timeLeftNanos){ in waitForStateChange()389 sleepTimeNanos = timeLeftNanos; in waitForStateChange()392 timeLeftNanos -= sleepTimeNanos; in waitForStateChange()
459 int64_t timeLeftNanos = timeoutNanoseconds; in waitForStateChange() local500 if (timeLeftNanos <= 0) { in waitForStateChange()506 if (sleepTimeNanos > timeLeftNanos) { in waitForStateChange()507 sleepTimeNanos = timeLeftNanos; // last little bit in waitForStateChange()510 timeLeftNanos -= sleepTimeNanos; in waitForStateChange()