Searched defs:TryLock (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/chrome/common/
H A Dmulti_process_lock_win.cc21 virtual bool TryLock() { function in class:MultiProcessLockWin
/external/chromium_org/mojo/public/cpp/utility/lib/
H A Dmutex.cc41 bool Mutex::TryLock() { function in class:mojo::Mutex
/external/chromium_org/mojo/public/cpp/utility/
H A Dmutex.h34 bool TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } function in class:mojo::Mutex
43 bool TryLock();
/external/chromium_org/third_party/webrtc/base/
H A Dfilelock.cc42 FileLock* FileLock::TryLock(const std::string& path) { function in class:rtc::FileLock
49 ok = stream->Open(path, "a", NULL) && stream->TryLock();
H A Dstream.cc483 bool FileStream::TryLock() { function in class:rtc::FileStream
/external/chromium_org/v8/src/base/platform/
H A Dmutex.cc139 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 DMutex.h118 /// 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 DProcessRunLock.h119 TryLock (ProcessRunLock *lock) function in class:lldb_private::ProcessRunLock::ProcessRunLocker
/external/ceres-solver/internal/ceres/
H A Dmutex.h41 // 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/chromium_org/third_party/re2/util/
H A Dmutex.h43 // lines, and change TryLock() to assert(0) or something.
64 inline bool TryLock(); // If free, Lock() and return true, else return false
103 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:re2::Mutex
116 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } function in class:re2::Mutex
131 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } function in class:re2::Mutex
142 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; } function in class:re2::Mutex
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsimple_mutex.h48 // NOTE: TryLock() is broken for NO_THREADS mode, at least in NDEBUG
117 // lines, and change TryLock() to assert(0) or something.
166 inline bool TryLock(); // If free, Lock() and return true, else return false
212 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:MUTEX_NAMESPACE::Mutex
229 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
251 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
274 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsimple_mutex.h48 // NOTE: TryLock() is broken for NO_THREADS mode, at least in NDEBUG
117 // lines, and change TryLock() to assert(0) or something.
166 inline bool TryLock(); // If free, Lock() and return true, else return false
212 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:MUTEX_NAMESPACE::Mutex
229 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
251 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
274 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h30 if (TryLock())
35 bool TryLock() { function in class:__sanitizer::StaticSpinMutex
/external/lldb/source/Host/common/
H A DMutex.cpp166 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 Dmutex.h39 // 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/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} function in class:Mutex
211 bool ReaderTryLock() { return TryLock();}
/external/chromium_org/v8/src/
H A Disolate.h1428 static bool TryLock(Isolate* isolate) { function in class:v8::internal::BASE_EMBEDDED
1429 return isolate->break_access()->TryLock();

Completed in 662 milliseconds