/external/valgrind/main/drd/tests/ |
D | pth_create_chain.c | 16 int thread_count = *(int*)(p); in thread_func() local 17 if (thread_count > 0) in thread_func() 19 thread_count--; in thread_func() 21 s_arg[thread_count] = thread_count; in thread_func() 22 pthread_create(&s_thread[thread_count], 0, thread_func, in thread_func() 23 &s_arg[thread_count]); in thread_func() 25 std::cout << "created " << thread_count << "(" << s_thread[thread_count] in thread_func() 34 unsigned thread_count; in main() local 37 thread_count = argc > 1 ? atoi(argv[1]) : 50; in main() 38 assert(thread_count <= sizeof(s_thread) / sizeof(s_thread[0])); in main() [all …]
|
D | pth_broadcast.c | 114 int thread_count; in main() local 134 thread_count = argc > optind + 1 ? atoi(argv[optind + 1]) : 10; in main() 148 thread_vec = malloc(sizeof(struct cthread) * thread_count); in main() 149 for (p = thread_vec; p != thread_vec + thread_count; p++) in main() 161 csema_p(&sema, thread_count); in main() 170 for (i = 0; i < thread_count; i++) in main()
|
D | annotate_barrier.c | 30 unsigned thread_count; member 59 b->thread_count = count; in barrier_init() 79 if (__sync_add_and_fetch(&b->wait_count, 1) == b->thread_count) in barrier_wait() 81 __sync_sub_and_fetch(&b->wait_count, b->thread_count); in barrier_wait()
|
D | annotate_rwlock.c | 143 const int thread_count = 10; in main() local 144 pthread_t tid[thread_count]; in main() 148 for (i = 0; i < thread_count; i++) in main() 153 for (i = 0; i < thread_count; i++) in main()
|
/external/valgrind/main/helgrind/tests/ |
D | annotate_rwlock.c | 157 const int thread_count = 10; in main() local 158 pthread_t tid[thread_count]; in main() 162 for (i = 0; i < thread_count; i++) in main() 167 for (i = 0; i < thread_count; i++) in main()
|
/external/chromium/base/synchronization/ |
D | condition_variable_unittest.cc | 64 explicit WorkQueue(int thread_count); 119 bool ThreadSafeCheckShutdown(int thread_count); 474 WorkQueue::WorkQueue(int thread_count) in WorkQueue() argument 479 thread_count_(thread_count), in WorkQueue() 481 thread_handles_(new PlatformThreadHandle[thread_count]), in WorkQueue() 482 assignment_history_(thread_count), in WorkQueue() 483 completion_history_(thread_count), in WorkQueue() 559 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { in ThreadSafeCheckShutdown() argument 565 all_shutdown = (shutdown_task_count_ == thread_count); in ThreadSafeCheckShutdown()
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-death-test.cc | 131 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/llvm/utils/unittest/googletest/ |
D | gtest-death-test.cc | 170 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()
|
D | gtest-port.cc | 84 mach_msg_type_number_t thread_count; in GetThreadCount() local 86 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount() 92 sizeof(thread_t) * thread_count); in GetThreadCount() 93 return static_cast<size_t>(thread_count); in GetThreadCount()
|
/external/protobuf/gtest/src/ |
D | gtest-death-test.cc | 170 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()
|
D | gtest-port.cc | 82 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/chromium/testing/gtest/src/ |
D | gtest-port.cc | 86 mach_msg_type_number_t thread_count; in GetThreadCount() local 88 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount() 94 sizeof(thread_t) * thread_count); in GetThreadCount() 95 return static_cast<size_t>(thread_count); in GetThreadCount()
|
D | gtest-death-test.cc | 179 static String DeathTestThreadWarning(size_t thread_count) { in DeathTestThreadWarning() argument 183 if (thread_count == 0) in DeathTestThreadWarning() 186 msg << "detected " << thread_count << " threads."; in DeathTestThreadWarning() 787 const size_t thread_count = GetThreadCount(); in AssumeRole() local 788 if (thread_count != 1) { in AssumeRole() 789 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); in AssumeRole()
|
/external/gtest/src/ |
D | gtest-death-test.cc | 170 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()
|
/external/opencv/cv/src/ |
D | cvdistransform.cpp | 456 int thread_count = cvGetNumThreads(); in icvTrueDistTrans() local 472 pass1_sz = src->rows*(5 + thread_count) + 1; in icvTrueDistTrans() 475 pass2_sz = src->cols*(2 + thread_count*3) + thread_count; in icvTrueDistTrans() 497 #pragma omp parallel for num_threads(thread_count) in icvTrueDistTrans() 535 #pragma omp parallel for num_threads(thread_count) schedule(dynamic) in icvTrueDistTrans()
|
/external/v8/tools/ |
D | grokdump.py | 269 ("threads", lambda t: MINIDUMP_THREAD.ctype * t.thread_count)
|