Searched refs:kThreadCount (Results 1 - 14 of 14) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_test.cc92 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 Dsanitizer_linux_test.cc67 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 Dgtest_stress_test.cc63 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 Dgtest-port_test.cc1064 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 Dgtest_stress_test.cc62 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 Dgtest-port_test.cc1108 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 Dgtest_stress_test.cc63 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 Dgtest-port_test.cc870 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 Dgtest_stress_test.cc62 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 Dgtest-port_test.cc1108 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 Dgtest_stress_test.cc62 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 Dgtest-port_test.cc1113 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 Dcondition_variable_unittest.cc258 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 Dtsan_mutex.cc179 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++)

Completed in 1734 milliseconds