Home
last modified time | relevance | path

Searched defs:TryLock (Results 1 – 19 of 19) 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/chromium/sdch/open-vcdiff/src/
Dmutex.h195 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } in TryLock() function
207 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
228 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
251 bool Mutex::TryLock() { return is_safe_ ? in TryLock() function
/external/chromium/chrome/common/
Dmulti_process_lock_win.cc21 virtual bool TryLock() { in TryLock() function in MultiProcessLockWin
Dmulti_process_lock_mac.cc21 virtual bool TryLock() { in TryLock() function in MultiProcessLockMac
Dmulti_process_lock_linux.cc26 virtual bool TryLock() { in TryLock() function in MultiProcessLockLinux
/external/valgrind/unittest/
Dthread_wrappers_pthread.h161 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} in TryLock() function
248 bool TryLock() { in TryLock() function
Dthread_wrappers_win.h85 bool TryLock() { return ::TryEnterCriticalSection(&cs_); } in TryLock() function
/external/compiler-rt/lib/tsan/rtl_tests/
Dtsan_test_util_linux.cc146 bool Mutex::TryLock() { in TryLock() function in Mutex
424 bool ScopedThread::TryLock(const Mutex &m) { in TryLock() function in ScopedThread
/external/chromium/base/synchronization/
Dlock_unittest.cc109 TEST(LockTest, TryLock) { in TEST() argument
/external/valgrind/main/drd/tests/
Dtsan_thread_wrappers_pthread.h203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} in TryLock() function
/external/v8/src/
Dplatform-cygwin.cc512 virtual bool TryLock() { in TryLock() function in v8::internal::CygwinMutex
Dplatform-solaris.cc568 virtual bool TryLock() { in TryLock() function in v8::internal::SolarisMutex
Dplatform-freebsd.cc585 virtual bool TryLock() { in TryLock() function in v8::internal::FreeBSDMutex
Dplatform-macos.cc672 virtual bool TryLock() { in TryLock() function in v8::internal::MacOSMutex
Dplatform-openbsd.cc639 virtual bool TryLock() { in TryLock() function in v8::internal::OpenBSDMutex
Dplatform-linux.cc851 virtual bool TryLock() { in TryLock() function in v8::internal::LinuxMutex
Disolate.h1342 static bool TryLock(Isolate* isolate) { in TryLock() function
Dplatform-win32.cc1696 virtual bool TryLock() { in TryLock() function in v8::internal::Win32Mutex
/external/chromium/third_party/libjingle/source/talk/base/
Dstream.cc498 bool FileStream::TryLock() { in TryLock() function in talk_base::FileStream