/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());
|
/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();
|
/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);
|
/system/extras/simpleperf/ |
environment.cpp | 293 std::vector<pid_t> tids = GetThreadsInProcess(pid); local 294 for (auto& tid : tids) { 379 std::vector<pid_t> tids = GetThreadsInProcess(pid); local 380 if (tids.empty()) { 384 tid_set->insert(tids.begin(), tids.end());
|