Home
last modified time | relevance | path

Searched refs:ThreadContext (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/lsan/
Dlsan_thread.cc30 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::ThreadContext
66 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()
Dlsan_thread.h22 class ThreadContext : public ThreadContextBase {
24 explicit ThreadContext(int tid);
49 ThreadContext *CurrentThreadContext();
Dlsan_interceptors.cc41 ThreadContext *t; \
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLCreateNullInterface.cpp117 struct ThreadContext { struct
119 SK_DECLARE_INST_COUNT_ROOT(ThreadContext);
127 static ThreadContext* Get() { in Get() argument
128 return reinterpret_cast<ThreadContext*>(SkTLS::Get(Create, Delete)); in Get()
131 ThreadContext() in ThreadContext() function
138 static void* Create() { return SkNEW(ThreadContext ); } in Create() argument
139 static void Delete(void* context) { SkDELETE(reinterpret_cast<ThreadContext *>(context)); } in Delete() argument
154 ThreadContext* ctx = ThreadContext::Get(); in nullGLGenBuffers()
167 ThreadContext* ctx = ThreadContext::Get(); in nullGLBufferData()
200 return ++ThreadContext::Get()->fCurrProgramID; in nullGLCreateProgram()
[all …]
/external/chromium_org/components/nacl/loader/nonsfi/
Dirt_thread.cc33 struct ThreadContext { struct
45 ::scoped_ptr<ThreadContext> context(static_cast<ThreadContext*>(arg)); in ThreadMain()
72 ::scoped_ptr<ThreadContext> context(new ThreadContext); in IrtThreadCreate()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc25 ThreadContext::ThreadContext(int tid) in ThreadContext() function in __tsan::ThreadContext
34 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 …]
Dtsan_rtl_report.cc196 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 …]
Dtsan_rtl.h370 ThreadContext *tctx;
405 class ThreadContext : public ThreadContextBase {
407 explicit ThreadContext(int tid);
408 ~ThreadContext();
504 void AddThread(const ThreadContext *tctx, bool suppressable = false);
Dtsan_rtl_mutex.cc367 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateClockCallback()
410 ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base); in UpdateSleepClockCallback()
Dtsan_defs.h172 class ThreadContext; variable
Dtsan_rtl.cc72 void *mem = internal_alloc(MBlockThreadContex, sizeof(ThreadContext)); in CreateThreadContext()
73 return new(mem) ThreadContext(tid); in CreateThreadContext()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Ddbghelp.h1003 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member
1018 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member
1041 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h1003 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member
1018 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member
1041 MINIDUMP_LOCATION_DESCRIPTOR ThreadContext; member