/external/clang/test/OpenMP/ |
D | parallel_num_threads_messages.cpp | 14 #pragma omp parallel num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 15 …#pragma omp parallel num_threads ( // expected-error {{expected expression}} expected-error {{expe… in tmain() 16 #pragma omp parallel num_threads () // expected-error {{expected expression}} in tmain() 17 …#pragma omp parallel num_threads (argc // expected-error {{expected ')'}} expected-note {{to match… in tmain() 18 …#pragma omp parallel num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma… in tmain() 19 …#pragma omp parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression… in tmain() 20 …#pragma omp parallel num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected… in tmain() 21 #pragma omp parallel num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 22 …#pragma omp parallel num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to… in tmain() 23 #pragma omp parallel num_threads (argc) in tmain() [all …]
|
D | parallel_sections_num_threads_messages.cpp | 14 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 16 …#pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-err… in tmain() 18 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} in tmain() 20 …#pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {… in tmain() 22 …#pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of… in tmain() 24 …#pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{e… in tmain() 26 …#pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) //… in tmain() 28 #pragma omp parallel sections num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 30 …#pragma omp parallel sections num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-… in tmain() 32 #pragma omp parallel sections num_threads (argc) in tmain() [all …]
|
D | parallel_for_num_threads_messages.cpp | 15 #pragma omp parallel for num_threads // expected-error {{expected '(' after 'num_threads'}} in tmain() 17 …#pragma omp parallel for num_threads ( // expected-error {{expected expression}} expected-error {{… in tmain() 19 #pragma omp parallel for num_threads () // expected-error {{expected expression}} in tmain() 21 …#pragma omp parallel for num_threads (argc // expected-error {{expected ')'}} expected-note {{to m… in tmain() 23 …#pragma omp parallel for num_threads (argc)) // expected-warning {{extra tokens at the end of '#pr… in tmain() 25 …#pragma omp parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expres… in tmain() 27 …#pragma omp parallel for num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expe… in tmain() 29 #pragma omp parallel for num_threads (S) // expected-error {{'S' does not refer to a value}} in tmain() 31 …#pragma omp parallel for num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note … in tmain() 33 #pragma omp parallel for num_threads (argc) in tmain() [all …]
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachThreadList.cpp | 104 const size_t num_threads = m_threads.size(); in GetThreadByID() local 105 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadByID() 121 const size_t num_threads = m_threads.size(); in GetThreadByMachPortNumber() local 122 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadByMachPortNumber() 138 const size_t num_threads = m_threads.size(); in GetThreadIDByMachPortNumber() local 139 for (size_t idx = 0; idx < num_threads; ++idx) in GetThreadIDByMachPortNumber() 154 const size_t num_threads = m_threads.size(); in GetMachPortNumberByThreadID() local 155 for (size_t idx = 0; idx < num_threads; ++idx) in GetMachPortNumberByThreadID() 344 const uint32_t num_threads = m_threads.size(); in CurrentThread() local 345 for (uint32_t idx = 0; idx < num_threads; ++idx) in CurrentThread() [all …]
|
/external/compiler-rt/test/lsan/TestCases/ |
D | high_allocator_contention.cc | 10 int num_threads; variable 23 for (int i = 0; i < total_num_alloc / num_threads; i++) { in thread_fun() 33 num_threads = atoi(argv[1]); in main() 34 assert(num_threads > 0); in main() 35 assert(num_threads <= kMaxNumThreads); in main() 38 printf("%d threads, %d allocations in each\n", num_threads, in main() 39 total_num_alloc / num_threads); in main() 40 for (int i = 0; i < num_threads; i++) in main() 46 for (int i = 0; i < num_threads; i++) pthread_join(tid[i], 0); in main()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
D | linuxthreads.cc | 252 int proc = -1, marker = -1, num_threads = 0; in ListerThread() local 351 sig_num_threads = num_threads; in ListerThread() 404 for (i = 0; i < num_threads; i++) { in ListerThread() 415 if (num_threads >= max_threads) { in ListerThread() 422 pids[num_threads++] = pid; in ListerThread() 423 sig_num_threads = num_threads; in ListerThread() 433 num_threads--; in ListerThread() 434 sig_num_threads = num_threads; in ListerThread() 440 num_threads--; in ListerThread() 441 sig_num_threads = num_threads; in ListerThread() [all …]
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
D | linuxthreads.cc | 252 int proc = -1, marker = -1, num_threads = 0; in ListerThread() local 351 sig_num_threads = num_threads; in ListerThread() 404 for (i = 0; i < num_threads; i++) { in ListerThread() 415 if (num_threads >= max_threads) { in ListerThread() 422 pids[num_threads++] = pid; in ListerThread() 423 sig_num_threads = num_threads; in ListerThread() 433 num_threads--; in ListerThread() 434 sig_num_threads = num_threads; in ListerThread() 440 num_threads--; in ListerThread() 441 sig_num_threads = num_threads; in ListerThread() [all …]
|
/external/chromium_org/third_party/libxml/src/ |
D | testThreads.c | 100 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); in main() local 108 for (i = 0; i < num_threads; i++) { in main() 113 for (i = 0; i < num_threads; i++) { in main() 121 for (i = 0; i < num_threads; i++) { in main() 130 for (i = 0; i < num_threads; i++) in main() 143 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); in main() local 153 for (i = 0; i < num_threads; i++) { in main() 158 for (i = 0; i < num_threads; i++) { in main() 166 for (i = 0; i < num_threads; i++) { in main() 177 for (i = 0; i < num_threads; i++) in main()
|
D | testThreadsWin32.c | 89 unsigned int num_threads = sizeof(testfiles) / sizeof(testfiles[0]); in main() local 98 for (i = 0; i < num_threads; i++) in main() 104 for (i = 0; i < num_threads; i++) in main() 116 if (WaitForMultipleObjects (num_threads, tid, TRUE, INFINITE) == WAIT_FAILED) in main() 119 for (i = 0; i < num_threads; i++) in main() 131 for (i = 0; i < num_threads; i++) { in main()
|
/external/lldb/test/functionalities/thread/thread_exit/ |
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 b… 89 num_threads = process.GetNumThreads() 91 …self.assertTrue(num_threads == 3, 'Number of expected threads and actual threads do not match at b… 105 num_threads = process.GetNumThreads() 107 …self.assertTrue(num_threads == 2, 'Number of expected threads and actual threads do not match at b… 119 num_threads = process.GetNumThreads() 121 …self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match at b…
|
/external/ceres-solver/internal/ceres/ |
D | program_evaluator.h | 117 jacobian_writer_.CreateEvaluatePreparers(options.num_threads)) { in ProgramEvaluator() 119 CHECK_EQ(1, options_.num_threads) in ProgramEvaluator() 126 options.num_threads)); in ProgramEvaluator() 160 for (int i = 0; i < options_.num_threads; ++i) { in Evaluate() 173 #pragma omp parallel for num_threads(options_.num_threads) in Evaluate() 263 for (int i = 0; i < options_.num_threads; ++i) { in Evaluate() 348 int num_threads) { in CreateEvaluatorScratch() argument 357 EvaluateScratch* evaluate_scratch = new EvaluateScratch[num_threads]; in CreateEvaluatorScratch() 358 for (int i = 0; i < num_threads; i++) { in CreateEvaluatorScratch()
|
D | scratch_evaluate_preparer.cc | 42 int num_threads) { in Create() argument 43 ScratchEvaluatePreparer* preparers = new ScratchEvaluatePreparer[num_threads]; in Create() 46 for (int i = 0; i < num_threads; i++) { in Create()
|
D | coordinate_descent_minimizer.cc | 116 evaluator_options_.num_threads = 1; in Init() 133 new LinearSolver*[options.num_threads]); in Minimize() 138 for (int i = 0; i < options.num_threads; ++i) { in Minimize() 151 #pragma omp parallel for num_threads(options.num_threads) in Minimize() 197 for (int i = 0; i < options.num_threads; ++i) { in Minimize()
|
D | evaluator.h | 62 : num_threads(1), in Options() 67 int num_threads; member 96 int num_threads,
|
D | covariance_impl.cc | 82 evaluate_options_.num_threads = options.num_threads; in CovarianceImpl() 522 const int num_threads = options_.num_threads; in ComputeCovarianceValuesUsingSuiteSparseQR() local 523 scoped_array<double> workspace(new double[num_threads * num_cols]); in ComputeCovarianceValuesUsingSuiteSparseQR() 525 #pragma omp parallel for num_threads(num_threads) schedule(dynamic) in ComputeCovarianceValuesUsingSuiteSparseQR() 711 const int num_threads = options_.num_threads; in ComputeCovarianceValuesUsingEigenSparseQR() local 712 scoped_array<double> workspace(new double[num_threads * num_cols]); in ComputeCovarianceValuesUsingEigenSparseQR() 714 #pragma omp parallel for num_threads(num_threads) schedule(dynamic) in ComputeCovarianceValuesUsingEigenSparseQR()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | profiler_unittest.cc | 95 int num_threads = 1; in main() local 98 num_threads = atoi(argv[2]); in main() 113 RunManyThreads(test_other_thread, num_threads); in main() 118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork in main()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | profiler_unittest.cc | 95 int num_threads = 1; in main() local 98 num_threads = atoi(argv[2]); in main() 113 RunManyThreads(test_other_thread, num_threads); in main() 118 for (; num_threads < 0; ++num_threads) { // -<num_threads> to fork in main()
|
/external/valgrind/main/drd/tests/ |
D | omp_printf.c | 27 int num_threads = 2; in main() local 36 case 't': num_threads = atoi(optarg); break; in main() 47 assert(num_threads > 0); in main() 49 omp_set_num_threads(num_threads); in main()
|
D | omp_prime.c | 42 int num_threads = 2; in main() local 55 num_threads = atoi(optarg); in main() 76 assert(num_threads >= 1); in main() 81 omp_set_num_threads(num_threads); in main()
|
/external/lldb/test/functionalities/thread/state/ |
D | TestThreadStates.py | 117 num_threads = process.GetNumThreads() 119 … self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.') 158 num_threads = process.GetNumThreads() 160 … self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.') 207 num_threads = process.GetNumThreads() 209 … self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.') 251 num_threads = process.GetNumThreads() 253 … self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.') 306 num_threads = process.GetNumThreads() 308 … self.assertTrue(num_threads == 1, 'Number of expected threads and actual threads do not match.')
|
/external/lldb/source/Target/ |
D | ThreadList.cpp | 120 const uint32_t num_threads = m_threads.size(); in FindThreadByID() local 121 for (idx = 0; idx < num_threads; ++idx) in FindThreadByID() 142 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID() local 143 for (idx = 0; idx < num_threads; ++idx) in FindThreadByProtocolID() 165 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID() local 166 for (idx = 0; idx < num_threads; ++idx) in RemoveThreadByID() 188 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID() local 189 for (idx = 0; idx < num_threads; ++idx) in RemoveThreadByProtocolID() 210 const uint32_t num_threads = m_threads.size(); in GetThreadSPForThreadPtr() local 211 for (idx = 0; idx < num_threads; ++idx) in GetThreadSPForThreadPtr() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | codec.h | 291 num_threads(kDefaultMaxThreads), in VideoEncoderConfig() 297 num_threads(kDefaultMaxThreads), in VideoEncoderConfig() 303 num_threads(t), in VideoEncoderConfig() 309 num_threads = config.num_threads; 316 num_threads == config.num_threads && 325 int num_threads; member
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 487 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; in llvmpipe_create_screen() 489 screen->num_threads = 0; in llvmpipe_create_screen() 491 screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads); in llvmpipe_create_screen() 492 screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS); in llvmpipe_create_screen() 494 screen->rast = lp_rast_create(screen->num_threads); in llvmpipe_create_screen()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_screen.c | 487 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; in llvmpipe_create_screen() 489 screen->num_threads = 0; in llvmpipe_create_screen() 491 screen->num_threads = debug_get_num_option("LP_NUM_THREADS", screen->num_threads); in llvmpipe_create_screen() 492 screen->num_threads = MIN2(screen->num_threads, LP_MAX_THREADS); in llvmpipe_create_screen() 494 screen->rast = lp_rast_create(screen->num_threads); in llvmpipe_create_screen()
|
/external/libcxx/test/ |
D | runtests.py | 98 def run_tests(tests, num_threads): argument 100 pool = multiprocessing.Pool(num_threads) 151 num_threads = multiprocessing.cpu_count() * 2 154 num_threads = int(arg) 169 results = run_tests(tests, num_threads)
|