/external/llvm-project/openmp/runtime/test/worksharing/for/ |
D | omp_for_schedule_static_3.c | 22 int * tids; in test_omp_for_schedule_static_3() local 34 tids = (int *) malloc (sizeof (int) * (CFSMAX_SIZE + 1)); in test_omp_for_schedule_static_3() 38 #pragma omp parallel shared(tids,counter) in test_omp_for_schedule_static_3() 53 tids[CFSMAX_SIZE] = -1; /* setting endflag */ in test_omp_for_schedule_static_3() 55 #pragma omp parallel shared(tids) in test_omp_for_schedule_static_3() 84 tids[j] = tid; in test_omp_for_schedule_static_3() 96 lasttid = tids[0]; in test_omp_for_schedule_static_3() 102 if (tids[i] == lasttid) { in test_omp_for_schedule_static_3() 105 fprintf (stderr, "%d: %d \n", i, tids[i]); in test_omp_for_schedule_static_3() 113 if (tids[i] == (lasttid + 1) % threads || tids[i] == -1) { in test_omp_for_schedule_static_3() [all …]
|
D | omp_for_schedule_static.c | 19 int * tids; in test_omp_for_schedule_static() local 29 tids = (int *) malloc (sizeof (int) * (CFSMAX_SIZE + 1)); in test_omp_for_schedule_static() 33 #pragma omp parallel shared(tids,counter) in test_omp_for_schedule_static() 47 tids[CFSMAX_SIZE] = -1; /* setting endflag */ in test_omp_for_schedule_static() 48 #pragma omp parallel shared(tids) in test_omp_for_schedule_static() 77 tids[j] = tid; in test_omp_for_schedule_static() 88 lasttid = tids[0]; in test_omp_for_schedule_static() 93 if (tids[i] == lasttid) { in test_omp_for_schedule_static() 96 fprintf (stderr, "%d: %d \n", i, tids[i]); in test_omp_for_schedule_static() 104 if (tids[i] == (lasttid + 1) % threads || tids[i] == -1) { in test_omp_for_schedule_static() [all …]
|
D | omp_for_schedule_guided.c | 34 int * tids; in test_omp_for_schedule_guided() local 42 tids = (int *) malloc (sizeof (int) * (CFSMAX_SIZE + 1)); in test_omp_for_schedule_guided() 65 #pragma omp parallel shared(tids,maxiter) in test_omp_for_schedule_guided() 97 tids[j] = tid; in test_omp_for_schedule_guided() 111 int last_threadnr = tids[0]; in test_omp_for_schedule_guided() 121 tids[CFSMAX_SIZE] = -1; in test_omp_for_schedule_guided() 128 if (last_threadnr==tids[i]) { in test_omp_for_schedule_guided() 135 last_threadnr = tids[i]; in test_omp_for_schedule_guided() 147 last_threadnr = tids[0]; in test_omp_for_schedule_guided() 154 if (last_threadnr == tids[i]) { in test_omp_for_schedule_guided() [all …]
|
D | omp_for_schedule_dynamic.c | 21 int *tids; in test_omp_for_schedule_dynamic() local 29 tids = tidsArray; in test_omp_for_schedule_dynamic() 31 #pragma omp parallel private(tid) shared(tids) in test_omp_for_schedule_dynamic() 37 tids[i] = tid; in test_omp_for_schedule_dynamic() 42 if (tids[i] != tids[i + 1]) { in test_omp_for_schedule_dynamic() 55 if (tids[i] != tids[i + 1]) { in test_omp_for_schedule_dynamic()
|
/external/llvm-project/openmp/runtime/test/tasking/ |
D | omp_taskloop_grainsize.c | 26 int *tmp, *tids, *tidsArray; in test_omp_taskloop_grainsize() local 29 tids = tidsArray; in test_omp_taskloop_grainsize() 36 tids[i] = -1; in test_omp_taskloop_grainsize() 39 #pragma omp parallel shared(tids) in test_omp_taskloop_grainsize() 44 tids[i] = omp_get_thread_num(); in test_omp_taskloop_grainsize() 49 if (tids[i] == -1) { in test_omp_taskloop_grainsize() 56 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_grainsize() 70 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_grainsize()
|
D | omp_taskloop_num_tasks.c | 29 int *tids; in test_omp_taskloop_num_tasks() local 38 tids = tidsArray; in test_omp_taskloop_num_tasks() 40 #pragma omp parallel shared(tids) in test_omp_taskloop_num_tasks() 46 tids[i] = omp_get_thread_num(); in test_omp_taskloop_num_tasks() 51 if (tids[i] != tids[i + 1]) { in test_omp_taskloop_num_tasks()
|
D | omp_task.c | 9 int tids[NUM_TASKS]; in test_omp_task() local 27 tids[myi] = omp_get_thread_num(); in test_omp_task() 35 if (tids[0] != tids[i]) in test_omp_task()
|
D | omp_task_final.c | 9 int tids[NUM_TASKS]; in test_omp_task_final() local 28 tids[myi] = omp_get_thread_num(); in test_omp_task_final() 46 if (tids[i] != includedtids[i]) { in test_omp_task_final()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | parsed_trace_events.py | 53 self.tids = None 78 if self.tids: 79 return self.tids 80 tids = set() 83 tids.add(e["tid"]) 84 self.tids = list(tids) 85 return self.tids
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
D | fpu_signal.c | 79 pthread_t *tids; in test_signal_fpu() local 82 tids = malloc(threads * sizeof(pthread_t)); in test_signal_fpu() 83 FAIL_IF(!tids); in test_signal_fpu() 88 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); in test_signal_fpu() 101 pthread_kill(tids[j], SIGUSR1); in test_signal_fpu() 110 pthread_join(tids[i], &rc_p); in test_signal_fpu() 124 free(tids); in test_signal_fpu()
|
D | fpu_preempt.c | 58 pthread_t *tids; in test_preempt_fpu() local 61 tids = malloc((threads) * sizeof(pthread_t)); in test_preempt_fpu() 62 FAIL_IF(!tids); in test_preempt_fpu() 67 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); in test_preempt_fpu() 90 pthread_join(tids[i], &rc_p); in test_preempt_fpu() 102 free(tids); in test_preempt_fpu()
|
D | vmx_signal.c | 97 pthread_t *tids; in test_signal_vmx() local 100 tids = malloc(threads * sizeof(pthread_t)); in test_signal_vmx() 101 FAIL_IF(!tids); in test_signal_vmx() 106 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); in test_signal_vmx() 122 pthread_kill(tids[j], SIGUSR1); in test_signal_vmx() 131 pthread_join(tids[i], &rc_p); in test_signal_vmx() 145 free(tids); in test_signal_vmx()
|
D | vmx_preempt.c | 58 pthread_t *tids; in test_preempt_vmx() local 61 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vmx() 62 FAIL_IF(!tids); in test_preempt_vmx() 67 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); in test_preempt_vmx() 90 pthread_join(tids[i], &rc_p); in test_preempt_vmx()
|
D | vsx_preempt.c | 93 pthread_t *tids; in test_preempt_vsx() local 96 tids = malloc(threads * sizeof(pthread_t)); in test_preempt_vsx() 97 FAIL_IF(!tids); in test_preempt_vsx() 102 rc = pthread_create(&tids[i], NULL, preempt_vsx_c, NULL); in test_preempt_vsx() 125 pthread_join(tids[i], &rc_p); in test_preempt_vsx()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
D | 2-1.c | 37 timer_t *tids; in main() local 49 tids = malloc(max * sizeof(timer_t)); in main() 50 if (tids == NULL) { in main() 65 tids[i] = tid; in main() 66 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) { in main()
|
/external/libchrome/base/ |
D | linux_util.cc | 78 bool GetTasksForProcess(pid_t pid, std::vector<pid_t>* tids) { in GetTasksForProcess() argument 94 tids->push_back(tid_ul); in GetTasksForProcess() 163 std::vector<pid_t> tids; in FindThreadIDWithSyscall() local 164 if (!GetTasksForProcess(pid, &tids)) in FindThreadIDWithSyscall() 168 for (pid_t tid : tids) { in FindThreadIDWithSyscall() 193 std::vector<pid_t> tids; in FindThreadID() local 194 if (!GetTasksForProcess(pid, &tids)) in FindThreadID() 197 for (pid_t tid : tids) { in FindThreadID()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | halt_on_error-torture.cpp | 58 pthread_t *tids = new pthread_t[nthreads]; in main() local 61 if (0 != pthread_create(&tids[i], 0, run, (void *)i)) { in main() 68 if (0 != pthread_join(tids[i], 0)) { in main() 77 delete [] tids; in main()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | halt_on_error-torture.cc | 64 pthread_t *tids = new pthread_t[nthreads]; in main() local 67 if (0 != pthread_create(&tids[i], 0, run, (void *)i)) { in main() 74 if (0 != pthread_join(tids[i], 0)) { in main() 84 delete [] tids; in main()
|
/external/abseil-cpp/absl/base/internal/ |
D | sysinfo_test.cc | 68 std::unordered_set<pid_t> tids; in TEST() local 75 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 76 tids.insert(id); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | sysinfo_test.cc | 68 std::unordered_set<pid_t> tids; in TEST() local 75 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 76 tids.insert(id); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | sysinfo_test.cc | 68 std::unordered_set<pid_t> tids; in TEST() local 75 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 76 tids.insert(id); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | sysinfo_test.cc | 68 std::unordered_set<pid_t> tids; in TEST() local 75 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 76 tids.insert(id); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | sysinfo_test.cc | 68 std::unordered_set<pid_t> tids; in TEST() local 75 ASSERT_TRUE(tids.find(id) == tids.end()); in TEST() 76 tids.insert(id); in TEST()
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectThreadUtil.cpp | 42 std::vector<lldb::tid_t> tids; in DoExecute() local 48 tids.push_back(thread_sp->GetID()); in DoExecute() 75 tids.push_back(thread->GetID()); in DoExecute() 82 for (const lldb::tid_t &tid : tids) { in DoExecute() 111 for (const lldb::tid_t &tid : tids) { in DoExecute()
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 64 static int *tids; variable 208 tids = malloc(sizeof(int) * numcpus); in main_thread() 209 if (!tids) { in main_thread() 213 memset(tids, 0, numcpus); in main_thread() 259 tids[j] = create_fifo_thread(concurrent_thread, NULL, PRIO); in main_thread() 260 if (tids[j] == -1) { in main_thread()
|