/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_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++)
|
annotate_barrier.c | 30 unsigned thread_count; member in struct:__anon14073 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);
|
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++)
|
/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++)
|
/external/chromium/base/synchronization/ |
condition_variable_unittest.cc | 64 explicit WorkQueue(int thread_count); 116 // Compares the |shutdown_task_count_| to the |thread_count| and returns true 119 bool ThreadSafeCheckShutdown(int thread_count); 474 WorkQueue::WorkQueue(int thread_count) 479 thread_count_(thread_count), 481 thread_handles_(new PlatformThreadHandle[thread_count]), 482 assignment_history_(thread_count), 483 completion_history_(thread_count), 559 bool WorkQueue::ThreadSafeCheckShutdown(int thread_count) { 565 all_shutdown = (shutdown_task_count_ == thread_count); [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 130 // caller not to pass a thread_count of 1. 131 static String DeathTestThreadWarning(size_t thread_count) { 135 if (thread_count == 0) 138 msg << "detected " << thread_count << " threads."; local 453 const size_t thread_count = GetThreadCount(); local 454 if (thread_count != 1) { 455 GTEST_LOG(WARNING, DeathTestThreadWarning(thread_count));
|
/external/chromium/testing/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);
|
gtest-death-test.cc | 178 // caller not to pass a thread_count of 1. 179 static String DeathTestThreadWarning(size_t thread_count) { 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); [all...] |
/external/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);
|
gtest-death-test.cc | 178 // caller not to pass a thread_count of 1. 179 static String DeathTestThreadWarning(size_t thread_count) { 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); [all...] |
/external/llvm/utils/unittest/googletest/ |
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);
|
gtest-death-test.cc | 178 // caller not to pass a thread_count of 1. 179 static String DeathTestThreadWarning(size_t thread_count) { 183 if (thread_count == 0) 186 msg << "detected " << thread_count << " threads."; local 786 const size_t thread_count = GetThreadCount(); local 787 if (thread_count != 1) { 788 GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count); [all...] |
/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);
|
gtest-death-test.cc | 169 // caller not to pass a thread_count of 1. 170 static String DeathTestThreadWarning(size_t thread_count) { 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); [all...] |
/external/opencv/cv/src/ |
cvdistransform.cpp | 456 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)
|
/frameworks/compile/mclinker/utils/gtest/src/ |
gtest-all.cpp | [all...] |
/external/v8/tools/ |
grokdump.py | 343 ("thread_count", ctypes.c_uint32), 344 ("threads", lambda t: MINIDUMP_THREAD.ctype * t.thread_count) [all...] |