Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc91 mach_msg_type_number_t thread_count; in GetThreadCount() local
93 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()
99 sizeof(thread_t) * thread_count); in GetThreadCount()
100 return static_cast<size_t>(thread_count); in GetThreadCount()
Dgtest-death-test.cc217 static std::string DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument
221 if (thread_count == 0) in DeathTestThreadWarning()
224 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning()
823 const size_t thread_count = GetThreadCount(); in AssumeRole() local
824 if (thread_count != 1) { in AssumeRole()
825 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()