Lines Matching refs:ns
379 * Checks to make sure that "ns" is in the range 0-999999
391 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns,
405 if (why == kTimedWaiting && (ms == 0 && ns == 0)) {
409 WaitWithLock(self, ms, ns, interruptShouldThrow, why);
412 void Monitor::WaitWithLock(Thread* self, int64_t ms, int32_t ns,
415 if (ms < 0 || ns < 0 || ns > 999999) {
418 "timeout arguments out of range: ms=%lld ns=%d", ms, ns);
471 self->wait_cond_->TimedWait(self, ms, ns);
759 void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns,
780 LW_MONITOR(*thinp)->Wait(self, ms, ns, interruptShouldThrow, why);