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

  /art/test/136-daemon-jni-shutdown/
daemon_jni_shutdown.cc 30 static const int kThreadCount = 4;
32 static std::atomic<int> barrier_count(kThreadCount + 1);
  /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++)
  /bionic/tests/
leak_test.cpp 129 constexpr int kThreadCount = 100;
130 struct thread_data { pthread_barrier_t* barrier; pid_t* tid; } threads[kThreadCount] = {};
133 ASSERT_EQ(pthread_barrier_init(&barrier, nullptr, kThreadCount + 1), 0);
136 pid_t tids[kThreadCount];
137 for (int i = 0; i < kThreadCount; ++i) {
  /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/google-breakpad/src/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     [all...]
  /external/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 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 870 const int kThreadCount = 7;
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/
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/vulkan-validation-layers/tests/gtest-1.7.0/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...]
  /prebuilts/ndk/r16/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/libchrome/base/synchronization/
condition_variable_unittest.cc 258 const int kThreadCount = 10;
259 WorkQueue queue(kThreadCount); // Start the threads.
398 queue.ThreadSafeCheckShutdown(kThreadCount));
402 const int kThreadCount = 200;
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 * 4)
    [all...]

Completed in 1354 milliseconds