/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/google-breakpad/src/testing/gtest/test/ |
H A D | gtest_stress_test.cc | 63 const int kThreadCount = 50; member in namespace:testing::__anon7591 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 | 1064 const int kThreadCount = 7; local 1065 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1067 // Creates and runs kThreadCount threads that increment locked_counter 1069 for (int i = 0; i < kThreadCount; ++i) { 1076 for (int i = 0; i < kThreadCount; ++i) 1083 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/googletest/googletest/test/ |
H A D | gtest_stress_test.cc | 62 const int kThreadCount = 50; member in namespace:testing::__anon7746 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 | 1108 const int kThreadCount = 7; local 1109 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1111 // Creates and runs kThreadCount threads that increment locked_counter 1113 for (int i = 0; i < kThreadCount; ++i) { 1120 for (int i = 0; i < kThreadCount; ++i) 1127 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/protobuf/gtest/test/ |
H A D | gtest_stress_test.cc | 63 const int kThreadCount = 50; member in namespace:testing::__anon18781 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 | 870 const int kThreadCount = 7; local 871 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 873 // Creates and runs kThreadCount threads that increment locked_counter 875 for (int i = 0; i < kThreadCount; ++i) { 882 for (int i = 0; i < kThreadCount; ++i) 889 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/v8/testing/gtest/test/ |
H A D | gtest_stress_test.cc | 62 const int kThreadCount = 50; member in namespace:testing::__anon27990 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 | 1108 const int kThreadCount = 7; local 1109 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1111 // Creates and runs kThreadCount threads that increment locked_counter 1113 for (int i = 0; i < kThreadCount; ++i) { 1120 for (int i = 0; i < kThreadCount; ++i) 1127 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
H A D | gtest_stress_test.cc | 62 const int kThreadCount = 50; member in namespace:testing::__anon30342 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 | 1113 const int kThreadCount = 7; local 1114 scoped_ptr<ThreadType> counting_threads[kThreadCount]; 1116 // Creates and runs kThreadCount threads that increment locked_counter 1118 for (int i = 0; i < kThreadCount; ++i) { 1125 for (int i = 0; i < kThreadCount; ++i) 1132 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value());
|
/external/libchrome/base/synchronization/ |
H A D | condition_variable_unittest.cc | 258 const int kThreadCount = 10; local 259 WorkQueue queue(kThreadCount); // Start the threads. 398 queue.ThreadSafeCheckShutdown(kThreadCount)); 402 const int kThreadCount = 200; local 403 WorkQueue queue(kThreadCount); // Start the threads. 430 queue.SetTaskCount(20 * kThreadCount); 449 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); 450 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); 453 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); 457 queue.SetTaskCount(kThreadCount * [all...] |
/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++)
|