Lines Matching refs:nsec
549 static void absoluteTime(s8 msec, s4 nsec, struct timespec *ts) in absoluteTime() argument
569 ts->tv_nsec = (ts->tv_nsec + (msec % 1000) * 1000000) + nsec; in absoluteTime()
579 s8 msec, s4 nsec) in dvmRelativeCondWait() argument
583 absoluteTime(msec, nsec, &ts); in dvmRelativeCondWait()
616 static void waitMonitor(Thread* self, Monitor* mon, s8 msec, s4 nsec, in waitMonitor() argument
637 if (msec < 0 || nsec < 0 || nsec > 999999) { in waitMonitor()
645 if (msec == 0 && nsec == 0) { in waitMonitor()
648 absoluteTime(msec, nsec, &ts); in waitMonitor()
1066 void dvmObjectWait(Thread* self, Object *obj, s8 msec, s4 nsec, in dvmObjectWait() argument
1092 waitMonitor(self, mon, msec, nsec, interruptShouldThrow); in dvmObjectWait()
1165 void dvmThreadSleep(u8 msec, u4 nsec) in dvmThreadSleep() argument
1171 if (msec == 0 && nsec == 0) in dvmThreadSleep()
1172 nsec++; in dvmThreadSleep()
1175 waitMonitor(self, mon, msec, nsec, true); in dvmThreadSleep()