Searched refs:thread_count (Results 1 - 25 of 40) sorted by last modified time

12

/external/valgrind/main/drd/tests/
H A Dannotate_barrier.c30 unsigned thread_count; member in struct:__anon32782
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);
H A Dannotate_rwlock.c143 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++)
H A Dpth_barrier_thr_cr.c30 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++) {
H A Dpth_broadcast.c114 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++)
H A Dpth_create_chain.c16 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...]
/external/valgrind/main/helgrind/tests/
H A Dannotate_rwlock.c157 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++)
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc169 // caller not to pass a thread_count of 1.
170 static String DeathTestThreadWarning(size_t thread_count) { argument
174 if (thread_count == 0)
177 msg << "detected " << thread_count << " threads."; local
739 const size_t thread_count = GetThreadCount(); local
740 if (thread_count != 1) {
741 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
H A Dgtest-port.cc82 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);
/external/opencv/cv/src/
H A Dcvdistransform.cpp456 int thread_count = cvGetNumThreads(); local
471 // sqr_tab: 2*m, sat_tab: 3*m + 1, d: m*thread_count,
472 pass1_sz = src->rows*(5 + thread_count) + 1;
474 // sqr_tab & inv_tab: n each; f & v: n*thread_count each; z: (n+1)*thread_count
475 pass2_sz = src->cols*(2 + thread_count*3) + thread_count;
497 #pragma omp parallel for num_threads(thread_count)
535 #pragma omp parallel for num_threads(thread_count) schedule(dynamic)
/external/mesa3d/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/llvm/utils/unittest/googletest/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
789 const size_t thread_count = GetThreadCount(); local
790 if (thread_count != 1) {
791 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/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)
/external/lldb/source/Plugins/Process/POSIX/
H A DProcessPOSIX.cpp275 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;
[all...]
/external/lldb/tools/darwin-threads/
H A Dexamine-threads.c385 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/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/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/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/chromium_org/v8/tools/
H A Dgrokdump.py454 ("thread_count", ctypes.c_uint32),
455 ("threads", lambda t: MINIDUMP_THREAD.ctype * t.thread_count)
/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/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++) {

Completed in 540 milliseconds

12