Lines Matching refs:tctx
147 ThreadContext *tctx; member
153 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in MaybeReportThreadLeak() local
154 if (tctx->detached || tctx->status != ThreadStatusFinished) in MaybeReportThreadLeak()
157 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { in MaybeReportThreadLeak()
162 ThreadLeak leak = {tctx, 1}; in MaybeReportThreadLeak()
168 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { in ReportIgnoresEnabled() argument
169 if (tctx->tid == 0) { in ReportIgnoresEnabled()
173 " created at:\n", tctx->tid, tctx->name); in ReportIgnoresEnabled()
174 PrintStack(SymbolizeStackId(tctx->creation_stack_id)); in ReportIgnoresEnabled()
189 ReportIgnoresEnabled(thr->tctx, &thr->mop_ignore_set); in ThreadCheckIgnore()
191 ReportIgnoresEnabled(thr->tctx, &thr->sync_ignore_set); in ThreadCheckIgnore()
208 rep.AddThread(leaks[i].tctx, true); in ThreadFinalize()
265 thr->tctx = (ThreadContext*)tr->GetThreadLocked(tid); in ThreadStart()
288 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid() argument
290 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) { in FindThreadByUid()
291 tctx->user_id = 0; in FindThreadByUid()