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

  /external/chromium_org/v8/src/base/platform/
condition-variable-unittest.cc 61 static const int kThreadCount = 128;
62 ThreadWithMutexAndConditionVariable threads[kThreadCount];
64 for (int n = 0; n < kThreadCount; ++n) {
75 for (int n = kThreadCount - 1; n >= 0; --n) {
81 for (int n = 0; n < kThreadCount; ++n) {
90 for (int n = kThreadCount - 1; n >= 0; --n) {
100 for (int n = 0; n < kThreadCount; ++n) {
142 static const int kThreadCount = 128;
143 ThreadWithSharedMutexAndConditionVariable threads[kThreadCount];
147 for (int n = 0; n < kThreadCount; ++n)
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_stoptheworld_test.cc 92 static const uptr kThreadCount = 50;
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; i++
    [all...]
sanitizer_linux_test.cc 67 for (uptr i = 0; i < kThreadCount; i++) {
85 static const uptr kThreadCount = 20;
  /external/chromium_org/testing/gtest/test/
gtest_stress_test.cc 62 const int kThreadCount = 50;
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; ++i)
    [all...]
gtest-port_test.cc     [all...]
  /external/gtest/test/
gtest_stress_test.cc 62 const int kThreadCount = 50;
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; ++i)
    [all...]
gtest-port_test.cc     [all...]
  /ndk/sources/third_party/googletest/googletest/test/
gtest_stress_test.cc 62 const int kThreadCount = 50;
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; ++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_org/base/synchronization/
condition_variable_unittest.cc 253 const int kThreadCount = 10;
254 WorkQueue queue(kThreadCount); // Start the threads.
393 queue.ThreadSafeCheckShutdown(kThreadCount));
397 const int kThreadCount = 200;
398 WorkQueue queue(kThreadCount); // Start the threads.
425 queue.SetTaskCount(20 * kThreadCount);
444 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments());
445 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks());
448 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks());
452 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_org/mojo/common/
handle_watcher_unittest.cc 424 // repeatedly starting and stopping watches. It spins up kThreadCount
429 const int kThreadCount = 15;
432 const int kThreadCount = 10;
440 int threads_active_counter = kThreadCount;
443 for (int i = 0; i < kThreadCount; ++i) {
455 for (int i = 0; i < kThreadCount; ++i) {
  /external/chromium_org/sync/syncable/
directory_unittest.cc     [all...]

Completed in 1504 milliseconds