TryLock 111 base/synchronization/lock_unittest.cc TEST(LockTest, TryLock) { TryLock 27 chrome/common/multi_process_lock.h virtual bool TryLock() = 0; TryLock 102 chrome/common/multi_process_lock_unittest.cc EXPECT_FALSE(test_lock->TryLock()); TryLock 108 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(test_lock->TryLock()); TryLock 117 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(test_lock->TryLock()); TryLock 121 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(test_lock->TryLock()); TryLock 137 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(test_lock->TryLock()); TryLock 158 chrome/common/multi_process_lock_unittest.cc EXPECT_FALSE(test_lock->TryLock()); TryLock 169 chrome/common/multi_process_lock_unittest.cc EXPECT_TRUE(test_lock->TryLock()); TryLock 26 chrome/common/service_process_util_posix.cc if (lock->TryLock()) { TryLock 34 mojo/public/cpp/utility/mutex.h bool TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } TryLock 43 mojo/public/cpp/utility/mutex.h bool TryLock(); TryLock 26 mojo/public/cpp/utility/tests/mutex_unittest.cc EXPECT_TRUE(mutex.TryLock()); TryLock 35 mojo/public/cpp/utility/tests/mutex_unittest.cc EXPECT_TRUE(mutex.TryLock()); TryLock 71 mojo/public/cpp/utility/tests/mutex_unittest.cc if (mutex_->TryLock()) { TryLock 174 mojo/public/cpp/utility/tests/mutex_unittest.cc try_lock_succeeded_ = mutex_->TryLock(); TryLock 188 mojo/public/cpp/utility/tests/mutex_unittest.cc TEST(MutexTest, TryLock) { TryLock 200 mojo/public/cpp/utility/tests/mutex_unittest.cc ASSERT_TRUE(mutex.TryLock()); TryLock 250 mojo/public/cpp/utility/tests/mutex_unittest.cc mutex.TryLock(); TryLock 64 third_party/re2/util/mutex.h inline bool TryLock(); // If free, Lock() and return true, else return false TryLock 103 third_party/re2/util/mutex.h bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } TryLock 116 third_party/re2/util/mutex.h bool Mutex::TryLock() { return pthread_rwlock_trywrlock(&mutex_) == 0; } TryLock 131 third_party/re2/util/mutex.h bool Mutex::TryLock() { return pthread_mutex_trylock(&mutex_) == 0; } TryLock 142 third_party/re2/util/mutex.h bool Mutex::TryLock() { return TryEnterCriticalSection(&mutex_) != 0; } TryLock 166 third_party/tcmalloc/chromium/src/base/simple_mutex.h inline bool TryLock(); // If free, Lock() and return true, else return false TryLock 212 third_party/tcmalloc/chromium/src/base/simple_mutex.h bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } TryLock 229 third_party/tcmalloc/chromium/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 251 third_party/tcmalloc/chromium/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 274 third_party/tcmalloc/chromium/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 84 third_party/tcmalloc/chromium/src/base/spinlock.h inline bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true) { TryLock 478 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc if (thread->lock_.TryLock()) { TryLock 498 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc if (!lock_.TryLock()) { TryLock 166 third_party/tcmalloc/vendor/src/base/simple_mutex.h inline bool TryLock(); // If free, Lock() and return true, else return false TryLock 212 third_party/tcmalloc/vendor/src/base/simple_mutex.h bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; } TryLock 229 third_party/tcmalloc/vendor/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 251 third_party/tcmalloc/vendor/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 274 third_party/tcmalloc/vendor/src/base/simple_mutex.h bool Mutex::TryLock() { return is_safe_ ? TryLock 84 third_party/tcmalloc/vendor/src/base/spinlock.h inline bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true) { TryLock 478 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc if (thread->lock_.TryLock()) { TryLock 498 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc if (!lock_.TryLock()) {