Searched refs:tryLock (Results 1 – 17 of 17) sorted by relevance
23 ASSERT_TRUE(Mu.tryLock()); in TEST()24 ASSERT_FALSE(Mu.tryLock()); in TEST()31 ASSERT_TRUE(Mu.tryLock()); in TEST()39 EXPECT_TRUE(Mu.tryLock()); in TEST()44 EXPECT_FALSE(Mu.tryLock()); // Check that the c'tor did lock. in TEST()48 EXPECT_TRUE(Mu.tryLock()); // Manually lock. in TEST()50 EXPECT_TRUE(Mu.tryLock()); // Assert that the scoped destructor did unlock. in TEST()
25 bool tryLock();27 if (LIKELY(tryLock())) in lock()38 if (tryLock()) in lock()
41 inline bool tryLock() { in alignas()42 if (Mutex.tryLock()) { in alignas()
66 if (TSD->tryLock()) in getTSDAndLock()179 if (TSDs[Index].tryLock()) { in getTSDAndLockSlow()
73 bool HybridMutex::tryLock() { return true; } in tryLock() function in scudo::HybridMutex
104 bool HybridMutex::tryLock() { in tryLock() function in scudo::HybridMutex
173 bool HybridMutex::tryLock() __TA_NO_THREAD_SAFETY_ANALYSIS { in tryLock() function in scudo::HybridMutex
79 Mutex.tryLock()) { in PackedCounterArray()
205 if (Cache.getSize() > getMaxSize() && RecycleMutex.tryLock()) in drain()
16 bool Mutex::tryLock() __TA_NO_THREAD_SAFETY_ANALYSIS { in tryLock() function in gwp_asan::Mutex
22 bool Mutex::tryLock() { return pthread_mutex_trylock(&Mu) == 0; } in tryLock() function in gwp_asan::Mutex
25 bool tryLock();
276 PoolMutex.tryLock(); in stop()
32 inline bool tryLock() SANITIZER_TRY_ACQUIRE(true, Mutex) { in ALIGNED()
50 if (TSD->tryLock())
80 if (TSDs[Index].tryLock()) { in getTSDAndLockSlow()
33 if (!Mutex.tryLock()) in tryWrite()