Home
last modified time | relevance | path

Searched refs:os_id (Results 1 – 12 of 12) sorted by relevance

/external/compiler-rt/lib/lsan/
Dlsan_thread.cc85 void ThreadStart(u32 tid, uptr os_id) { in ThreadStart() argument
94 thread_registry->StartThread(tid, os_id, &args); in ThreadStart()
128 CurrentThreadContext()->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
133 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
137 thread_registry->FindThreadContextByOsIDLocked(os_id)); in GetThreadRangesLocked()
148 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
Dlsan_common.h143 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end,
146 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback,
Dlsan_common.cc185 uptr os_id = static_cast<uptr>(suspended_threads.GetThreadID(i)); in ProcessThreads() local
186 LOG_THREADS("Processing thread %d.\n", os_id); in ProcessThreads()
188 bool thread_found = GetThreadRangesLocked(os_id, &stack_begin, &stack_end, in ProcessThreads()
194 LOG_THREADS("Thread %d not found in registry.\n", os_id); in ProcessThreads()
223 ForEachExtraStackRange(os_id, ForEachExtraStackRangeCb, frontier); in ProcessThreads()
Dlsan_thread.h41 void ThreadStart(u32 tid, uptr os_id);
/external/compiler-rt/lib/asan/
Dasan_thread.cc167 uptr os_id, atomic_uintptr_t *signal_thread_is_registered) { in ThreadStart() argument
169 asanThreadRegistry().StartThread(tid(), os_id, nullptr); in ThreadStart()
311 context->os_id = GetTid(); in EnsureMainThreadIDIsCorrect()
314 __asan::AsanThread *GetAsanThreadByOsIDLocked(uptr os_id) { in GetAsanThreadByOsIDLocked() argument
316 __asan::asanThreadRegistry().FindThreadContextByOsIDLocked(os_id)); in GetAsanThreadByOsIDLocked()
324 bool GetThreadRangesLocked(uptr os_id, uptr *stack_begin, uptr *stack_end, in GetThreadRangesLocked() argument
327 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in GetThreadRangesLocked()
339 void ForEachExtraStackRange(uptr os_id, RangeIteratorCallback callback, in ForEachExtraStackRange() argument
341 __asan::AsanThread *t = __asan::GetAsanThreadByOsIDLocked(os_id); in ForEachExtraStackRange()
Dasan_thread.h62 thread_return_t ThreadStart(uptr os_id,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
64 os_id = _os_id; in SetStarted()
191 return (tctx->os_id == (uptr)arg && tctx->status != ThreadStatusInvalid && in FindThreadContextByOsIdCallback()
195 ThreadContextBase *ThreadRegistry::FindThreadContextByOsIDLocked(uptr os_id) { in FindThreadContextByOsIDLocked() argument
197 (void *)os_id); in FindThreadContextByOsIDLocked()
269 void ThreadRegistry::StartThread(u32 tid, uptr os_id, void *arg) { in StartThread() argument
276 tctx->SetStarted(os_id, arg); in StartThread()
Dsanitizer_thread_registry.h42 uptr os_id; // PID (used for reporting). variable
111 ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id);
118 void StartThread(u32 tid, uptr os_id, void *arg);
/external/google-breakpad/src/processor/
Dmicrodump.cc206 string os_id; in Microdump() local
213 os_tokens >> os_id; in Microdump()
224 if (os_id == "L") { in Microdump()
227 } else if (os_id == "A") { in Microdump()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_thread.cc244 void ThreadStart(ThreadState *thr, int tid, uptr os_id) { in ThreadStart() argument
274 tr->StartThread(tid, os_id, &args); in ThreadStart()
Dtsan_rtl.h676 void ThreadStart(ThreadState *thr, int tid, uptr os_id);
Dtsan_rtl_report.cc192 rt->pid = tctx->os_id; in AddThread()