/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cc | 30 CHECK(t.TryLock(m)); in TEST() 34 CHECK(!t.TryLock(m)); in TEST() 48 CHECK(t.TryLock(m)); in TEST() 52 CHECK(!t.TryLock(m)); in TEST() 66 CHECK(t.TryLock(m)); in TEST() 70 CHECK(!t.TryLock(m)); in TEST() 84 CHECK(!t.TryLock(m)); in TEST()
|
D | tsan_test_util.h | 51 bool TryLock(); 107 bool TryLock(const Mutex &m);
|
D | tsan_test_util_posix.cc | 194 bool Mutex::TryLock() { in TryLock() function in Mutex 347 ev->res = static_cast<Mutex*>(ev->ptr)->TryLock(); in HandleEvent() 482 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
|
/external/gflags/src/ |
D | mutex.h | 177 inline bool TryLock(); // If free, Lock() and return true, else return false 225 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function 244 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function 268 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function 293 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
|
/external/v8/src/base/platform/ |
D | mutex.cc | 106 bool Mutex::TryLock() { in TryLock() function in v8::base::Mutex 147 bool RecursiveMutex::TryLock() { in TryLock() function in v8::base::RecursiveMutex 184 bool Mutex::TryLock() { 225 bool RecursiveMutex::TryLock() {
|
D | mutex.h | 54 bool TryLock() V8_WARN_UNUSED_RESULT; 153 bool TryLock() V8_WARN_UNUSED_RESULT;
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-analysis.cpp | 35 bool TryLock() __attribute__((exclusive_trylock_function(true))); 1714 if (mu.TryLock()) { in foo1() 1721 if (!mu.TryLock()) return; in foo2() 1727 bool b = mu.TryLock(); in foo3() 1735 bool b = mu.TryLock(); in foo4() 1742 while (mu.TryLock()) { in foo5() 1749 bool b = mu.TryLock(); in foo6() 1757 bool b1 = mu.TryLock(); in foo7() 1768 bool b = mu.TryLock(); in foo8() 1783 bool b = mu.TryLock(); in foo9() [all …]
|
D | warn-thread-safety-verbose.cpp | 32 bool TryLock() __attribute__((exclusive_trylock_function(true)));
|
D | warn-thread-safety-negative.cpp | 35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
|
D | warn-thread-safety-parsing.cpp | 33 bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 30 if (TryLock()) in Lock() 35 bool TryLock() { in TryLock() function
|
D | sanitizer_quarantine.h | 71 if (cache_.Size() > GetSize() && recycle_mutex_.TryLock()) in Drain()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cc | 43 if (!mtx_->TryLock()) in TryWrite()
|
/external/sfntly/cpp/src/test/ |
D | lock_test.cc | 237 TEST(LockTest, TryLock) { in TEST() argument
|
/external/libchrome/base/synchronization/ |
D | lock_unittest.cc | 113 TEST(LockTest, TryLock) { in TEST() argument
|
/external/clang/test/PCH/ |
D | thread-safety-attrs.cpp | 38 bool TryLock() __attribute__((exclusive_trylock_function(true)));
|
/external/toolchain-utils/dejagnu/ |
D | run_dejagnu.py | 371 if machine.TryLock(timeout=300, exclusive=True):
|
/external/toolchain-utils/ |
D | file_lock_machine.py | 284 def TryLock(self, timeout=300, exclusive=False, reason=''): member in Machine
|
/external/webrtc/webrtc/base/ |
D | stream.h | 405 bool TryLock();
|
D | stream.cc | 494 bool FileStream::TryLock() { in TryLock() function in rtc::FileStream
|
/external/v8/src/ |
D | isolate.h | 1950 static bool TryLock(Isolate* isolate) { in TryLock() function 1951 return isolate->break_access()->TryLock(); in TryLock()
|
/external/compiler-rt/lib/asan/ |
D | asan_report.cc | 636 if (lock_.TryLock()) { in ScopedInErrorReport()
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 850 bool TryLock() TRY_ACQUIRE(true);
|