Home
last modified time | relevance | path

Searched refs:GetCurrentThread (Results 1 – 25 of 96) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_thread.cpp58 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
65 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
68 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
94 if (GetCurrentThread() == kMainTid) in EnsureMainThreadIDIsCorrect()
H A Dlsan_mac.cpp70 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
104 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
151 int parent_tid = GetCurrentThread(); \
H A Dlsan_linux.cpp22 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_thread.cc94 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
100 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
103 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
124 if (GetCurrentThread() == 0) in EnsureMainThreadIDIsCorrect()
H A Dlsan_mac.cc71 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
105 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
152 int parent_tid = GetCurrentThread(); \
H A Dlsan_linux.cc23 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_thread.cc92 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
98 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
101 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
122 if (GetCurrentThread() == 0) in EnsureMainThreadIDIsCorrect()
H A Dlsan_mac.cc69 if (GetCurrentThread() == kInvalidTid) { in lsan_register_worker_thread()
103 lsan_ctxt->parent_tid = GetCurrentThread(); in alloc_lsan_context()
150 int parent_tid = GetCurrentThread(); \
H A Dlsan_linux.cc21 u32 GetCurrentThread() { return current_thread_tid; } in GetCurrentThread() function
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_thread.h103 Thread *GetCurrentThread();
107 ScopedTaggingDisabler() { GetCurrentThread()->DisableTagging(); } in ScopedTaggingDisabler()
108 ~ScopedTaggingDisabler() { GetCurrentThread()->EnableTagging(); } in ~ScopedTaggingDisabler()
H A Dhwasan.cpp237 Thread *GetCurrentThread() { in GetCurrentThread() function
251 Thread *t = GetCurrentThread(); in UnwindImpl()
348 GetCurrentThread()->EnsureRandomStateInited(); in __hwasan_init()
544 Thread *t = GetCurrentThread(); in __hwasan_handle_vfork()
560 Thread *t = GetCurrentThread(); in __hwasan_extra_spill_area()
573 Thread *t = GetCurrentThread(); in __hwasan_generate_tag()
H A Dhwasan_thread.cpp67 CHECK_EQ(GetCurrentThread(), this); in InitStackRingBuffer()
108 CHECK_EQ(GetCurrentThread(), this); in Destroy()
H A Dhwasan_report.cpp415 auto *sa = (t == GetCurrentThread() && current_stack_allocations) in PrintAddressDescription()
583 const Thread *thread = GetCurrentThread(); in ReportInvalidFree()
671 GetCurrentThread()->Announce(); in ReportTailOverwritten()
683 GetCurrentThread()->stack_allocations()); in ReportTagMismatch()
694 Thread *t = GetCurrentThread(); in ReportTagMismatch()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_thread.cpp106 if (AsanThread *thread = GetCurrentThread()) in Destroy()
118 CHECK_NE(this, GetCurrentThread()); in Destroy()
223 DCHECK_EQ(GetCurrentThread(), this); in AsyncSignalSafeLazyInitFakeStack()
423 AsanThread *GetCurrentThread() { in GetCurrentThread() function
455 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
538 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
550 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_fuchsia.cpp70 AsanThread *curr_thread = GetCurrentThread(); in PlatformUnpoisonStacks()
140 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
141 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_rtl.cpp570 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack()
588 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack()
613 AsanThread *t = GetCurrentThread(); in __asan_extra_spill_area()
619 AsanThread *t = GetCurrentThread(); in __asan_handle_vfork()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dapp.c139 main_thread = GetCurrentThread(); in isc_app_ctxstart()
241 REQUIRE(main_thread == GetCurrentThread()); in isc_app_ctxrun()
489 blockedthread = GetCurrentThread(); in isc_app_block()
507 REQUIRE(blockedthread == GetCurrentThread()); in isc_app_unblock()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_thread.cc404 AsanThread *GetCurrentThread() { in GetCurrentThread() function
439 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
516 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
528 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_rtems.cc122 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
123 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_fuchsia.cc118 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
119 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_thread.cc403 AsanThread *GetCurrentThread() { in GetCurrentThread() function
438 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
515 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
527 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
H A Dasan_rtems.cc120 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
121 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
H A Dasan_fuchsia.cc116 DCHECK_NE(GetCurrentThread(), this); in SetThreadStackAndTls()
117 DCHECK_NE(GetCurrentThread(), nullptr); in SetThreadStackAndTls()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/msan/
H A Dmsan_linux.cc202 MsanThread *GetCurrentThread() { in GetCurrentThread() function
234 MsanThread *GetCurrentThread() { in GetCurrentThread() function
H A Dmsan_thread.h66 MsanThread *GetCurrentThread();

1234