| /freebsd-12.1/contrib/compiler-rt/lib/asan/ |
| H A D | asan_debugging.cc | 50 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()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBTrace.cpp | 27 size_t offset, lldb::tid_t thread_id) { in GetTraceData() argument 37 process_sp->GetData(GetTraceUID(), thread_id, buffer, offset)); in GetTraceData() 44 size_t offset, lldb::tid_t thread_id) { in GetMetaData() argument 55 process_sp->GetMetaData(GetTraceUID(), thread_id, buffer, offset)); in GetMetaData() 61 void SBTrace::StopTrace(SBError &error, lldb::tid_t thread_id) { in StopTrace() argument 69 error.SetError(process_sp->StopTrace(GetTraceUID(), thread_id)); in StopTrace()
|
| H A D | SBTraceOptions.cpp | 85 void SBTraceOptions::setThreadID(lldb::tid_t thread_id) { in setThreadID() argument 87 m_traceoptions_sp->setThreadID(thread_id); in setThreadID()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | gthr-nks.h | 93 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 99 thread_id = NULL; in __gthread_objc_thread_detach() 101 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach() 104 thread_id = NULL; in __gthread_objc_thread_detach() 107 return thread_id; in __gthread_objc_thread_detach()
|
| H A D | gthr-posix.h | 283 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 290 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach() 292 thread_id = NULL; in __gthread_objc_thread_detach() 294 return thread_id; in __gthread_objc_thread_detach() 307 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local 312 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, ¶ms) == 0) in __gthread_objc_thread_set_priority() 331 if (__gthrw_(pthread_setschedparam) (thread_id, policy, ¶ms) == 0) in __gthread_objc_thread_set_priority()
|
| H A D | gthr-posix95.h | 249 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 256 thread_id = (objc_thread_t) new_thread_handle; in __gthread_objc_thread_detach() 258 thread_id = NULL; in __gthread_objc_thread_detach() 260 return thread_id; in __gthread_objc_thread_detach() 273 pthread_t thread_id = __gthrw_(pthread_self) (); in __gthread_objc_thread_set_priority() local 278 if (__gthrw_(pthread_getschedparam) (thread_id, &policy, ¶ms) == 0) in __gthread_objc_thread_set_priority() 297 if (__gthrw_(pthread_setschedparam) (thread_id, policy, ¶ms) == 0) in __gthread_objc_thread_set_priority()
|
| H A D | gthr-dce.h | 158 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 168 thread_id = *(objc_thread_t *) &new_thread_handle; in __gthread_objc_thread_detach() 172 thread_id = NULL; in __gthread_objc_thread_detach() 174 return thread_id; in __gthread_objc_thread_detach()
|
| H A D | gthr-solaris.h | 160 objc_thread_t thread_id; in __gthread_objc_thread_detach() local 169 thread_id = *(objc_thread_t *) &new_thread_id; in __gthread_objc_thread_detach() 171 thread_id = NULL; in __gthread_objc_thread_detach() 173 return thread_id; in __gthread_objc_thread_detach()
|
| H A D | gthr-win32.h | 115 DWORD thread_id = 0; in __gthread_objc_thread_detach() local 119 arg, 0, &thread_id))) in __gthread_objc_thread_detach() 120 thread_id = 0; in __gthread_objc_thread_detach() 122 return (objc_thread_t) thread_id; in __gthread_objc_thread_detach()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/API/ |
| H A D | SBTrace.h | 53 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID); 61 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID); 86 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID);
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | ada-tasks.c | 468 void *self_id, *caller, *thread_id = NULL; in info_tasks() local 527 thread_id = GET_CURRENT_THREAD (); in info_tasks() 581 if (thread_id) in info_tasks() 583 printf_filtered (pt->lwp == thread_id ? "*" : " "); in info_tasks() 585 printf_filtered (pt->thread == thread_id ? "*" : " "); in info_tasks() 667 if (state == Runnable && (thread_id && pt->lwp == thread_id)) in info_tasks() 669 if (state == Runnable && (thread_id && pt->thread == thread_id)) in info_tasks()
|
| H A D | corelow.c | 254 int thread_id; in add_to_thread_list() local 260 thread_id = atoi (bfd_section_name (abfd, asect) + 5); in add_to_thread_list() 262 add_thread (pid_to_ptid (thread_id)); in add_to_thread_list() 268 inferior_ptid = pid_to_ptid (thread_id); /* Yes, make it current */ in add_to_thread_list()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/ |
| H A D | ThreadSpec.h | 66 bool TIDMatches(lldb::tid_t thread_id) const { in TIDMatches() argument 67 if (m_tid == LLDB_INVALID_THREAD_ID || thread_id == LLDB_INVALID_THREAD_ID) in TIDMatches() 70 return thread_id == m_tid; in TIDMatches()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/TSan/ |
| H A D | TSanRuntime.cpp | 271 uint64_t thread_id = in GetRenumberedThreadIds() local 290 thread_id_map[thread_id] = lldb_user_id; in GetRenumberedThreadIds() 947 int thread_id = in GenerateThreadName() local 965 is_write ? "mutating" : "read-only", thread_id); in GenerateThreadName() 968 result = Sprintf("modifying access by thread %d", thread_id); in GenerateThreadName() 972 size, addr_string.c_str(), thread_id); in GenerateThreadName() 977 int thread_id = in GenerateThreadName() local 979 result = Sprintf("Thread %d created", thread_id); in GenerateThreadName() 985 int thread_id = in GenerateThreadName() local 1005 int thread_id = in GenerateThreadName() local [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | TraceOptions.h | 43 void setThreadID(lldb::tid_t thread_id) { m_thread_id = thread_id; } in setThreadID() argument
|
| /freebsd-12.1/gnu/usr.bin/gdb/kgdb/ |
| H A D | trgt.c | 289 int thread_id; in kgdb_switch_to_thread() local 291 thread_id = pid_to_thread_id(pid_to_ptid(tid)); in kgdb_switch_to_thread() 292 if (thread_id == 0) in kgdb_switch_to_thread() 294 snprintf(buf, sizeof(buf), "%d", thread_id); in kgdb_switch_to_thread()
|
| /freebsd-12.1/contrib/compiler-rt/include/sanitizer/ |
| H A D | asan_interface.h | 95 int *thread_id); 101 int *thread_id);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Breakpoint/ |
| H A D | WatchpointOptions.h | 55 lldb::tid_t thread_id = LLDB_INVALID_THREAD_ID); 180 void SetThreadID(lldb::tid_t thread_id);
|
| /freebsd-12.1/contrib/googletest/googletest/src/ |
| H A D | gtest-port.cc | 386 DWORD thread_id; in CreateThread() local 394 &thread_id); // Need a valid pointer for the call to work under Win98. in CreateThread() 510 static void OnThreadExit(DWORD thread_id) { in OnThreadExit() argument 511 GTEST_CHECK_(thread_id != 0) << ::GetLastError(); in OnThreadExit() 520 thread_to_thread_locals->find(thread_id); in OnThreadExit() 548 static void StartWatcherThreadFor(DWORD thread_id) { in StartWatcherThreadFor() argument 553 thread_id); in StartWatcherThreadFor() 562 reinterpret_cast<LPVOID>(new ThreadIdAndHandle(thread_id, thread)), in StartWatcherThreadFor()
|
| /freebsd-12.1/usr.bin/top/ |
| H A D | top.c | 284 ps.thread_id = false; in main() 425 ps.thread_id = !ps.thread_id; in main() 969 ps.thread_id = !ps.thread_id; in main() 972 ps.thread_id ? "tid" : "pid"); in main()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.cpp | 630 bool NativeProcessNetBSD::HasThreadNoLock(lldb::tid_t thread_id) { in HasThreadNoLock() argument 633 if (thread->GetID() == thread_id) { in HasThreadNoLock() 643 NativeThreadNetBSD &NativeProcessNetBSD::AddThread(lldb::tid_t thread_id) { in AddThread() argument 646 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread() 648 assert(!HasThreadNoLock(thread_id) && in AddThread() 653 SetCurrentThreadID(thread_id); in AddThread() 655 m_threads.push_back(llvm::make_unique<NativeThreadNetBSD>(*this, thread_id)); in AddThread()
|
| H A D | NativeProcessNetBSD.h | 105 bool HasThreadNoLock(lldb::tid_t thread_id); 107 NativeThreadNetBSD &AddThread(lldb::tid_t thread_id);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/ |
| H A D | NativeProcessDarwin.h | 310 bool HasThreadNoLock(lldb::tid_t thread_id); 312 bool StopTrackingThread(lldb::tid_t thread_id); 314 NativeThreadDarwinSP AddThread(lldb::tid_t thread_id);
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stoptheworld_linux_libcdep.cc | 95 bool ContainsTid(tid_t thread_id) const; 136 bool SuspendThread(tid_t thread_id); 524 bool SuspendedThreadsListLinux::ContainsTid(tid_t thread_id) const { in ContainsTid() 526 if (thread_ids_[i] == thread_id) return true; in ContainsTid()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | ThreadPlanStepUntil.cpp | 45 lldb::user_id_t thread_id = m_thread.GetID(); in ThreadPlanStepUntil() local 60 return_bp->SetThreadID(thread_id); in ThreadPlanStepUntil() 73 until_bp->SetThreadID(thread_id); in ThreadPlanStepUntil()
|