Lines Matching refs:tid
68 pid_t tid; member
199 void VerifyThreadTest(pid_t tid, void (*VerifyFunc)(Backtrace*)) { in VerifyThreadTest() argument
200 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), tid)); in VerifyThreadTest()
292 void VerifyProcTest(pid_t pid, pid_t tid, bool share_map, in VerifyProcTest() argument
296 if (tid < 0) { in VerifyProcTest()
299 ptrace_tid = tid; in VerifyProcTest()
314 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(pid, tid, map.get())); in VerifyProcTest()
412 pid_t tid = strtoul(entry->d_name, &end, 10); in GetThreads() local
414 threads->push_back(tid); in GetThreads()
489 thread->tid = gettid(); in ThreadLevelRun()
516 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
555 std::unique_ptr<Backtrace> all(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
559 std::unique_ptr<Backtrace> ign1(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
563 std::unique_ptr<Backtrace> ign2(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
576 thread->tid = gettid(); in ThreadMaxRun()
593 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
612 dump->backtrace = Backtrace::Create(getpid(), dump->thread.tid); in ThreadDump()
630 runners[i].tid = 0; in TEST()
644 dumpers[i].thread.tid = runners[i].tid; in TEST()
674 runner.tid = 0; in TEST()
687 dumpers[i].thread.tid = runner.tid; in TEST()
914 thread_data->tid = gettid(); in ThreadReadTest()
1000 std::unique_ptr<Backtrace> backtrace(Backtrace::Create(getpid(), thread_data.tid)); in TEST()
1383 void CheckForLeak(pid_t pid, pid_t tid) { in CheckForLeak() argument
1386 Backtrace* backtrace = Backtrace::Create(pid, tid); in CheckForLeak()
1396 Backtrace* backtrace = Backtrace::Create(pid, tid); in CheckForLeak()
1420 CheckForLeak(BACKTRACE_CURRENT_PROCESS, thread_data.tid); in TEST()