/external/clang/test/OpenMP/ |
H A D | parallel_num_threads_messages.cpp | 14 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}} 15 #pragma omp parallel num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 16 #pragma omp parallel num_threads () // expected-error {{expected expression}} 17 #pragma omp parallel num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp parallel num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel' are ignored}} 19 #pragma omp parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 20 #pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads ( [all...] |
H A D | parallel_sections_num_threads_messages.cpp | 14 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} 16 #pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} 20 #pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 22 #pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 24 #pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 26 #pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads ( [all...] |
H A D | parallel_for_num_threads_messages.cpp | 15 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} 17 #pragma omp parallel for num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 19 #pragma omp parallel for num_threads () // expected-error {{expected expression}} 21 #pragma omp parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 23 #pragma omp parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel for' are ignored}} 25 #pragma omp parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 27 #pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads ( [all...] |
/external/compiler-rt/test/lsan/TestCases/ |
H A D | high_allocator_contention.cc | 10 int num_threads; variable 23 for (int i = 0; i < total_num_alloc / num_threads; i++) { 33 num_threads = atoi(argv[1]); 34 assert(num_threads > 0); 35 assert(num_threads <= kMaxNumThreads); 38 printf("%d threads, %d allocations in each\n", num_threads, 39 total_num_alloc / num_threads); 40 for (int i = 0; i < num_threads; i++) 46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | thread_lister.h | 45 int num_threads, 76 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids);
|
H A D | linuxthreads.cc | 252 int proc = -1, marker = -1, num_threads = 0; local 351 sig_num_threads = num_threads; 404 for (i = 0; i < num_threads; i++) { 415 if (num_threads >= max_threads) { 422 pids[num_threads++] = pid; 423 sig_num_threads = num_threads; 433 num_threads--; 434 sig_num_threads = num_threads; 440 num_threads--; 441 sig_num_threads = num_threads; 654 ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | thread_lister.h | 45 int num_threads, 76 int ResumeAllProcessThreads(int num_threads, pid_t *thread_pids);
|
H A D | linuxthreads.cc | 252 int proc = -1, marker = -1, num_threads = 0; local 351 sig_num_threads = num_threads; 404 for (i = 0; i < num_threads; i++) { 415 if (num_threads >= max_threads) { 422 pids[num_threads++] = pid; 423 sig_num_threads = num_threads; 433 num_threads--; 434 sig_num_threads = num_threads; 440 num_threads--; 441 sig_num_threads = num_threads; 654 ResumeAllProcessThreads(int num_threads, pid_t *thread_pids) argument [all...] |
/external/valgrind/main/drd/tests/ |
H A D | omp_printf.c | 27 int num_threads = 2; local 36 case 't': num_threads = atoi(optarg); break; 47 assert(num_threads > 0); 49 omp_set_num_threads(num_threads);
|
H A D | omp_prime.c | 42 int num_threads = 2; local 55 num_threads = atoi(optarg); 76 assert(num_threads >= 1); 81 omp_set_num_threads(num_threads);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | profiler_unittest.cc | 35 // the num_threads argument to this program is ingored). 83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]); 85 fprintf(stderr, " num_threads: how many concurrent threads.\n"); 95 int num_threads = 1; local 98 num_threads = atoi(argv[2]); 113 RunManyThreads(test_other_thread, num_threads); 118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | profiler_unittest.cc | 35 // the num_threads argument to this program is ingored). 83 fprintf(stderr, "USAGE: %s <iters> [num_threads] [filename]\n", argv[0]); 85 fprintf(stderr, " num_threads: how many concurrent threads.\n"); 95 int num_threads = 1; local 98 num_threads = atoi(argv[2]); 113 RunManyThreads(test_other_thread, num_threads); 118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork
|
/external/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachThreadList.cpp | 104 const size_t num_threads = m_threads.size(); local 105 for (size_t idx = 0; idx < num_threads; ++idx) 121 const size_t num_threads = m_threads.size(); local 122 for (size_t idx = 0; idx < num_threads; ++idx) 138 const size_t num_threads = m_threads.size(); local 139 for (size_t idx = 0; idx < num_threads; ++idx) 154 const size_t num_threads = m_threads.size(); local 155 for (size_t idx = 0; idx < num_threads; ++idx) 344 const uint32_t num_threads = m_threads.size(); local 345 for (uint32_t idx = 0; idx < num_threads; 361 const uint32_t num_threads = m_threads.size(); local 407 const uint32_t num_threads = m_threads.size(); local 452 const uint32_t num_threads = UpdateThreadList(process, true); local 476 const uint32_t num_threads = m_threads.size(); local 489 const uint32_t num_threads = m_threads.size(); local 502 const uint32_t num_threads = m_threads.size(); local 514 const uint32_t num_threads = m_threads.size(); local 530 const uint32_t num_threads = m_threads.size(); local 559 const uint32_t num_threads = m_threads.size(); local 588 const uint32_t num_threads = m_threads.size(); local 600 const uint32_t num_threads = m_threads.size(); local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | scratch_evaluate_preparer.cc | 42 int num_threads) { 43 ScratchEvaluatePreparer* preparers = new ScratchEvaluatePreparer[num_threads]; 46 for (int i = 0; i < num_threads; i++) { 40 Create( const Program &program, int num_threads) argument
|
H A D | compressed_row_jacobian_writer.h | 91 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads) { argument 92 return ScratchEvaluatePreparer::Create(*program_, num_threads);
|
H A D | scratch_evaluate_preparer.h | 49 // Create num_threads ScratchEvaluatePreparers. 51 int num_threads);
|
H A D | block_jacobian_writer.h | 61 BlockEvaluatePreparer* CreateEvaluatePreparers(int num_threads);
|
H A D | dynamic_compressed_row_jacobian_writer.h | 59 ScratchEvaluatePreparer* CreateEvaluatePreparers(int num_threads);
|
H A D | evaluator.h | 62 : num_threads(1), 67 int num_threads; member in struct:ceres::internal::Evaluator::Options 85 // The parallelism of the evaluator is controlled by num_threads; it 96 int num_threads,
|
/external/ceres-solver/include/ceres/ |
H A D | covariance.h | 211 num_threads(1), 318 int num_threads; member in struct:ceres::Covariance::Options
|
/external/lldb/test/functionalities/thread/thread_exit/ |
H A D | TestThreadExit.py | 73 num_threads = process.GetNumThreads() 75 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match at breakpoint 1.') 89 num_threads = process.GetNumThreads() 91 self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match at breakpoint 2.') 105 num_threads = process.GetNumThreads() 107 self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match at breakpoint 3.') 119 num_threads = process.GetNumThreads() 121 self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match at breakpoint 4.')
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
H A D | lp_screen.h | 52 unsigned num_threads; member in struct:llvmpipe_screen
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_screen.h | 52 unsigned num_threads; member in struct:llvmpipe_screen
|
/external/chromium_org/third_party/libxml/src/ |
H A D | testThreads.c | 100 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 108 for (i = 0; i < num_threads; i++) { 113 for (i = 0; i < num_threads; i++) { 121 for (i = 0; i < num_threads; i++) { 130 for (i = 0; i < num_threads; i++) 143 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 153 for (i = 0; i < num_threads; i++) { 158 for (i = 0; i < num_threads; i++) { 166 for (i = 0; i < num_threads; i++) { 177 for (i = 0; i < num_threads; [all...] |
H A D | testThreadsWin32.c | 89 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); local 98 for (i = 0; i < num_threads; i++) 104 for (i = 0; i < num_threads; i++) 116 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED) 119 for (i = 0; i < num_threads; i++) 131 for (i = 0; i < num_threads; i++) {
|