Home
last modified time | relevance | path

Searched defs:TryLock (Results 1 – 11 of 11) sorted by relevance

/external/regex-re2/util/
Dmutex.h99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function
112 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } in TryLock() function
127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } in TryLock() function
138 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; } in TryLock() function
/external/ceres-solver/internal/ceres/
Dmutex.h209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function
221 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
241 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
263 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
/external/v8/src/base/platform/
Dmutex.cc139 bool Mutex::TryLock() { in TryLock() function in v8::base::Mutex
180 bool RecursiveMutex::TryLock() { in TryLock() function in v8::base::RecursiveMutex
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h35 bool TryLock() { in TryLock() function
/external/libchrome/base/synchronization/
Dlock_unittest.cc112 TEST(LockTest, TryLock) { in TEST() argument
/external/sfntly/cpp/src/test/
Dlock_test.cc237 TEST(LockTest, TryLock) { in TEST() argument
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc194 bool Mutex::TryLock() { in TryLock() function in Mutex
482 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
/external/valgrind/drd/tests/
Dtsan_thread_wrappers_pthread.h203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} in TryLock() function
/external/webrtc/webrtc/base/
Dstream.cc494 bool FileStream::TryLock() { in TryLock() function in rtc::FileStream
/external/v8/src/
Disolate.h1427 static bool TryLock(Isolate* isolate) { in TryLock() function
/external/v8/src/heap/
Dspaces.h572 bool TryLock() { return mutex_->TryLock(); } in TryLock() function