Searched refs:ThreadContext (Results 1 – 13 of 13) sorted by relevance
30 void *mem = MmapOrDie(sizeof(ThreadContext), "ThreadContext"); in CreateThreadContext()31 return new(mem) ThreadContext(tid); in CreateThreadContext()51 ThreadContext::ThreadContext(int tid) in ThreadContext() function in __lsan::ThreadContext66 void ThreadContext::OnStarted(void *arg) { in OnStarted()76 void ThreadContext::OnFinished() { in OnFinished()101 ThreadContext *CurrentThreadContext() { in CurrentThreadContext()106 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()136 ThreadContext *context = static_cast<ThreadContext *>( in GetThreadRangesLocked()
22 class ThreadContext : public ThreadContextBase {24 explicit ThreadContext(int tid);49 ThreadContext *CurrentThreadContext();
41 ThreadContext *t; \
117 struct ThreadContext { struct119 SK_DECLARE_INST_COUNT_ROOT(ThreadContext);127 static ThreadContext* Get() { in Get() argument128 return reinterpret_cast<ThreadContext*>(SkTLS::Get(Create, Delete)); in Get()131 ThreadContext() in ThreadContext() function138 static void* Create() { return SkNEW(ThreadContext ); } in Create() argument139 static void Delete(void* context) { SkDELETE(reinterpret_cast<ThreadContext *>(context)); } in Delete() argument154 ThreadContext* ctx = ThreadContext::Get(); in nullGLGenBuffers()167 ThreadContext* ctx = ThreadContext::Get(); in nullGLBufferData()200 return ++ThreadContext::Get()->fCurrProgramID; in nullGLCreateProgram()[all …]
33 struct ThreadContext { struct45 ::scoped_ptr<ThreadContext> context(static_cast<ThreadContext*>(arg)); in ThreadMain()72 ::scoped_ptr<ThreadContext> context(new ThreadContext); in IrtThreadCreate()
25 ThreadContext::ThreadContext(int tid) in ThreadContext() function in __tsan::ThreadContext34 ThreadContext::~ThreadContext() { in ~ThreadContext()38 void ThreadContext::OnDead() { in OnDead()42 void ThreadContext::OnJoined(void *arg) { in OnJoined()53 void ThreadContext::OnCreated(void *arg) { in OnCreated()67 void ThreadContext::OnReset() { in OnReset()81 void ThreadContext::OnStarted(void *arg) { in OnStarted()124 void ThreadContext::OnFinished() { in OnFinished()148 ThreadContext *tctx;154 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in MaybeReportThreadLeak()[all …]
196 void ScopedReport::AddThread(const ThreadContext *tctx, bool suppressable) { in AddThread()216 static ThreadContext *FindThreadByUidLocked(int unique_id) { in FindThreadByUidLocked()219 ThreadContext *tctx = static_cast<ThreadContext*>( in FindThreadByUidLocked()228 static ThreadContext *FindThreadByTidLocked(int tid) { in FindThreadByTidLocked()230 return static_cast<ThreadContext*>( in FindThreadByTidLocked()236 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in IsInStackOrTls()245 ThreadContext *IsThreadStackOrTls(uptr addr, bool *is_stack) { in IsThreadStackOrTls()247 ThreadContext *tctx = static_cast<ThreadContext*>( in IsThreadStackOrTls()328 ThreadContext *tctx = FindThreadByUidLocked(creat_tid); in AddLocation()341 ThreadContext *tctx = FindThreadByTidLocked(b->tid); in AddLocation()[all …]
370 ThreadContext *tctx;405 class ThreadContext : public ThreadContextBase {407 explicit ThreadContext(int tid);408 ~ThreadContext();504 void AddThread(const ThreadContext *tctx, bool suppressable = false);
367 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateClockCallback()410 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateSleepClockCallback()
172 class ThreadContext; variable
72 void *mem = internal_alloc(MBlockThreadContex, sizeof(ThreadContext)); in CreateThreadContext()73 return new(mem) ThreadContext(tid); in CreateThreadContext()
1003 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member1018 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member1041 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member