Home
last modified time | relevance | path

Searched refs:lock2 (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc109 scoped_ptr<FirefoxProfileLock> lock2; in TEST_F() local
110 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()
/external/valgrind/unittest/
Ddemo_tests.cc341 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() local
351 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() local
399 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() local
410 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter() local
/external/webkit/Source/WebKit/chromium/tests/
DDragImageTest.cpp146 SkAutoLockPixels lock1(*dragImage), lock2(*(testImage->nativeImageForCurrentFrame())); in TEST() local
/external/v8/test/cctest/
Dtest-lockers.cc487 v8::Locker lock2(isolate2_); in Run() local
552 v8::Locker lock2(isolate_); in Run() local
607 v8::Locker lock2; in Run() local
/external/valgrind/main/drd/tests/
Dtsan_unittest.cpp6996 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in Writer2() local
7006 MutexLock lock2(&mu2); // Oh, gosh, this is a wrong mutex! in Reader() local
7055 MutexLock lock2(&mu2); // This lock is unrelated to PTR. in GoodWriter2() local
7066 MutexLock lock2(&mu2); // Wrong mutex! in BuggyWriter() local