Lines Matching refs:ThreadContextBase
19 ThreadContextBase::ThreadContextBase(u32 tid) in ThreadContextBase() function in __sanitizer::ThreadContextBase
26 ThreadContextBase::~ThreadContextBase() { in ~ThreadContextBase()
31 void ThreadContextBase::SetName(const char *new_name) { in SetName()
39 void ThreadContextBase::SetDead() { in SetDead()
47 void ThreadContextBase::SetJoined(void *arg) { in SetJoined()
56 void ThreadContextBase::SetFinished() { in SetFinished()
62 void ThreadContextBase::SetStarted(uptr _os_id, void *arg) { in SetStarted()
68 void ThreadContextBase::SetCreated(uptr _user_id, u64 _unique_id, in SetCreated()
80 void ThreadContextBase::Reset() { in Reset()
102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()
125 ThreadContextBase *tctx = QuarantinePop(); in CreateThread()
161 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()
171 ThreadContextBase *tctx = threads_[tid]; in FindThread()
178 ThreadContextBase *
182 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()
189 static bool FindThreadContextByOsIdCallback(ThreadContextBase *tctx, in FindThreadContextByOsIdCallback()
195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) { in FindThreadContextByOsIDLocked()
203 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
212 ThreadContextBase *tctx = threads_[tid]; in SetThreadNameByUserId()
224 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
242 ThreadContextBase *tctx = threads_[tid]; in JoinThread()
259 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
273 ThreadContextBase *tctx = threads_[tid]; in StartThread()
279 void ThreadRegistry::QuarantinePush(ThreadContextBase *tctx) { in QuarantinePush()
295 ThreadContextBase *ThreadRegistry::QuarantinePop() { in QuarantinePop()
298 ThreadContextBase *tctx = invalid_threads_.front(); in QuarantinePop()