Home
last modified time | relevance | path

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

/bionic/tests/
Dsetjmp_test.cpp313 constexpr size_t kNumThreads = 20; in TEST() local
335 pthread_t threads[kNumThreads]; in TEST()
336 pid_t tids[kNumThreads] = {}; in TEST()
338 for (size_t i = 0; i < kNumThreads; ++i) { in TEST()
347 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
360 for (size_t i = 0; i < kNumThreads; i++) { in TEST()
Dmalloc_test.cpp1351 static constexpr size_t kNumThreads = 4; in SetAllocationLimitMultipleThreads() local
1355 std::unique_ptr<std::thread> threads[kNumThreads]; in SetAllocationLimitMultipleThreads()
1356 for (size_t i = 0; i < kNumThreads; i++) { in SetAllocationLimitMultipleThreads()
1369 while (num_running != kNumThreads) in SetAllocationLimitMultipleThreads()
1383 for (size_t i = 0; i < kNumThreads; i++) { in SetAllocationLimitMultipleThreads()