Home
last modified time | relevance | path

Searched refs:TryLock (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/
Dmutex_test.cc52 ASSERT_TRUE(mu.TryLock(Thread::Current())); in TryLockUnlockTest()
84 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
86 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
Dmutex.h175 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock() function
/art/runtime/
Dmonitor.h218 bool TryLock(Thread* self)
Dmonitor.cc394 bool Monitor::TryLock(Thread* self) { in TryLock() function in art::Monitor
1168 return mon->TryLock(self) ? h_obj.Get() : nullptr; in MonitorEnter()