HomeSort by relevance Sort by last modified time
    Searched refs:kThreadCount (Results 1 - 12 of 12) sorted by null

  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_stoptheworld_test.cc 91 static const uptr kThreadCount = 50;
98 volatile int counters[kThreadCount];
99 pthread_t thread_ids[kThreadCount];
117 if (this_thread_index + 1 < kThreadCount) {
126 kThreadCount - callback_argument->thread_index);
147 int counters_at_init[kThreadCount];
148 for (uptr j = 0; j < kThreadCount; j++)
153 for (uptr j = 0; j < kThreadCount; j++)
181 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount)
186 for (uptr i = 0; i < kThreadCount; i++
    [all...]
sanitizer_linux_test.cc 65 for (uptr i = 0; i < kThreadCount; i++) {
83 static const uptr kThreadCount = 20;
  /external/chromium/testing/gtest/test/
gtest_stress_test.cc 63 const int kThreadCount = 50;
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; ++i)
    [all...]
gtest-port_test.cc 1038 const int kThreadCount = 7;
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
    [all...]
  /external/gtest/test/
gtest_stress_test.cc 63 const int kThreadCount = 50;
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; ++i)
    [all...]
gtest-port_test.cc     [all...]
  /external/libvpx/libvpx/third_party/googletest/src/test/
gtest_stress_test.cc 63 const int kThreadCount = 50;
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; ++i)
    [all...]
gtest-port_test.cc     [all...]
  /external/protobuf/gtest/test/
gtest_stress_test.cc 53 const int kThreadCount = 50;
84 for (int i = 0; i < kThreadCount; i++) {
100 // This assertion should fail kThreadCount times per thread. It
  /external/chromium/base/synchronization/
condition_variable_unittest.cc 193 const int kThreadCount = 10;
194 WorkQueue queue(kThreadCount); // Start the threads.
376 queue.ThreadSafeCheckShutdown(kThreadCount));
380 const int kThreadCount = 200;
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 * 4)
    [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_mutex.cc 179 const int kThreadCount = 8;
193 pthread_t threads[kThreadCount];
194 for (int t = 0; t < kThreadCount; t++)
196 for (int t = 0; t < kThreadCount; t++)
  /external/chromium/chrome/browser/sync/syncable/
syncable_unittest.cc     [all...]

Completed in 698 milliseconds