/external/v8/src/base/platform/ |
H A D | mutex.cc | 139 bool Mutex::TryLock() { function in class:v8::base::Mutex 180 bool RecursiveMutex::TryLock() { function in class:v8::base::RecursiveMutex
|
/external/lldb/include/lldb/Host/ |
H A D | Mutex.h | 118 /// unlock it when it goes out of scope or Reset or TryLock are 128 TryLock (Mutex &mutex, const char *failure_message = NULL); 131 TryLock (Mutex *mutex, const char *failure_message = NULL) function in class:lldb_private::Mutex::Locker 134 return TryLock(*mutex, failure_message); 206 /// If the mutex is already locked, TryLock() will not block waiting 216 TryLock(const char *failure_message = NULL); 271 TryLock (const char *failure_message = NULL) function in class:lldb_private::TrackingMutex 273 int return_value = Mutex::TryLock(); 303 TryLock (const char *failure_message = NULL);
|
H A D | ProcessRunLock.h | 119 TryLock (ProcessRunLock *lock) function in class:lldb_private::ProcessRunLock::ProcessRunLocker
|
/external/ceres-solver/internal/ceres/ |
H A D | mutex.h | 41 // NOTE: by default, we have #ifdef'ed out the TryLock() method. 43 // 1) TryLock() under Windows is a bit annoying (it requires a 45 // 2) TryLock() is broken for NO_THREADS mode, at least in NDEBUG 47 // If you need TryLock(), and either these two caveats are not a 107 // lines, and change TryLock() to assert(0) or something. 161 inline bool TryLock(); // If free, Lock() and return true, else return false 209 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:ceres::internal::Mutex 221 bool Mutex::TryLock() { return is_safe_ ? function in class:ceres::internal::Mutex 241 bool Mutex::TryLock() { return is_safe_ ? function in class:ceres::internal::Mutex 263 bool Mutex::TryLock() { retur function in class:ceres::internal::Mutex [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mutex.h | 30 if (TryLock()) 35 bool TryLock() { function in class:__sanitizer::StaticSpinMutex
|
/external/lldb/source/Host/common/ |
H A D | Mutex.cpp | 166 Mutex::Locker::TryLock (Mutex &mutex, const char *failure_message) function in class:Mutex::Locker 174 if (mutex.TryLock(failure_message) == 0) 297 // If the mutex is already locked, TryLock() will not block waiting 304 Mutex::TryLock(const char *failure_message) function in class:Mutex 378 LoggingMutex::TryLock (const char *failure_message) function in class:LoggingMutex 381 int x = Mutex::TryLock(failure_message);
|
/external/regex-re2/util/ |
H A D | mutex.h | 39 // lines, and change TryLock() to assert(0) or something. 60 inline bool TryLock(); // If free, Lock() and return true, else return false 99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:re2::Mutex 112 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } function in class:re2::Mutex 127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } function in class:re2::Mutex 138 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; } function in class:re2::Mutex
|
/external/valgrind/drd/tests/ |
H A D | tsan_thread_wrappers_pthread.h | 203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} function in class:Mutex 211 bool ReaderTryLock() { return TryLock();}
|
/external/webrtc/webrtc/base/ |
H A D | stream.cc | 494 bool FileStream::TryLock() { function in class:rtc::FileStream
|
/external/v8/src/ |
H A D | isolate.h | 1507 static bool TryLock(Isolate* isolate) { function in class:v8::internal::BASE_EMBEDDED 1508 return isolate->break_access()->TryLock();
|