/art/test/053-wait-some/ |
D | expected-stdout.txt | 2 Waiting for 200ms... 3 Waiting for 500ms... 4 Waiting for 1000ms... 5 Waiting for 2000ms... 6 Waiting for 3500ms... 7 Waiting for 8000ms...
|
/art/libartbase/base/ |
D | time_utils.h | 86 static constexpr uint64_t MsToNs(uint64_t ms) { in MsToNs() argument 87 return ms * 1000 * 1000; in MsToNs() 91 static constexpr uint64_t MsToUs(uint64_t ms) { in MsToUs() argument 92 return ms * 1000; in MsToUs() 124 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts);
|
D | time_utils.cc | 229 void InitTimeSpec(bool absolute, int clock, int64_t ms, int32_t ns, timespec* ts) { in InitTimeSpec() argument 245 int64_t end_sec = ts->tv_sec + ms / 1000; in InitTimeSpec() 252 if (ms != int64_max && ms != int64_max / (1000 * 1000)) { in InitTimeSpec() 258 ts->tv_nsec = (ts->tv_nsec + (ms % 1000) * 1000000) + ns; in InitTimeSpec()
|
/art/test/155-java-set-resolved-type/src/ |
D | Main.java | 43 Method[] ms = tpc.getDeclaredMethods(); in main() local 44 if (ms == null || ms.length != 1) { throw new Error("Unexpected methods"); }; in main() 50 ms[0].getParameterTypes(); in main()
|
/art/test/1336-short-finalizer-timeout/src/ |
D | Main.java | 64 public static void snooze(int ms) { in snooze() argument 66 Thread.sleep(ms); in snooze() 68 System.out.println("Snooze(" + ms + ") interrupted"); in snooze()
|
/art/test/030-bad-finalizer/src/ |
D | Main.java | 74 public static void snooze(int ms) { in snooze() argument 76 Thread.sleep(ms); in snooze()
|
/art/test/079-phantom/src/ |
D | Main.java | 23 public static void sleep(int ms) { in sleep() argument 25 Thread.sleep(ms); in sleep()
|
/art/tools/ |
D | run-libjdwp-tests.sh | 55 elif [[ $1 == --test-timeout-ms ]]; then 112 args+=(--test-timeout-ms)
|
D | run-jdwp-tests.sh | 163 elif [[ $1 == --test-timeout-ms ]]; then
|
/art/runtime/native/ |
D | java_lang_Object.cc | 46 static void Object_waitJI(JNIEnv* env, jobject java_this, jlong ms, jint ns) { in Object_waitJI() argument 48 soa.Decode<mirror::Object>(java_this)->Wait(soa.Self(), ms, ns); in Object_waitJI()
|
D | java_lang_Thread.cc | 181 static void Thread_sleep(JNIEnv* env, jclass, jobject java_lock, jlong ms, jint ns) { in Thread_sleep() argument 184 Monitor::Wait(Thread::Current(), lock.Ptr(), ms, ns, true, kSleeping); in Thread_sleep()
|
/art/test/109-suspend-check/src/ |
D | Main.java | 54 public static void sleep(int ms) { in sleep() argument 56 Thread.sleep(ms); in sleep()
|
/art/test/444-checker-nce/src/ |
D | Main.java | 56 Main[] ms = new Main[1]; in newArrayRemoveTest() local 57 return ms[0]; in newArrayRemoveTest()
|
/art/test/036-finalizer/src/ |
D | Main.java | 31 private static void snooze(int ms) { in snooze() argument 33 Thread.sleep(ms); in snooze()
|
/art/test/130-hprof/src/ |
D | Main.java | 177 public static void sleep(long ms) { in sleep() argument 179 Thread.sleep(ms); in sleep()
|
/art/test/074-gc-thrash/src/ |
D | Main.java | 136 public static void sleep(int ms) { in sleep() argument 138 Thread.sleep(ms); in sleep()
|
/art/runtime/base/ |
D | mutex.cc | 834 bool ReaderWriterMutex::ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) { in ExclusiveLockWithTimeout() argument 839 InitTimeSpec(true, CLOCK_MONOTONIC, ms, ns, &end_abs_ts); in ExclusiveLockWithTimeout() 877 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); in ExclusiveLockWithTimeout() 1107 bool ConditionVariable::TimedWait(Thread* self, int64_t ms, int32_t ns) { in TimedWait() argument 1115 InitTimeSpec(false, CLOCK_REALTIME, ms, ns, &rel_ts); in TimedWait() 1149 InitTimeSpec(true, clock, ms, ns, &ts); in TimedWait()
|
D | mutex.h | 333 bool ExclusiveLockWithTimeout(Thread* self, int64_t ms, int32_t ns) 468 bool TimedWait(Thread* self, int64_t ms, int32_t ns) NO_THREAD_SAFETY_ANALYSIS;
|
/art/runtime/ |
D | monitor.cc | 827 void Monitor::Wait(Thread* self, int64_t ms, int32_t ns, in Wait() argument 840 if (why == kTimedWaiting && (ms == 0 && ns == 0)) { in Wait() 845 if (ms < 0 || ns < 0 || ns > 999999) { in Wait() 847 "timeout arguments out of range: ms=%" PRId64 " ns=%d", ms, ns); in Wait() 907 timed_out = self->GetWaitConditionVariable()->TimedWait(self, ms, ns); in Wait() 1273 int64_t ms, in Wait() argument 1282 Runtime::Current()->GetRuntimeCallbacks()->ObjectWaitStart(h_obj, ms); in Wait() 1318 mon->Wait(self, ms, ns, interruptShouldThrow, why); in Wait()
|
D | monitor.h | 107 int64_t ms,
|
/art/tools/ahat/etc/ |
D | hprofdump.py | 141 s, ms = divmod(timestamp, 1000) variable 142 print "Date: %s.%03d" % (time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(s)), ms)
|
/art/runtime/mirror/ |
D | object-inl.h | 102 inline void Object::Wait(Thread* self, int64_t ms, int32_t ns) { in Wait() argument 103 Monitor::Wait(self, this, ms, ns, true, kTimedWaiting); in Wait()
|