/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/ |
2-1.c | 37 timer_t *tids; local 49 tids = malloc(max * sizeof(timer_t)); 50 if (tids == NULL) { 65 tids[i] = tid; 66 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) { 73 printf("No duplicate tids found\n");
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
halt_on_error-torture.cc | 64 pthread_t *tids = new pthread_t[nthreads]; local 67 if (0 != pthread_create(&tids[i], 0, run, (void *)i)) { 74 if (0 != pthread_join(tids[i], 0)) { 84 delete [] tids;
|
/bionic/tests/ |
stack_protector_test.cpp | 39 std::set<pid_t> tids; member in struct:stack_protector_checker 49 ASSERT_TRUE(tids.find(tid) == tids.end()); 60 tids.insert(tid); 86 ASSERT_EQ(thread_count, checker.tids.size());
|
leak_test.cpp | 125 pid_t tids[thread_count]; local 127 thread_data* td = new thread_data{&barrier, &tids[i]}; 146 WaitUntilAllExited(tids, arraysize(tids));
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
fpu_preempt.c | 62 pthread_t *tids; local 65 tids = malloc((threads) * sizeof(pthread_t)); 66 FAIL_IF(!tids); 71 rc = pthread_create(&tids[i], NULL, preempt_fpu_c, NULL); 94 pthread_join(tids[i], &rc_p); 106 free(tids);
|
vmx_preempt.c | 62 pthread_t *tids; local 65 tids = malloc(threads * sizeof(pthread_t)); 66 FAIL_IF(!tids); 71 rc = pthread_create(&tids[i], NULL, preempt_vmx_c, NULL); 94 pthread_join(tids[i], &rc_p);
|
fpu_signal.c | 83 pthread_t *tids; local 86 tids = malloc(threads * sizeof(pthread_t)); 87 FAIL_IF(!tids); 92 rc = pthread_create(&tids[i], NULL, signal_fpu_c, NULL); 105 pthread_kill(tids[j], SIGUSR1); 114 pthread_join(tids[i], &rc_p); 128 free(tids);
|
vmx_signal.c | 101 pthread_t *tids; local 104 tids = malloc(threads * sizeof(pthread_t)); 105 FAIL_IF(!tids); 110 rc = pthread_create(&tids[i], NULL, signal_vmx_c, NULL); 126 pthread_kill(tids[j], SIGUSR1); 135 pthread_join(tids[i], &rc_p); 149 free(tids);
|
/system/core/libmemunreachable/tests/ |
ThreadCapture_test.cpp | 96 std::vector<pid_t>& tids() { function in class:ThreadListTest 104 auto tids = TidList{heap}; local 108 EXPECT_TRUE(thread_capture.ListThreads(tids)); 109 if (tids.size() == 1) { 114 EXPECT_EQ(1U, tids.size()); 147 std::vector<pid_t> expected_tids = tids();
|
/cts/hostsidetests/os/src/android/os/cts/ |
ProcfsHostTests.java | 115 int[] tids = lookForTidsInProcess(mTestAppPid); local 116 assertTrue("/proc/" + mTestAppPid + "/task/ includes < 2 threads", tids.length >= 2); 117 for (int tid : tids) { 216 int[] tids = new int[threads.length]; local 218 tids[i] = Integer.parseInt(threads[i]); 220 return tids;
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 187 std::vector<int> tids; local 189 tids.push_back( 192 args->registry->StartThread(tids[i], 0, (void*)args->shard); 194 args->registry->FinishThread(tids[i]); 196 args->registry->JoinThread(tids[i], (void*)args->shard);
|
/external/ltp/testcases/realtime/func/matrix_mult/ |
matrix_mult.c | 64 static int *tids; variable 208 tids = malloc(sizeof(int) * numcpus); 209 if (!tids) { 213 memset(tids, 0, numcpus); 259 tids[j] = create_fifo_thread(concurrent_thread, NULL, PRIO); 260 if (tids[j] == -1) {
|
/system/extras/simpleperf/ |
inplace_sampler_lib.cpp | 146 } else if (strcmp(key, "tids") == 0) { 218 std::vector<pid_t> tids = GetThreadsInProcess(getpid()); local 220 for (auto& tid : tids) {
|
cmd_stat.cpp | 514 std::set<pid_t> tids; local 515 if (!GetValidThreadsFromThreadString(args[i], &tids)) { 518 event_selection_set_.AddMonitoredThreads(tids);
|
event_selection_set.cpp | 369 std::vector<pid_t> tids = GetThreadsInProcess(pid); local 371 threads_in_process.insert(tids.begin(), tids.end());
|
cmd_record.cpp | 526 std::set<pid_t> tids; local 527 if (!GetValidThreadsFromThreadString(args[i], &tids)) { 530 event_selection_set_.AddMonitoredThreads(tids); 709 std::vector<pid_t> tids = GetThreadsInProcess(pid); local 710 dump_threads.insert(tids.begin(), tids.end()); [all...] |