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

12

/external/chromium/chrome/common/
H A Dmulti_process_lock_mac.cc21 virtual bool TryLock() { function in class:MultiProcessLockMac
H A Dmulti_process_lock_win.cc21 virtual bool TryLock() { function in class:MultiProcessLockWin
H A Dmulti_process_lock_linux.cc26 virtual bool TryLock() { function in class:MultiProcessLockLinux
/external/chromium_org/chrome/common/
H A Dmulti_process_lock_win.cc21 virtual bool TryLock() { function in class:MultiProcessLockWin
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dfilelock.cc59 FileLock* FileLock::TryLock(const std::string& path) { function in class:talk_base::FileLock
66 ok = stream->Open(path, "a", NULL) && stream->TryLock();
H A Dstream.cc500 bool FileStream::TryLock() { function in class:talk_base::FileStream
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h30 if (TryLock())
35 bool TryLock() { function in class:__sanitizer::StaticSpinMutex
/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
105 // lines, and change TryLock() to assert(0) or something.
157 inline bool TryLock(); // If free, Lock() and return true, else return false
205 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:ceres::internal::Mutex
217 bool Mutex::TryLock() { return is_safe_ ? function in class:ceres::internal::Mutex
237 bool Mutex::TryLock() { return is_safe_ ? function in class:ceres::internal::Mutex
259 bool Mutex::TryLock() { retur function in class:ceres::internal::Mutex
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dmutex.h45 // NOTE: by default, we have #ifdef'ed out the TryLock() method.
47 // 1) TryLock() under Windows is a bit annoying (it requires a
49 // 2) TryLock() is broken for NO_THREADS mode, at least in NDEBUG
51 // If you need TryLock(), and either these two caveats are not a
111 // lines, and change TryLock() to assert(0) or something.
149 inline bool TryLock(); // If free, Lock() and return true, else return false
195 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:Mutex
207 bool Mutex::TryLock() { return is_safe_ ? function in class:Mutex
228 bool Mutex::TryLock() { return is_safe_ ? function in class:Mutex
251 bool Mutex::TryLock() { retur function in class: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/open-vcdiff/gflags/src/
H A Dmutex.h48 // NOTE: by default, we have #ifdef'ed out the TryLock() method.
50 // 1) TryLock() under Windows is a bit annoying (it requires a
52 // 2) TryLock() is broken for NO_THREADS mode, at least in NDEBUG
54 // If you need TryLock(), and either these two caveats are not a
124 // lines, and change TryLock() to assert(0) or something.
175 inline bool TryLock(); // If free, Lock() and return true, else return false
223 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } function in class:MUTEX_NAMESPACE::Mutex
242 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
266 bool Mutex::TryLock() { return is_safe_ ? function in class:MUTEX_NAMESPACE::Mutex
291 bool Mutex::TryLock() { retur function in class:MUTEX_NAMESPACE::Mutex
[all...]
/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/unittest/
H A Dthread_wrappers_win.h85 bool TryLock() { return ::TryEnterCriticalSection(&cs_); } function in class:Mutex
97 bool ReaderTryLock() { return TryLock();}
H A Dthread_wrappers_pthread.h161 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} function in class:Mutex
170 bool ReaderTryLock() { return TryLock();}
248 bool TryLock() { function in class:RWLock
/external/chromium/third_party/libjingle/source/talk/base/
H A Dstream.cc498 bool FileStream::TryLock() { function in class:talk_base::FileStream
/external/v8/src/
H A Dplatform-cygwin.cc512 virtual bool TryLock() { function in class:v8::internal::CygwinMutex
H A Dplatform-freebsd.cc585 virtual bool TryLock() { function in class:v8::internal::FreeBSDMutex
H A Dplatform-linux.cc846 virtual bool TryLock() { function in class:v8::internal::LinuxMutex
H A Dplatform-macos.cc672 virtual bool TryLock() { function in class:v8::internal::MacOSMutex
H A Dplatform-openbsd.cc639 virtual bool TryLock() { function in class:v8::internal::OpenBSDMutex
H A Dplatform-solaris.cc568 virtual bool TryLock() { function in class:v8::internal::SolarisMutex
/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 Dplatform-posix.cc781 virtual bool TryLock() { function in class:v8::internal::POSIXMutex

Completed in 577 milliseconds

12