/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_mutex.cc | 179 const int kThreadCount = 8; local 193 pthread_t threads[kThreadCount]; 194 for (int t = 0; t < kThreadCount; t++) 196 for (int t = 0; t < kThreadCount; t++)
|
/external/protobuf/gtest/test/ |
H A D | gtest_stress_test.cc | 53 const int kThreadCount = 50; member in namespace:testing::__anon24842 84 for (int i = 0; i < kThreadCount; i++) { 100 // This assertion should fail kThreadCount times per thread. It
|
/external/chromium/testing/gtest/test/ |
H A D | gtest_stress_test.cc | 63 const int kThreadCount = 50; member in namespace:testing::__anon3333 95 for (int i = 0; i < kThreadCount; i++) { 111 // This assertion should fail kThreadCount times per thread. It 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; 132 for (int i = 0; i != kThreadCount; i++) 140 for (int i = 0; i != kThreadCount; i++) 144 // Ensures that kThreadCount*kThreadCount failures have been reported. 154 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) 157 for (int i = 0; i < kThreadCount; [all...] |
H A D | gtest-port_test.cc | 1038 const int kThreadCount = 7; local 1039 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1041 // Creates and runs kThreadCount threads that increment locked_counter 1043 for (int i = 0; i < kThreadCount; ++i) { 1050 for (int i = 0; i < kThreadCount; ++i) 1057 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/chromium_org/testing/gtest/test/ |
H A D | gtest_stress_test.cc | 62 const int kThreadCount = 50; member in namespace:testing::__anon10851 94 for (int i = 0; i < kThreadCount; i++) { 110 // This assertion should fail kThreadCount times per thread. It 129 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; 131 for (int i = 0; i != kThreadCount; i++) 139 for (int i = 0; i != kThreadCount; i++) 143 // Ensures that kThreadCount*kThreadCount failures have been reported. 153 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) 156 for (int i = 0; i < kThreadCount; [all...] |
H A D | gtest-port_test.cc | 1102 const int kThreadCount = 7; local 1103 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1105 // Creates and runs kThreadCount threads that increment locked_counter 1107 for (int i = 0; i < kThreadCount; ++i) { 1114 for (int i = 0; i < kThreadCount; ++i) 1121 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/chromium_org/v8/test/cctest/ |
H A D | test-condition-variable.cc | 79 static const int kThreadCount = 128; local 80 ThreadWithMutexAndConditionVariable threads[kThreadCount]; 82 for (int n = 0; n < kThreadCount; ++n) { 93 for (int n = kThreadCount - 1; n >= 0; --n) { 99 for (int n = 0; n < kThreadCount; ++n) { 108 for (int n = kThreadCount - 1; n >= 0; --n) { 118 for (int n = 0; n < kThreadCount; ++n) { 153 static const int kThreadCount = 128; local 154 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount]; 158 for (int n = 0; n < kThreadCount; [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_stoptheworld_test.cc | 92 static const uptr kThreadCount = 50; member in namespace:__sanitizer 99 volatile int counters[kThreadCount]; 100 pthread_t thread_ids[kThreadCount]; 118 if (this_thread_index + 1 < kThreadCount) { 127 kThreadCount - callback_argument->thread_index); 148 int counters_at_init[kThreadCount]; 149 for (uptr j = 0; j < kThreadCount; j++) 154 for (uptr j = 0; j < kThreadCount; j++) 182 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount) 187 for (uptr i = 0; i < kThreadCount; [all...] |
H A D | sanitizer_linux_test.cc | 67 for (uptr i = 0; i < kThreadCount; i++) { 85 static const uptr kThreadCount = 20; member in class:__sanitizer::ThreadListerTest
|
/external/gtest/test/ |
H A D | gtest_stress_test.cc | 63 const int kThreadCount = 50; member in namespace:testing::__anon18842 95 for (int i = 0; i < kThreadCount; i++) { 111 // This assertion should fail kThreadCount times per thread. It 130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; 132 for (int i = 0; i != kThreadCount; i++) 140 for (int i = 0; i != kThreadCount; i++) 144 // Ensures that kThreadCount*kThreadCount failures have been reported. 154 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) 157 for (int i = 0; i < kThreadCount; [all...] |
H A D | gtest-port_test.cc | 1058 const int kThreadCount = 7; local 1059 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1061 // Creates and runs kThreadCount threads that increment locked_counter 1063 for (int i = 0; i < kThreadCount; ++i) { 1070 for (int i = 0; i < kThreadCount; ++i) 1077 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/chromium/base/synchronization/ |
H A D | condition_variable_unittest.cc | 193 const int kThreadCount = 10; local 194 WorkQueue queue(kThreadCount); // Start the threads. 376 queue.ThreadSafeCheckShutdown(kThreadCount)); 380 const int kThreadCount = 200; local 381 WorkQueue queue(kThreadCount); // Start the threads. 408 queue.SetTaskCount(20 * kThreadCount); 427 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); 428 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); 431 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); 435 queue.SetTaskCount(kThreadCount * [all...] |
/external/chromium_org/base/synchronization/ |
H A D | condition_variable_unittest.cc | 254 const int kThreadCount = 10; local 255 WorkQueue queue(kThreadCount); // Start the threads. 394 queue.ThreadSafeCheckShutdown(kThreadCount)); 398 const int kThreadCount = 200; local 399 WorkQueue queue(kThreadCount); // Start the threads. 426 queue.SetTaskCount(20 * kThreadCount); 445 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); 446 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); 449 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); 453 queue.SetTaskCount(kThreadCount * [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
H A D | syncable_unittest.cc | 1661 const int kThreadCount = 7; local 1662 base::PlatformThreadHandle threads[kThreadCount]; 1663 scoped_ptr<StressTransactionsDelegate> thread_delegates[kThreadCount]; 1665 for (int i = 0; i < kThreadCount; ++i) { 1672 for (int i = 0; i < kThreadCount; ++i) {
|
/external/chromium_org/sync/syncable/ |
H A D | syncable_unittest.cc | 2189 const int kThreadCount = 7; local 2190 base::PlatformThreadHandle threads[kThreadCount]; 2191 scoped_ptr<StressTransactionsDelegate> thread_delegates[kThreadCount]; 2193 for (int i = 0; i < kThreadCount; ++i) { 2199 for (int i = 0; i < kThreadCount; ++i) {
|