/external/valgrind/main/drd/tests/ |
pth_create_chain.c | 16 int thread_count = *(int*)(p); local 17 if (thread_count > 0) 19 thread_count--; 20 // std::cout << "create " << thread_count << std::endl; 21 s_arg[thread_count] = thread_count; 22 pthread_create(&s_thread[thread_count], 0, thread_func, 23 &s_arg[thread_count]); 25 std::cout << "created " << thread_count << "(" << s_thread[thread_count] 34 unsigned thread_count; local [all...] |
pth_barrier_thr_cr.c | 30 int thread_count = barriers * barrier_participants; local 37 tid = malloc(thread_count * sizeof(*tid)); 39 for (i = 0; i < thread_count; i++) { 43 for (i = 0; i < thread_count; i++) {
|
annotate_rwlock.c | 143 const int thread_count = 10; local 144 pthread_t tid[thread_count]; 148 for (i = 0; i < thread_count; i++) 153 for (i = 0; i < thread_count; i++)
|
annotate_barrier.c | 30 unsigned thread_count; member in struct:__anon16473 59 b->thread_count = count; 79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count) 81 __sync_sub_and_fetch(&b->wait_count, b->thread_count);
|
pth_broadcast.c | 114 int thread_count; local 134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10; 148 thread_vec = malloc(sizeof(struct cthread) * thread_count); 149 for (p = thread_vec; p != thread_vec + thread_count; p++) 161 csema_p(&sema, thread_count); 170 for (i = 0; i < thread_count; i++)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld.h | 36 uptr thread_count() const { return thread_ids_.size(); } function in class:__sanitizer::SuspendedThreadsList
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlelement_unittest.cc | 260 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/webrtc/libjingle/xmllite/ |
xmlelement_unittest.cc | 243 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++) {
|
/bionic/tests/ |
stack_protector_test.cpp | 75 size_t thread_count = 10; local 76 for (size_t i = 0; i < thread_count; ++i) { 83 ASSERT_EQ(thread_count, checker.tids.size());
|
/external/chromium_org/tools/gn/ |
scheduler.cc | 17 std::string thread_count = local 21 if (thread_count.empty() || !base::StringToInt(thread_count, &result))
|
/external/lldb/source/Plugins/Process/Linux/ |
ProcessLinux.cpp | 158 uint32_t thread_count = m_thread_list.GetSize(false); local 159 for (uint32_t i = 0; i < thread_count; ++i)
|
/external/valgrind/main/helgrind/tests/ |
annotate_rwlock.c | 157 const int thread_count = 10; local 158 pthread_t tid[thread_count]; 162 for (i = 0; i < thread_count; i++) 167 for (i = 0; i < thread_count; i++)
|
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 140 uint16_t thread_count = 0; local 141 thread_list->ForEach(ThreadCountCallback, &thread_count); 145 JDWP::Append2BE(bytes, thread_count);
|
/external/protobuf/gtest/src/ |
gtest-port.cc | 82 mach_msg_type_number_t thread_count; local 84 const kern_return_t status = task_threads(task, &thread_list, &thread_count); 90 sizeof(thread_t) * thread_count); 91 return static_cast<size_t>(thread_count);
|
/art/runtime/ |
thread_pool.cc | 135 const size_t thread_count = GetThreadCount(); local 137 const size_t active_threads = thread_count - waiting_count_; 288 const size_t thread_count = GetThreadCount(); local 289 for (size_t i = 0; i < thread_count; ++i) { 292 if (steal_index_ >= thread_count) { 293 steal_index_-= thread_count;
|
/external/chromium_org/net/test/embedded_test_server/ |
embedded_test_server.cc | 146 const int thread_count = local 161 while (thread_count ==
|
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest-port.cc | 86 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/gtest/src/ |
gtest-port.cc | 92 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/lldb/tools/darwin-threads/ |
examine-threads.c | 385 mach_msg_type_number_t thread_count; local 387 kr = task_threads (task, &thread_list, &thread_count); 393 printf ("pid %d has %d threads\n", pid, thread_count); 397 for (i = 0; i < thread_count; i++) 469 thread_count * sizeof (thread_act_t));
|
/external/llvm/utils/unittest/googletest/src/ |
gtest-port.cc | 86 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/mesa3d/src/gtest/src/ |
gtest-port.cc | 86 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);
|
/ndk/sources/third_party/googletest/googletest/src/ |
gtest-port.cc | 91 mach_msg_type_number_t thread_count; local 93 const kern_return_t status = task_threads(task, &thread_list, &thread_count); 99 sizeof(thread_t) * thread_count); 100 return static_cast<size_t>(thread_count);
|
/external/lldb/source/Plugins/Process/POSIX/ |
ProcessPOSIX.cpp | 275 uint32_t thread_count = m_thread_list.GetSize(false); local 276 for (uint32_t i = 0; i < thread_count; ++i) 335 uint32_t thread_count = m_thread_list.GetSize(false); local 336 for (uint32_t i = 0; i < thread_count; ++i) 702 uint32_t thread_count = m_thread_list.GetSize(false); local 703 for (uint32_t i = 0; i < thread_count; ++i) 758 uint32_t thread_count = m_thread_list.GetSize(false); local 759 for (uint32_t i = 0; i < thread_count; ++i) 904 uint32_t thread_count = m_thread_list.GetSize(false); local 905 for (uint32_t i = 0; i < thread_count; ++i [all...] |
/external/chromium_org/native_client_sdk/src/examples/demo/voronoi/ |
voronoi.cc | 485 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/ |
voronoi.cc | 454 int thread_count = dictionary.Get("value").AsInt(); local 456 workers_ = new ThreadPool(thread_count);
|