/external/chromium/chrome/common/ |
multi_process_lock.h | 33 virtual bool TryLock() = 0;
|
multi_process_lock_unittest.cc | 88 EXPECT_FALSE(test_lock->TryLock()); 94 EXPECT_TRUE(test_lock->TryLock()); 103 EXPECT_TRUE(test_lock->TryLock()); 107 EXPECT_TRUE(test_lock->TryLock()); 123 EXPECT_TRUE(test_lock->TryLock()); 144 EXPECT_FALSE(test_lock->TryLock()); 155 EXPECT_TRUE(test_lock->TryLock());
|
multi_process_lock_mac.cc | 21 virtual bool TryLock() {
|
multi_process_lock_win.cc | 21 virtual bool TryLock() {
|
multi_process_lock_linux.cc | 26 virtual bool TryLock() {
|
service_process_util_linux.cc | 27 if (lock->TryLock()) {
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_mutex.h | 30 if (TryLock()) 35 bool TryLock() {
|
sanitizer_quarantine.h | 66 if (cache_.Size() > max_size_ && recycle_mutex_.TryLock())
|
/external/ceres-solver/internal/ceres/ |
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 105 // lines, and change TryLock() to assert(0) or something. 155 inline bool TryLock(); // If free, Lock() and return true, else return false 203 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } 215 bool Mutex::TryLock() { return is_safe_ ? 235 bool Mutex::TryLock() { return is_safe_ ? 257 bool Mutex::TryLock() { return is_safe_ [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
mutex.h | 45 // 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; } 207 bool Mutex::TryLock() { return is_safe_ ? 228 bool Mutex::TryLock() { return is_safe_ ? 251 bool Mutex::TryLock() { return is_safe_ [all...] |
/external/regex-re2/util/ |
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; } 112 bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } 127 bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } 138 bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; }
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_mutex.cc | 30 CHECK(t.TryLock(m)); 34 CHECK(!t.TryLock(m)); 48 CHECK(t.TryLock(m)); 52 CHECK(!t.TryLock(m)); 66 CHECK(t.TryLock(m)); 70 CHECK(!t.TryLock(m)); 84 CHECK(!t.TryLock(m));
|
tsan_test_util.h | 43 bool TryLock(); 99 bool TryLock(const Mutex &m);
|
tsan_test_util_linux.cc | 146 bool Mutex::TryLock() { 290 ev->res = static_cast<Mutex*>(ev->ptr)->TryLock(); 424 bool ScopedThread::TryLock(const Mutex &m) {
|
/external/open-vcdiff/gflags/src/ |
mutex.h | 48 // 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; } 242 bool Mutex::TryLock() { return is_safe_ ? 266 bool Mutex::TryLock() { return is_safe_ ? 291 bool Mutex::TryLock() { return is_safe_ [all...] |
/external/valgrind/unittest/ |
thread_wrappers_win.h | 85 bool TryLock() { return ::TryEnterCriticalSection(&cs_); } 97 bool ReaderTryLock() { return TryLock();}
|
thread_wrappers_pthread.h | 161 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} 170 bool ReaderTryLock() { return TryLock();} 248 bool TryLock() {
|
/external/chromium/base/synchronization/ |
lock_unittest.cc | 109 TEST(LockTest, TryLock) {
|
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 33 bool TryLock() __attribute__((exclusive_trylock_function(true))); 3669 bool Foo::trylock() { return true; } function in class:MultipleAttributeTest::Foo [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 40 if (!mtx_->TryLock())
|
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 203 bool TryLock() { return (0 == pthread_mutex_trylock(&mu_));} 211 bool ReaderTryLock() { return TryLock();}
|
/external/clang/test/PCH/ |
thread-safety-attrs.cpp | 38 bool TryLock() __attribute__((exclusive_trylock_function(true)));
|
/external/v8/src/ |
platform.h | 534 virtual bool TryLock() = 0;
|
isolate.h | [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stream.h | 438 bool TryLock();
|