Lines Matching refs:tctx
159 ThreadContext *tctx; member
165 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in MaybeReportThreadLeak() local
166 if (tctx->detached || tctx->status != ThreadStatusFinished) in MaybeReportThreadLeak()
169 if (leaks[i].tctx->creation_stack_id == tctx->creation_stack_id) { in MaybeReportThreadLeak()
174 ThreadLeak leak = {tctx, 1}; in MaybeReportThreadLeak()
180 static void ReportIgnoresEnabled(ThreadContext *tctx, IgnoreSet *set) { in ReportIgnoresEnabled() argument
181 if (tctx->tid == 0) { in ReportIgnoresEnabled()
185 " created at:\n", tctx->tid, tctx->name); in ReportIgnoresEnabled()
186 PrintStack(SymbolizeStackId(tctx->creation_stack_id)); in ReportIgnoresEnabled()
201 ReportIgnoresEnabled(thr->tctx, &thr->mop_ignore_set); in ThreadCheckIgnore()
203 ReportIgnoresEnabled(thr->tctx, &thr->sync_ignore_set); in ThreadCheckIgnore()
220 rep.AddThread(leaks[i].tctx, true); in ThreadFinalize()
277 thr->tctx = (ThreadContext*)tr->GetThreadLocked(tid); in ThreadStart()
300 static bool FindThreadByUid(ThreadContextBase *tctx, void *arg) { in FindThreadByUid() argument
302 if (tctx->user_id == uid && tctx->status != ThreadStatusInvalid) { in FindThreadByUid()
303 tctx->user_id = 0; in FindThreadByUid()