Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 5 of 5) sorted by relevance

/external/chromium/base/
Dcondition_variable_unittest.cc65 explicit WorkQueue(int thread_count);
115 bool ThreadSafeCheckShutdown(int thread_count);
492 WorkQueue::WorkQueue(int thread_count) in WorkQueue() argument
497 thread_count_(thread_count), in WorkQueue()
498 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue()
499 assignment_history_(thread_count), in WorkQueue()
500 completion_history_(thread_count), in WorkQueue()
575 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { in ThreadSafeCheckShutdown() argument
581 all_shutdown = (shutdown_task_count_ == thread_count); in ThreadSafeCheckShutdown()
/external/chromium/sdch/open-vcdiff/src/gtest/
Dgtest-death-test.cc131 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument
135 if (thread_count == 0) in DeathTestThreadWarning()
138 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()
453 const size_t thread_count = GetThreadCount(); in AssumeRole() local
454 if (thread_count != 1) { in AssumeRole()
455 GTEST_LOG(WARNING, DeathTestThreadWarning(thread_count)); in AssumeRole()
/external/protobuf/gtest/src/
Dgtest-death-test.cc170 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument
174 if (thread_count == 0) in DeathTestThreadWarning()
177 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()
739 const size_t thread_count = GetThreadCount(); in AssumeRole() local
740 if (thread_count != 1) { in AssumeRole()
741 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
Dgtest-port.cc82 mach_msg_type_number_t thread_count; in GetThreadCount() local
84 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()
90 sizeof(thread_t) * thread_count); in GetThreadCount()
91 return static_cast<size_t>(thread_count); in GetThreadCount()
/external/gtest/src/
Dgtest-death-test.cc170 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument
174 if (thread_count == 0) in DeathTestThreadWarning()
177 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()
880 const size_t thread_count = GetThreadCount(); in AssumeRole() local
881 if (thread_count != 1) { in AssumeRole()
882 GTEST_LOG_(WARNING, DeathTestThreadWarning(thread_count)); in AssumeRole()