Home
last modified time | relevance | path

Searched refs:thread_id (Results 1 – 25 of 45) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_debugging.cpp50 uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, in AsanGetStack() argument
59 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack()
63 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
132 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_alloc_stack() argument
133 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); in __asan_get_alloc_stack()
137 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { in __asan_get_free_stack() argument
138 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false); in __asan_get_free_stack()
H A Dasan_interface_internal.h169 u32 *thread_id);
173 u32 *thread_id);
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadSpec.h63 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() argument
64 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches()
67 return thread_id == m_tid; in TIDMatches()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp267 uint64_t thread_id = in GetRenumberedThreadIds() local
286 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds()
949 tid_t thread_id = in GenerateThreadName() local
971 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName()
975 size, addr_string.c_str(), thread_id); in GenerateThreadName()
980 tid_t thread_id = in GenerateThreadName() local
982 result = Sprintf("Thread %zu created", thread_id); in GenerateThreadName()
988 tid_t thread_id = in GenerateThreadName() local
996 thread_id); in GenerateThreadName()
1008 tid_t thread_id = in GenerateThreadName() local
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp777 bool NativeProcessFreeBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
780 if (thread->GetID() == thread_id) { in HasThreadNoLock()
792 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
794 assert(thread_id > 0); in AddThread()
795 assert(!HasThreadNoLock(thread_id) && in AddThread()
800 SetCurrentThreadID(thread_id); in AddThread()
806 void NativeProcessFreeBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
810 assert(thread_id > 0); in RemoveThread()
811 assert(HasThreadNoLock(thread_id) && in RemoveThread()
815 if ((*it)->GetID() == thread_id) { in RemoveThread()
[all …]
H A DNativeProcessFreeBSD.h112 bool HasThreadNoLock(lldb::tid_t thread_id);
114 NativeThreadFreeBSD &AddThread(lldb::tid_t thread_id);
115 void RemoveThread(lldb::tid_t thread_id);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h106 bool HasThreadNoLock(lldb::tid_t thread_id);
108 NativeThreadNetBSD &AddThread(lldb::tid_t thread_id);
109 void RemoveThread(lldb::tid_t thread_id);
H A DNativeProcessNetBSD.cpp825 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument
828 if (thread->GetID() == thread_id) { in HasThreadNoLock()
838 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument
840 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
842 assert(thread_id > 0); in AddThread()
843 assert(!HasThreadNoLock(thread_id) && in AddThread()
848 SetCurrentThreadID(thread_id); in AddThread()
854 void NativeProcessNetBSD::RemoveThread(lldb::tid_t thread_id) { in RemoveThread() argument
858 assert(thread_id > 0); in RemoveThread()
859 assert(HasThreadNoLock(thread_id) && in RemoveThread()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Breakpoint/
H A DWatchpointOptions.h46 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
146 void SetThreadID(lldb::tid_t thread_id);
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dasan_interface.h222 size_t size, int *thread_id);
237 size_t size, int *thread_id);
/freebsd-14.2/contrib/googletest/googletest/src/
H A Dgtest-port.cc433 DWORD thread_id; in CreateThread() local
440 &thread_id); // Need a valid pointer for the call to work under Win98. in CreateThread()
556 static void OnThreadExit(DWORD thread_id) { in OnThreadExit() argument
557 GTEST_CHECK_(thread_id != 0) << ::GetLastError(); in OnThreadExit()
566 thread_to_thread_locals->find(thread_id); in OnThreadExit()
594 static void StartWatcherThreadFor(DWORD thread_id) { in StartWatcherThreadFor() argument
598 ::OpenThread(SYNCHRONIZE | THREAD_QUERY_INFORMATION, FALSE, thread_id); in StartWatcherThreadFor()
607 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)), in StartWatcherThreadFor()
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/include/
H A Dompx.h.var59 _TGT_KERNEL_LANGUAGE_HOST_IMPL_GRID_C(thread_id,
102 _TGT_KERNEL_LANGUAGE_DECL_GRID_C(thread_id)
139 _TGT_KERNEL_LANGUAGE_HOST_IMPL_GRID_CXX(thread_id)
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_win.cpp110 for (const auto thread_id : suspended_threads_list.threadIds) { in RunThread() local
111 if (thread_id == thread_entry.th32ThreadID) { in RunThread()
H A Dsanitizer_stoptheworld_netbsd_libcdep.cpp57 bool ContainsTid(tid_t thread_id) const;
325 bool SuspendedThreadsListNetBSD::ContainsTid(tid_t thread_id) const { in ContainsTid()
327 if (thread_ids_[i] == thread_id) in ContainsTid()
H A Dsanitizer_stoptheworld_linux_libcdep.cpp95 bool ContainsTid(tid_t thread_id) const;
136 bool SuspendThread(tid_t thread_id);
551 bool SuspendedThreadsListLinux::ContainsTid(tid_t thread_id) const { in ContainsTid()
553 if (thread_ids_[i] == thread_id) return true; in ContainsTid()
/freebsd-14.2/usr.bin/top/
H A Dtop.c289 ps.thread_id = false; in main()
436 ps.thread_id = !ps.thread_id; in main()
1004 ps.thread_id = !ps.thread_id; in main()
1007 ps.thread_id ? "tid" : "pid"); in main()
H A Dmachine.h68 bool thread_id; /* show thread ids */ member
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DThreadSpec.cpp80 lldb::tid_t thread_id = thread.GetID(); in TIDMatches() local
81 return TIDMatches(thread_id); in TIDMatches()
/freebsd-14.2/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpointOptions.cpp114 void WatchpointOptions::SetThreadID(lldb::tid_t thread_id) { in SetThreadID() argument
115 GetThreadSpec()->SetTID(thread_id); in SetThreadID()
H A DBreakpointLocation.cpp102 void BreakpointLocation::SetThreadID(lldb::tid_t thread_id) { in SetThreadID() argument
103 if (thread_id != LLDB_INVALID_THREAD_ID) in SetThreadID()
104 GetLocationOptions().SetThreadID(thread_id); in SetThreadID()
109 m_options_up->SetThreadID(thread_id); in SetThreadID()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp146 u32 thread_id() const { return thread_id_; } in thread_id() function in __hwasan::__anon07ea22c70111::SavedStackAllocations
462 u32 thread_id = 0; member
675 result.heap.thread_id = chunk.GetAllocThreadId(); in FindBufferOverflowCandidate()
706 Printf("allocated by thread T%u here:\n", candidate.heap.thread_id); in PrintHeapOrGlobalCandidate()
773 auto announce_by_id = [](u32 thread_id) { in PrintAddressDescription() argument
775 if (thread_id == t->unique_id()) in PrintAddressDescription()
787 sa.thread_id()); in PrintAddressDescription()
789 announce_by_id(sa.thread_id()); in PrintAddressDescription()
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBBreakpointLocation.cpp305 void SBBreakpointLocation::SetThreadID(tid_t thread_id) { in SetThreadID() argument
306 LLDB_INSTRUMENT_VA(this, thread_id); in SetThreadID()
312 loc_sp->SetThreadID(thread_id); in SetThreadID()
/freebsd-14.2/contrib/wpa/src/l2_packet/
H A Dl2_packet_winpcap.c205 DWORD thread_id; in l2_packet_init() local
248 &thread_id); in l2_packet_init()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp244 int __tsan_get_alloc_stack(uptr addr, uptr *trace, uptr size, int *thread_id, in __tsan_get_alloc_stack() argument
254 *thread_id = b->tid; in __tsan_get_alloc_stack()
/freebsd-14.2/lib/libomp/
H A Domp-tools.h1188 ompd_size_t sizeof_thread_id, const void *thread_id,
1282 const void *thread_id,
1293 ompd_size_t sizeof_thread_id, void *thread_id);
1374 ompt_id_t thread_id; member

12