Home
last modified time | relevance | path

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

/aosp12/system/unwinding/libunwindstack/tests/
H A DUnwindTest.cpp574 static constexpr size_t kNumThreads = 300; in TEST_F() local
592 for (size_t i = 0; i < kNumThreads; i++) { in TEST_F()
597 while (unwinders.load() != kNumThreads) in TEST_F()
610 static constexpr size_t kNumThreads = 100; in TEST_F() local
613 std::atomic_int tids[kNumThreads] = {}; in TEST_F()
615 for (size_t i = 0; i < kNumThreads; i++) { in TEST_F()
623 while (g_waiters.load() != kNumThreads) in TEST_F()
637 while (unwinders.load() != kNumThreads) in TEST_F()
663 std::atomic_int tids[kNumThreads] = {}; in TEST_F()
673 while (g_waiters.load() != kNumThreads) in TEST_F()
[all …]
/aosp12/bionic/tests/
H A Dsetjmp_test.cpp281 constexpr size_t kNumThreads = 20; in TEST() local
300 pid_t tids[kNumThreads] = {}; in TEST()
301 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
311 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
H A Dmalloc_test.cpp1212 static constexpr size_t kNumThreads = 4; in SetAllocationLimitMultipleThreads() local
1213 pthread_t threads[kNumThreads]; in SetAllocationLimitMultipleThreads()
1214 for (size_t i = 0; i < kNumThreads; i++) { in SetAllocationLimitMultipleThreads()
1227 for (size_t i = 0; i < kNumThreads; i++) { in SetAllocationLimitMultipleThreads()
/aosp12/art/runtime/gc/space/
H A Dlarge_object_space_test.cc30 static constexpr size_t kNumThreads = 10; member in art::gc::space::LargeObjectSpaceTest
164 ThreadPool thread_pool("Large object space test thread pool", kNumThreads); in RaceTest()
165 for (size_t i = 0; i < kNumThreads; ++i) { in RaceTest()
/aosp12/frameworks/native/libs/binder/tests/
H A DbinderRpcTest.cpp734 constexpr size_t kNumThreads = 10; in TEST_P() local
736 auto proc = createRpcTestSocketServerProcess(kNumThreads); in TEST_P()
742 for (size_t i = 0; i < kNumThreads - 1; i++) { in TEST_P()
766 constexpr size_t kNumThreads = 10; in TEST_P() local
767 constexpr size_t kNumCalls = kNumThreads + 3; in TEST_P()
770 auto proc = createRpcTestSocketServerProcess(kNumThreads); in TEST_P()
/aosp12/art/runtime/
H A Doat_file_assistant_test.cc1312 const size_t kNumThreads = 32; in TEST_F() local
1314 ThreadPool thread_pool("Oat file assistant test thread pool", kNumThreads); in TEST_F()
1317 for (size_t i = 0; i < kNumThreads; i++) { in TEST_F()