Searched refs:lock2 (Results 1 – 5 of 5) sorted by relevance
109 scoped_ptr<FirefoxProfileLock> lock2; in TEST_F() local110 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock2.get()); in TEST_F()111 lock2.reset(new FirefoxProfileLock(test_path)); in TEST_F()112 EXPECT_FALSE(lock2->HasAcquired()); in TEST_F()117 lock2->Lock(); in TEST_F()118 EXPECT_TRUE(lock2->HasAcquired()); in TEST_F()119 lock2->Unlock(); in TEST_F()120 EXPECT_FALSE(lock2->HasAcquired()); in TEST_F()
341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() local351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() local399 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() local410 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter() local
146 SkAutoLockPixels lock1(*dragImage), lock2(*(testImage->nativeImageForCurrentFrame())); in TEST() local
487 v8::Locker lock2(isolate2_); in Run() local552 v8::Locker lock2(isolate_); in Run() local607 v8::Locker lock2; in Run() local
6996 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() local7006 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() local7055 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() local7066 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter() local