Lines Matching refs:CTX
97 new(thr) ThreadState(CTX(), tid, unique_id, in OnStarted()
149 StatAggregate(CTX()->stat, thr->stat); in OnFinished()
163 OutputReport(CTX(), rep); in MaybeReportThreadLeak()
170 ThreadRegistryLock l(CTX()->thread_registry); in ThreadFinalize()
171 CTX()->thread_registry->RunCallbackForEachThreadLocked( in ThreadFinalize()
177 Context *ctx = CTX(); in ThreadCount()
186 Context *ctx = CTX(); in ThreadCreate()
222 CTX()->thread_registry->StartThread(tid, os_id, &args); in ThreadStart()
233 Context *ctx = CTX(); in ThreadFinish()
248 Context *ctx = CTX(); in ThreadTid()
259 Context *ctx = CTX(); in ThreadJoin()
267 Context *ctx = CTX(); in ThreadDetach()
273 CTX()->thread_registry->SetThreadName(thr->tid, name); in ThreadSetName()