Searched refs:test_lock (Results 1 – 5 of 5) sorted by relevance
101 scoped_ptr<MultiProcessLock> test_lock(MultiProcessLock::Create(name)); in TEST_F() local102 EXPECT_FALSE(test_lock->TryLock()); in TEST_F()107 scoped_ptr<MultiProcessLock> test_lock(MultiProcessLock::Create(name)); in TEST_F() local108 EXPECT_TRUE(test_lock->TryLock()); in TEST_F()110 test_lock->Unlock(); in TEST_F()116 scoped_ptr<MultiProcessLock> test_lock(MultiProcessLock::Create(name)); in TEST_F() local117 EXPECT_TRUE(test_lock->TryLock()); in TEST_F()121 EXPECT_TRUE(test_lock->TryLock()); in TEST_F()123 test_lock->Unlock(); in TEST_F()127 test_lock->Unlock(); in TEST_F()[all …]
229 void test_lock (void) in test_lock() function
667 define void @test_lock() nounwind {
668 define void @test_lock() nounwind {
917 define void @test_lock() nounwind {