Home
last modified time | relevance | path

Searched refs:kNumThreads (Results 1 – 3 of 3) sorted by relevance

/sdk/emulator/opengl/shared/emugl/common/
Dthread_store_unittest.cpp104 const size_t kNumThreads = 1000; in TEST() local
105 TestThread* threads[kNumThreads]; in TEST()
108 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
111 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
115 EXPECT_EQ(kNumThreads, StaticCounter::getCreationCount()); in TEST()
116 EXPECT_EQ(kNumThreads, StaticCounter::getDestructionCount()); in TEST()
118 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
125 const size_t kNumThreads = 1000; in TEST() local
126 TestThread* threads[kNumThreads]; in TEST()
129 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
[all …]
Dmutex_unittest.cpp62 const size_t kNumThreads = 2000; in TEST() local
63 TestThread* threads[kNumThreads]; in TEST()
67 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
72 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
77 EXPECT_EQ(static_cast<int>(kNumThreads), p.counter); in TEST()
90 const size_t kNumThreads = 2000; in TEST() local
91 TestThread* threads[kNumThreads]; in TEST()
95 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
100 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
105 EXPECT_EQ(static_cast<int>(kNumThreads), p.counter); in TEST()
Dlazy_instance_unittest.cpp120 const size_t kNumThreads = MultiState::kMaxThreads; in TEST() local
123 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
128 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
137 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()
141 for (size_t n = 0; n < kNumThreads; ++n) { in TEST()