Searched refs:thread_count (Results 1 - 25 of 40) sorted by path

12

/external/chromium_org/base/synchronization/
H A Dcondition_variable_unittest.cc66 explicit WorkQueue(int thread_count);
117 // Compares the |shutdown_task_count_| to the |thread_count| and returns true
120 bool ThreadSafeCheckShutdown(int thread_count);
491 WorkQueue::WorkQueue(int thread_count) argument
496 thread_count_(thread_count),
498 thread_handles_(new PlatformThreadHandle[thread_count]),
499 assignment_history_(thread_count),
500 completion_history_(thread_count),
576 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { argument
582 all_shutdown = (shutdown_task_count_ == thread_count);
[all...]
/external/chromium_org/media/cast/test/
H A Dfake_media_source.cc120 av_codec_context->thread_count = 2;
/external/chromium_org/media/cdm/ppapi/external_clear_key/
H A Dffmpeg_cdm_video_decoder.cc165 codec_context_->thread_count = kDecodeThreads;
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_unittest.cc154 av_codec_context->thread_count = kDecodeThreads;
/external/chromium_org/media/filters/
H A Dffmpeg_video_decoder.cc334 codec_context_->thread_count = GetThreadCount(codec_context_->codec_id);
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/
H A Dvoronoi.cc485 int thread_count = dictionary.Get("value").AsInt(); local
487 workers_ = new ThreadPool(thread_count);
/external/chromium_org/native_client_sdk/src/gonacl_appengine/src/voronoi/
H A Dvoronoi.cc454 int thread_count = dictionary.Get("value").AsInt(); local
456 workers_ = new ThreadPool(thread_count);
/external/chromium_org/net/test/embedded_test_server/
H A Dembedded_test_server.cc146 const int thread_count = local
161 while (thread_count ==
/external/chromium_org/testing/gtest/src/
H A Dgtest-death-test.cc216 // caller not to pass a thread_count of 1.
217 static std::string DeathTestThreadWarning(size_t thread_count) { argument
221 if (thread_count == 0)
224 msg << "detected " << thread_count << " threads."; local
823 const size_t thread_count = GetThreadCount(); local
824 if (thread_count != 1) {
825 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
H A Dgtest-port.cc92 mach_msg_type_number_t thread_count; local
94 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
100 sizeof(thread_t) * thread_count);
101 return static_cast<size_t>(thread_count);
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
H A Dxmlelement_unittest.cc260 int thread_count = 2; // Was 100, but that's too slow. local
265 for (int i = 0; i < thread_count; i++) {
271 for (int i = 0; i < thread_count; i++) {
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc6710 // caller not to pass a thread_count of 1.
6711 static std::string DeathTestThreadWarning(size_t thread_count) {
6715 if (thread_count == 0)
6718 msg << "detected " << thread_count << " threads.";
7317 const size_t thread_count = GetThreadCount();
7318 if (thread_count != 1) {
7319 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
8299 mach_msg_type_number_t thread_count;
8301 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
8307 sizeof(thread_t) * thread_count);
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-death-test.cc178 // caller not to pass a thread_count of 1.
179 static String DeathTestThreadWarning(size_t thread_count) { argument
183 if (thread_count == 0)
186 msg << "detected " << thread_count << " threads."; local
787 const size_t thread_count = GetThreadCount(); local
788 if (thread_count != 1) {
789 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
H A Dgtest-port.cc86 mach_msg_type_number_t thread_count; local
88 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
94 sizeof(thread_t) * thread_count);
95 return static_cast<size_t>(thread_count);
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
H A Dxmlelement_unittest.cc243 int thread_count = 2; // Was 100, but that's too slow. local
248 for (int i = 0; i < thread_count; i++) {
254 for (int i = 0; i < thread_count; i++) {
/external/chromium_org/tools/gn/
H A Dscheduler.cc17 std::string thread_count = local
21 if (thread_count.empty() || !base::StringToInt(thread_count, &result))
/external/chromium_org/v8/src/base/platform/
H A Dcondition-variable-unittest.cc223 LoopIncrementThread(int rem, int* counter, int limit, int thread_count, argument
229 thread_count_(thread_count),
232 EXPECT_LT(rem, thread_count);
233 EXPECT_EQ(0, limit % thread_count);
273 for (int thread_count = 1; thread_count < kMaxThreadCount; ++thread_count) {
274 int limit = thread_count * 10;
278 Thread** threads = new Thread* [thread_count];
279 for (int n = 0; n < thread_count;
[all...]
/external/chromium_org/v8/tools/
H A Dgrokdump.py454 ("thread_count", ctypes.c_uint32),
455 ("threads", lambda t: MINIDUMP_THREAD.ctype * t.thread_count)
/external/compiler-rt/lib/lsan/
H A Dlsan_common.cc209 for (uptr i = 0; i < suspended_threads.thread_count(); i++) {
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld.h36 uptr thread_count() const { return thread_ids_.size(); } function in class:__sanitizer::SuspendedThreadsList
H A Dsanitizer_stoptheworld_linux_libcdep.cc127 for (uptr i = 0; i < suspended_threads_list_.thread_count(); i++) {
143 for (uptr i = 0; i < suspended_threads_list_.thread_count(); i++)
/external/gtest/src/
H A Dgtest-death-test.cc216 // caller not to pass a thread_count of 1.
217 static std::string DeathTestThreadWarning(size_t thread_count) { argument
221 if (thread_count == 0)
224 msg << "detected " << thread_count << " threads."; local
823 const size_t thread_count = GetThreadCount(); local
824 if (thread_count != 1) {
825 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
H A Dgtest-port.cc92 mach_msg_type_number_t thread_count; local
94 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
100 sizeof(thread_t) * thread_count);
101 return static_cast<size_t>(thread_count);
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc6710 // caller not to pass a thread_count of 1.
6711 static std::string DeathTestThreadWarning(size_t thread_count) {
6715 if (thread_count == 0)
6718 msg << "detected " << thread_count << " threads.";
7317 const size_t thread_count = GetThreadCount();
7318 if (thread_count != 1) {
7319 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
8301 mach_msg_type_number_t thread_count;
8303 const kern_return_t status = task_threads(task, &thread_list, &thread_count);
8309 sizeof(thread_t) * thread_count);
[all...]
/external/lldb/source/Plugins/Process/Linux/
H A DProcessLinux.cpp158 uint32_t thread_count = m_thread_list.GetSize(false); local
159 for (uint32_t i = 0; i < thread_count; ++i)

Completed in 739 milliseconds

12