Searched refs:MutexLockTestThread (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/base/synchronization/ |
D | lock_unittest.cc | 150 class MutexLockTestThread : public PlatformThread::Delegate { class 152 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread() function in base::MutexLockTestThread 173 DISALLOW_COPY_AND_ASSIGN(MutexLockTestThread); 180 MutexLockTestThread thread(&lock, &value); in TEST() 185 MutexLockTestThread::DoStuff(&lock, &value); in TEST() 196 MutexLockTestThread thread1(&lock, &value); in TEST() 197 MutexLockTestThread thread2(&lock, &value); in TEST() 198 MutexLockTestThread thread3(&lock, &value); in TEST() 207 MutexLockTestThread::DoStuff(&lock, &value); in TEST()
|
/external/sfntly/cpp/src/test/ |
D | lock_test.cc | 163 class MutexLockTestThread : public PlatformThread::Delegate { class 165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread() function in sfntly::MutexLockTestThread 186 NO_COPY_AND_ASSIGN(MutexLockTestThread); 193 MutexLockTestThread thread(&lock, &value); in MutexTwoThreads() 198 MutexLockTestThread::DoStuff(&lock, &value); in MutexTwoThreads() 210 MutexLockTestThread thread1(&lock, &value); in MutexFourThreads() 211 MutexLockTestThread thread2(&lock, &value); in MutexFourThreads() 212 MutexLockTestThread thread3(&lock, &value); in MutexFourThreads() 221 MutexLockTestThread::DoStuff(&lock, &value); in MutexFourThreads()
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
D | lock_test.cc | 163 class MutexLockTestThread : public PlatformThread::Delegate { class 165 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {} in MutexLockTestThread() function in sfntly::MutexLockTestThread 186 NO_COPY_AND_ASSIGN(MutexLockTestThread); 193 MutexLockTestThread thread(&lock, &value); in MutexTwoThreads() 198 MutexLockTestThread::DoStuff(&lock, &value); in MutexTwoThreads() 210 MutexLockTestThread thread1(&lock, &value); in MutexFourThreads() 211 MutexLockTestThread thread2(&lock, &value); in MutexFourThreads() 212 MutexLockTestThread thread3(&lock, &value); in MutexFourThreads() 221 MutexLockTestThread::DoStuff(&lock, &value); in MutexFourThreads()
|