Searched defs:thread_count (Results 1 - 5 of 5) sorted by relevance

/bionic/tests/
H A Dstack_protector_test.cpp74 size_t thread_count = 9; local
75 for (size_t i = 1; i < thread_count; ++i) {
86 ASSERT_EQ(thread_count, checker.tids.size());
H A Dleak_test.cpp120 constexpr int thread_count = 100; local
121 ASSERT_EQ(pthread_barrier_init(&barrier, nullptr, thread_count + 1), 0);
125 pid_t tids[thread_count];
126 for (int i = 0; i < thread_count; ++i) {
H A Dpthread_test.cpp1939 size_t thread_count; member in struct:BarrierTestHelperData
1946 BarrierTestHelperData(size_t thread_count, size_t iteration_count) argument
1947 : thread_count(thread_count), finished_mask(0), serial_thread_count(0),
1967 if (mask == ((1 << arg->data->thread_count) - 1)) {
1980 ASSERT_EQ(0, pthread_barrier_init(&data.barrier, nullptr, data.thread_count));
1981 std::vector<pthread_t> threads(data.thread_count);
/bionic/libc/bionic/
H A Dpthread_cond.cpp155 // then wake up thread_count threads.
156 static int __pthread_cond_pulse(pthread_cond_internal_t* cond, int thread_count) { argument
169 __futex_wake_ex(&cond->state, cond->process_shared(), thread_count);
/bionic/tools/versioner/src/
H A Dversioner.cpp168 size_t thread_count = max_thread_count; local
192 thread_count = std::min(thread_count, jobs.size());
194 if (thread_count == 1) {
201 for (size_t i = 0; i < thread_count; ++i) {

Completed in 136 milliseconds