/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | i386-linux-nat.c | 165 int tid; in fetch_register() local 177 if (tid == 0) in fetch_register() 194 int tid; in store_register() local 203 if (tid == 0) in store_register() 261 fetch_regs (int tid) in fetch_regs() argument 485 int tid; in fetch_inferior_registers() local 502 if (tid == 0) in fetch_inferior_registers() 557 int tid; in store_inferior_registers() local 574 if (tid == 0) in store_inferior_registers() 617 int tid; in i386_linux_dr_get() local [all …]
|
H A D | m68klinux-nat.c | 135 int tid; in fetch_register() local 146 if (tid == 0) in fetch_register() 199 int tid; in store_register() local 209 if (tid == 0) in store_register() 306 fetch_regs (int tid) in fetch_regs() argument 403 fetch_fpregs (int tid) in fetch_fpregs() argument 448 int tid; in fetch_inferior_registers() local 460 if (tid == 0) in fetch_inferior_registers() 469 fetch_regs (tid); in fetch_inferior_registers() 504 int tid; in store_inferior_registers() local [all …]
|
H A D | ppc-linux-nat.c | 432 fetch_altivec_registers (int tid) in fetch_altivec_registers() argument 451 fetch_ppc_registers (int tid) in fetch_ppc_registers() argument 480 fetch_spe_register (tid, -1); in fetch_ppc_registers() 493 if (tid == 0) in fetch_inferior_registers() 494 tid = PIDGET (inferior_ptid); in fetch_inferior_registers() 497 fetch_ppc_registers (tid); in fetch_inferior_registers() 499 fetch_register (tid, regno); in fetch_inferior_registers() 735 store_ppc_registers (int tid) in store_ppc_registers() argument 774 if (tid == 0) in store_inferior_registers() 778 store_register (tid, regno); in store_inferior_registers() [all …]
|
H A D | infttrace.c | 607 new_p->tid = tid; in create_thread_info() 723 if (p->tid == tid) in find_thread_info() 731 if (p->tid == tid) in find_thread_info() 937 if (p->tid == tid) in del_tthread() 1014 if (p->tid == tid) in get_pid_for() 1022 if (p->tid == tid) in get_pid_for() 3161 tid, in hppa_enable_catch_fork() 3177 tid, in hppa_enable_catch_fork() 3195 tid, in hppa_disable_catch_fork() 3212 tid, in hppa_disable_catch_fork() [all …]
|
H A D | amd64-linux-nat.c | 153 int tid; in fetch_inferior_registers() local 156 tid = TIDGET (inferior_ptid); in fetch_inferior_registers() 157 if (tid == 0) in fetch_inferior_registers() 190 int tid; in store_inferior_registers() local 193 tid = TIDGET (inferior_ptid); in store_inferior_registers() 194 if (tid == 0) in store_inferior_registers() 233 int tid; in amd64_linux_dr_get() local 239 tid = PIDGET (inferior_ptid); in amd64_linux_dr_get() 247 value = ptrace (PT_READ_U, tid, in amd64_linux_dr_get() 262 int tid; in amd64_linux_dr_set() local [all …]
|
H A D | s390-nat.c | 121 if (tid == 0) in s390_inferior_tid() 124 return tid; in s390_inferior_tid() 130 fetch_regs (int tid) in fetch_regs() argument 147 store_regs (int tid, int regnum) in store_regs() argument 167 fetch_fpregs (int tid) in fetch_fpregs() argument 206 int tid = s390_inferior_tid (); in fetch_inferior_registers() local 210 fetch_regs (tid); in fetch_inferior_registers() 214 fetch_fpregs (tid); in fetch_inferior_registers() 222 int tid = s390_inferior_tid (); in store_inferior_registers() local 226 store_regs (tid, regnum); in store_inferior_registers() [all …]
|
H A D | aix-thread.c | 101 pthdb_tid_t tid; member 709 pbuf[pi].tid = tid; in sync_threadlists() 737 thread->private->tid = pbuf[pi].tid; in sync_threadlists() 748 tid = pbuf[pi].tid; in sync_threadlists() 755 gbuf[gi]->private->tid = tid; in sync_threadlists() 769 thread->private->tid = tid; in sync_threadlists() 787 return (thread->private->tid == tid); in iter_tid() 976 tid[0] = thread->private->tid; in aix_thread_resume() 1268 tid = thread->private->tid; in aix_thread_fetch_registers() 1586 tid = thread->private->tid; in aix_thread_store_registers() [all …]
|
H A D | arm-linux-nat.c | 91 if (0 == tid) in get_thread_id() 92 tid = PIDGET (ptid); in get_thread_id() 93 return tid; in get_thread_id() 229 int ret, tid; in fetch_fpregister() local 278 int ret, regno, tid; in fetch_fpregs() local 326 int ret, tid; in store_fpregister() local 364 int ret, regno, tid; in store_fpregs() local 402 int ret, tid; in fetch_register() local 442 int ret, regno, tid; in fetch_regs() local 476 int ret, tid; in store_register() local [all …]
|
H A D | m32r-linux-nat.c | 106 fetch_regs (int tid) in fetch_regs() argument 110 if (ptrace (PTRACE_GETREGS, tid, 0, (int) ®s) < 0) in fetch_regs() 154 store_regs (int tid, int regno) in store_regs() argument 158 if (ptrace (PTRACE_GETREGS, tid, 0, (int) ®s) < 0) in store_regs() 193 int tid; in fetch_inferior_registers() local 196 tid = TIDGET (inferior_ptid); in fetch_inferior_registers() 197 if (tid == 0) in fetch_inferior_registers() 205 fetch_regs (tid); in fetch_inferior_registers() 219 int tid; in store_inferior_registers() local 222 if ((tid = TIDGET (inferior_ptid)) == 0) in store_inferior_registers() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cpp | 21 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 90 if (tid != kMainTid) in SetCreated() 142 tid = tctx->tid; in CreateThread() 175 return tid; in CreateThread() 181 for (u32 tid = 0; tid < threads_.size(); tid++) { in RunCallbackForEachThreadLocked() local 191 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThread() local 202 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThreadContextLocked() local 346 u32 tid; in ConsumeThreadUserId() local 349 tid = t->second; in ConsumeThreadUserId() 354 return tid; in ConsumeThreadUserId() [all …]
|
/openbsd/regress/usr.bin/ssh/ |
H A D | sftp-cmds.sh | 8 tid="sftp commands" 24 verbose "$tid: lls" 32 verbose "$tid: ls" 37 verbose "$tid: shell" 41 verbose "$tid: pwd" 46 verbose "$tid: lpwd" 51 verbose "$tid: quit" 56 verbose "$tid: help" 62 verbose "$tid: get" 183 verbose "$tid: ln" [all …]
|
H A D | sshsig.sh | 4 tid="sshsig" 34 verbose "$tid: make certificates" 45 verbose "$tid: check signature for $t" 54 trace "$tid: key type $t check bad hashlg" 64 trace "$tid: key type $t sign with hash $h" 84 trace "$tid: key type $t print-pubkey" 256 trace "$tid: key type $t prepare agent" 263 trace "$tid: key type $t sign with agent" 517 verbose "$tid: match principals" 522 trace "$tid: match principals wildcard" [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_errors.h | 29 u32 tid; member 32 explicit ErrorBase(u32 tid_) : tid(tid_) {} in ErrorBase() 44 : ErrorBase(tid), in ErrorDeadlySignal() 73 : ErrorBase(tid, 42, "double-free"), in ErrorDoubleFree() 105 : ErrorBase(tid, 40, "bad-free"), in ErrorFreeNotMalloced() 160 : ErrorBase(tid, 10, "calloc-overflow"), in ErrorCallocOverflow() 188 : ErrorBase(tid, 10, "pvalloc-overflow"), in ErrorPvallocOverflow() 268 : ErrorBase(tid, 10, "out-of-memory"), in ErrorOutOfMemory() 285 : ErrorBase(tid), in ErrorStringFunctionMemoryRangesOverlap() 344 : ErrorBase(tid, 10, in ErrorBadParamsToAnnotateDoubleEndedContiguousContainer() [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
H A D | IntelPTThreadTraceCollection.cpp | 18 return m_thread_traces.count(tid); in TracesThread() 21 Error IntelPTThreadTraceCollection::TraceStop(lldb::tid_t tid) { in TraceStop() argument 22 auto it = m_thread_traces.find(tid); in TraceStop() 27 m_thread_traces.erase(tid); in TraceStop() 33 if (TracesThread(tid)) in TraceStart() 38 IntelPTSingleBufferTrace::Start(request, tid); in TraceStart() 43 m_thread_traces.try_emplace(tid, std::move(*trace)); in TraceStart() 60 auto it = m_thread_traces.find(tid); in GetTracedThread() 79 if (!request.tid) in TryGetBinaryData() 84 if (!TracesThread(*request.tid)) in TryGetBinaryData() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/threads/t/ |
H A D | free2.t | 76 my $tid = threads->tid(); 77 $q->enqueue($tid, "Thread $tid started"); 100 $q->enqueue($tid, "Thread $tid received signal from $other"); 108 my $tid = threads->tid(); 114 $q->enqueue($tid, "Thread $tid done"); 123 my $tid = threads->tid(); 125 $q->enqueue($tid, "Thread $tid signalling $other"); 224 my $tid = threads->tid(); 249 my $tid = threads->tid(); 274 my $tid = threads->tid(); [all …]
|
H A D | basic.t | 89 ok(10, $self->tid == 7, "Wanted 7, got ".$self->tid); 90 ok(11, threads->tid() == 7, "Wanted 7, got ".threads->tid()); 96 ok(12, $self->tid == 8, "Wanted 8, got ".$self->tid); 97 ok(13, threads->tid() == 8, "Wanted 8, got ".threads->tid()); 103 ok(15, 0 == threads->tid(), "Check so that tid for threads work for main thread"); 111 ok(17, threads->tid() == 9, "And tid be 9 here too"); 121 ok(18, threads->tid() == 10, "And tid be 10 here"); 141 ok(26, threads->object($thr1->tid())->tid() == 11, 'Object method'); 142 ok(27, threads->object($thr2->tid())->tid() == 12, 'Object method'); 162 # ->object($tid) works like ->self() when $tid is thread's TID [all …]
|
H A D | free.t | 67 my $tid = threads->tid(); 68 $q->enqueue($tid, "Thread $tid started"); 96 $q->enqueue($tid, "Thread $tid done"); 124 my $tid = threads->tid(); 125 $q->enqueue($tid, "Thread $tid started"); 140 $q->enqueue($tid, "Thread $tid done"); 170 my $tid = threads->tid(); 171 $q->enqueue($tid, "Thread $tid started"); 177 my $tid = threads->tid(); 186 $q->enqueue($tid, "Thread $tid done"); [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextMach_arm.cpp | 26 int RegisterContextMach_arm::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() argument 28 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR() 31 int RegisterContextMach_arm::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() argument 33 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU() 38 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC() 43 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count); in DoReadDBG() 46 int RegisterContextMach_arm::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument 49 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR() 53 int RegisterContextMach_arm::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument 60 int RegisterContextMach_arm::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument [all …]
|
H A D | RegisterContextMach_x86_64.cpp | 24 int RegisterContextMach_x86_64::DoReadGPR(lldb::tid_t tid, int flavor, in DoReadGPR() argument 27 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR() 30 int RegisterContextMach_x86_64::DoReadFPU(lldb::tid_t tid, int flavor, in DoReadFPU() argument 33 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU() 36 int RegisterContextMach_x86_64::DoReadEXC(lldb::tid_t tid, int flavor, in DoReadEXC() argument 39 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC() 42 int RegisterContextMach_x86_64::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument 45 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR() 49 int RegisterContextMach_x86_64::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument 52 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<FPU *>(&fpu)), in DoWriteFPU() [all …]
|
H A D | RegisterContextMach_i386.cpp | 24 int RegisterContextMach_i386::DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { in DoReadGPR() argument 26 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR() 29 int RegisterContextMach_i386::DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) { in DoReadFPU() argument 31 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU() 36 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC() 39 int RegisterContextMach_i386::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument 42 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<GPR *>(&gpr)), in DoWriteGPR() 46 int RegisterContextMach_i386::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument 49 tid, flavor, reinterpret_cast<thread_state_t>(const_cast<FPU *>(&fpu)), in DoWriteFPU() 53 int RegisterContextMach_i386::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/POSIX/ |
H A D | ProcessMessage.h | 54 return ProcessMessage(tid, eLimboMessage, status); in Limbo() 59 return ProcessMessage(tid, eSignalMessage, signum); in Signal() 69 static ProcessMessage Trace(lldb::tid_t tid) { in Trace() argument 70 return ProcessMessage(tid, eTraceMessage); in Trace() 74 static ProcessMessage Break(lldb::tid_t tid) { in Break() argument 75 return ProcessMessage(tid, eBreakpointMessage); in Break() 98 return ProcessMessage(tid, eExitMessage, status); in Exit() 102 static ProcessMessage Exec(lldb::tid_t tid) { in Exec() argument 103 return ProcessMessage(tid, eExecMessage); in Exec() 151 : m_tid(tid), m_kind(kind), in m_tid() argument [all …]
|
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachThreadList.h | 35 uint32_t SaveRegisterState(nub_thread_t tid); 37 const char *GetThreadInfo(nub_thread_t tid) const; 43 const char *GetName(nub_thread_t tid); 44 nub_state_t GetState(nub_thread_t tid); 45 nub_thread_t SetCurrentThread(nub_thread_t tid); 49 nub_addr_t GetPThreadT(nub_thread_t tid); 50 nub_addr_t GetDispatchQueueT(nub_thread_t tid); 52 GetTSDAddressForThread(nub_thread_t tid, 57 bool GetThreadStoppedReason(nub_thread_t tid, 60 bool GetIdentifierInfo(nub_thread_t tid, [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/MacOSX-Kernel/ |
H A D | RegisterContextKDP_arm.cpp | 30 .SendRequestReadRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoReadGPR() 45 .SendRequestReadRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoReadFPU() 60 .SendRequestReadRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoReadEXC() 75 .SendRequestReadRegisters(tid, DBGRegSet, &dbg, sizeof(dbg), in DoReadDBG() 84 int RegisterContextKDP_arm::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument 91 .SendRequestWriteRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoWriteGPR() 100 int RegisterContextKDP_arm::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument 107 .SendRequestWriteRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoWriteFPU() 116 int RegisterContextKDP_arm::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument 123 .SendRequestWriteRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoWriteEXC() [all …]
|
H A D | RegisterContextKDP_arm64.cpp | 30 .SendRequestReadRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoReadGPR() 45 .SendRequestReadRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoReadFPU() 60 .SendRequestReadRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoReadEXC() 75 .SendRequestReadRegisters(tid, DBGRegSet, &dbg, sizeof(dbg), in DoReadDBG() 84 int RegisterContextKDP_arm64::DoWriteGPR(lldb::tid_t tid, int flavor, in DoWriteGPR() argument 91 .SendRequestWriteRegisters(tid, GPRRegSet, &gpr, sizeof(gpr), in DoWriteGPR() 100 int RegisterContextKDP_arm64::DoWriteFPU(lldb::tid_t tid, int flavor, in DoWriteFPU() argument 107 .SendRequestWriteRegisters(tid, FPURegSet, &fpu, sizeof(fpu), in DoWriteFPU() 116 int RegisterContextKDP_arm64::DoWriteEXC(lldb::tid_t tid, int flavor, in DoWriteEXC() argument 123 .SendRequestWriteRegisters(tid, EXCRegSet, &exc, sizeof(exc), in DoWriteEXC() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cpp | 24 ThreadContext::ThreadContext(Tid tid) : ThreadContextBase(tid), thr(), sync() {} in ThreadContext() argument 58 if (tctx->tid == kMainTid) { in ReportIgnoresEnabled() 121 parent = thr->tid; in ThreadCreate() 132 return tid; in ThreadCreate() 189 if (tid != kMainTid) { in ThreadStart() 204 DPrintf("#%d: ThreadStart\n", tid); in OnStarted() 205 new (thr) ThreadState(tid); in OnStarted() 294 CHECK_GT(tid, 0); in ThreadJoin() 295 DPrintf("#%d: ThreadJoin tid=%d\n", thr->tid, tid); in ThreadJoin() 317 CHECK_GT(tid, 0); in ThreadDetach() [all …]
|