/netbsd/external/gpl3/gdb/dist/gdb/ |
H A D | ctfread.c | 193 ctf_id_t tid; 205 return ids->tid; 218 return ids_lhs->tid == ids_rhs->tid; 238 ids.tid = tid; 243 (tid)); 262 ids.tid = tid; 355 ctf_id_t tid, 621 ctf_id_t tid, 1005 new_symbol (ccp, read_type_record (ccp, tid), tid); 1103 ctf_id_t tid; [all …]
|
H A D | i386-linux-nat.c | 109 pid_t tid; in fetch_register() local 122 val = ptrace (PTRACE_PEEKUSER, tid, in fetch_register() 137 pid_t tid; in store_register() local 148 ptrace (PTRACE_POKEUSER, tid, in store_register() 463 pid_t tid; in fetch_registers() local 486 fetch_regs (regcache, tid); in fetch_registers() 497 if (fetch_fpxregs (regcache, tid)) in fetch_registers() 499 fetch_fpregs (regcache, tid); in fetch_registers() 505 fetch_regs (regcache, tid); in fetch_registers() 526 fetch_fpregs (regcache, tid); in fetch_registers() [all …]
|
H A D | ppc-linux-nat.c | 809 get_spe_registers (tid, &evrregs); in fetch_spe_register() 1225 fetch_gp_regs (regcache, tid); in fetch_ppc_registers() 1227 fetch_fp_regs (regcache, tid); in fetch_ppc_registers() 1467 set_spe_registers (tid, &evrregs); in store_spe_register() 1797 store_gp_regs (regcache, tid, -1); in store_ppc_registers() 1916 int tid = inferior_ptid.lwp (); in auxv_parse() local 1917 if (tid == 0) in auxv_parse() 1918 tid = inferior_ptid.pid (); in auxv_parse() 1943 int tid = inferior_ptid.lwp (); in read_description() local 1944 if (tid == 0) in read_description() [all …]
|
H A D | m68k-linux-nat.c | 405 pid_t tid; in fetch_registers() local 415 tid = get_ptrace_pid (regcache->ptid ()); in fetch_registers() 423 fetch_regs (regcache, tid); in fetch_registers() 432 fetch_fpregs (regcache, tid); in fetch_registers() 438 fetch_regs (regcache, tid); in fetch_registers() 444 fetch_fpregs (regcache, tid); in fetch_registers() 458 pid_t tid; in store_registers() local 475 store_regs (regcache, tid, regno); in store_registers() 476 store_fpregs (regcache, tid, regno); in store_registers() 482 store_regs (regcache, tid, regno); in store_registers() [all …]
|
H A D | s390-linux-nat.c | 262 int tid = inferior_ptid.lwp (); in s390_inferior_tid() local 263 if (tid == 0) in s390_inferior_tid() 266 return tid; in s390_inferior_tid() 415 fetch_regs (regcache, tid); in fetch_registers() 418 fetch_fpregs (regcache, tid); in fetch_registers() 649 tid, in s390_show_debug_regs() 701 int tid; in low_prepare_to_resume() local 726 tid = ptid_of_lwp (lp).lwp (); in low_prepare_to_resume() 727 if (tid == 0) in low_prepare_to_resume() 728 tid = pid; in low_prepare_to_resume() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | ctfread.c | 193 ctf_id_t tid; 205 return ids->tid; 218 return ids_lhs->tid == ids_rhs->tid; 238 ids.tid = tid; 243 (tid)); 262 ids.tid = tid; 355 ctf_id_t tid, 621 ctf_id_t tid, 1005 new_symbol (ccp, read_type_record (ccp, tid), tid); 1103 ctf_id_t tid; [all …]
|
H A D | i386-linux-nat.c | 109 pid_t tid; in fetch_register() local 122 val = ptrace (PTRACE_PEEKUSER, tid, in fetch_register() 137 pid_t tid; in store_register() local 148 ptrace (PTRACE_POKEUSER, tid, in store_register() 463 pid_t tid; in fetch_registers() local 486 fetch_regs (regcache, tid); in fetch_registers() 497 if (fetch_fpxregs (regcache, tid)) in fetch_registers() 499 fetch_fpregs (regcache, tid); in fetch_registers() 505 fetch_regs (regcache, tid); in fetch_registers() 526 fetch_fpregs (regcache, tid); in fetch_registers() [all …]
|
H A D | ppc-linux-nat.c | 809 get_spe_registers (tid, &evrregs); in fetch_spe_register() 1225 fetch_gp_regs (regcache, tid); in fetch_ppc_registers() 1227 fetch_fp_regs (regcache, tid); in fetch_ppc_registers() 1467 set_spe_registers (tid, &evrregs); in store_spe_register() 1797 store_gp_regs (regcache, tid, -1); in store_ppc_registers() 1916 int tid = inferior_ptid.lwp (); in auxv_parse() local 1917 if (tid == 0) in auxv_parse() 1918 tid = inferior_ptid.pid (); in auxv_parse() 1943 int tid = inferior_ptid.lwp (); in read_description() local 1944 if (tid == 0) in read_description() [all …]
|
H A D | m68k-linux-nat.c | 405 pid_t tid; in fetch_registers() local 415 tid = get_ptrace_pid (regcache->ptid ()); in fetch_registers() 423 fetch_regs (regcache, tid); in fetch_registers() 432 fetch_fpregs (regcache, tid); in fetch_registers() 438 fetch_regs (regcache, tid); in fetch_registers() 444 fetch_fpregs (regcache, tid); in fetch_registers() 458 pid_t tid; in store_registers() local 475 store_regs (regcache, tid, regno); in store_registers() 476 store_fpregs (regcache, tid, regno); in store_registers() 482 store_regs (regcache, tid, regno); in store_registers() [all …]
|
H A D | s390-linux-nat.c | 262 int tid = inferior_ptid.lwp (); in s390_inferior_tid() local 263 if (tid == 0) in s390_inferior_tid() 266 return tid; in s390_inferior_tid() 415 fetch_regs (regcache, tid); in fetch_registers() 418 fetch_fpregs (regcache, tid); in fetch_registers() 649 tid, in s390_show_debug_regs() 701 int tid; in low_prepare_to_resume() local 726 tid = ptid_of_lwp (lp).lwp (); in low_prepare_to_resume() 727 if (tid == 0) in low_prepare_to_resume() 728 tid = pid; in low_prepare_to_resume() [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 18 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 87 if (tid != 0) in SetCreated() 137 u32 tid = kUnknownTid; in CreateThread() local 140 tid = tctx->tid; in CreateThread() 167 return tid; in CreateThread() 173 for (u32 tid = 0; tid < n_contexts_; tid++) { in RunCallbackForEachThreadLocked() local 183 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThread() local 186 return tctx->tid; in FindThread() 194 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThreadContextLocked() local 225 for (u32 tid = 0; tid < n_contexts_; tid++) { in SetThreadNameByUserId() local [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 18 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 87 if (tid != 0) in SetCreated() 137 u32 tid = kUnknownTid; in CreateThread() local 140 tid = tctx->tid; in CreateThread() 167 return tid; in CreateThread() 173 for (u32 tid = 0; tid < n_contexts_; tid++) { in RunCallbackForEachThreadLocked() local 183 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThread() local 186 return tctx->tid; in FindThread() 194 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThreadContextLocked() local 225 for (u32 tid = 0; tid < n_contexts_; tid++) { in SetThreadNameByUserId() local [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), in ThreadContextBase() 89 if (tid != 0) in SetCreated() 139 u32 tid = kUnknownTid; in CreateThread() local 142 tid = tctx->tid; in CreateThread() 169 return tid; in CreateThread() 175 for (u32 tid = 0; tid < n_contexts_; tid++) { in RunCallbackForEachThreadLocked() local 185 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThread() local 188 return tctx->tid; in FindThread() 196 for (u32 tid = 0; tid < n_contexts_; tid++) { in FindThreadContextLocked() local 227 for (u32 tid = 0; tid < n_contexts_; tid++) { in SetThreadNameByUserId() local [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/config/spu/ |
H A D | spu_mfcio.h | 192 #define mfc_put( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CM… argument 193 #define mfc_putf( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CM… argument 194 #define mfc_putb( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CM… argument 195 #define mfc_get( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CM… argument 196 #define mfc_getf( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CM… argument 209 #define mfc_putllc( ls,ea,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),128, 0,MFC_CMD_W… argument 214 #define mfc_sndsig( ls,ea,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),4,tag,MFC_CMD_WORD… argument 215 #define mfc_sndsigb(ls,ea,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),4,tag,MFC_CMD_WORD… argument 216 #define mfc_sndsigf(ls,ea,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),4,tag,MFC_CMD_WORD… argument 218 #define mfc_eieio(tag,tid,rid) spu_mfcdma32(0,0,0,tag,MFC_CMD_WORD(tid,rid,MFC_EIEIO_CMD)) argument [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
H A D | multiple-successive-infcall.c | 39 for (int tid = 0; tid < THREADCOUNT; ++tid) in get_value() local 41 if (pthread_equal (threads[tid], pthread_self ())) in get_value() 42 return thread_ids[tid]; in get_value() 69 int tid = *((int *) args); in thread_function() local 80 printf ("Thread %d Result: %lu\n", tid, result); in thread_function() 94 for (int tid = 0; tid < THREADCOUNT; ++tid) in main() local 97 thread_ids[tid] = tid + 2; /* prethreadcreationmarker */ in main() 98 err = pthread_create (&threads[tid], NULL, thread_function, in main() 99 (void *) &thread_ids[tid]); in main() 107 for (int tid = 0; tid < THREADCOUNT; ++tid) in main() local [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
H A D | multiple-successive-infcall.c | 39 for (int tid = 0; tid < THREADCOUNT; ++tid) in get_value() local 41 if (pthread_equal (threads[tid], pthread_self ())) in get_value() 42 return thread_ids[tid]; in get_value() 69 int tid = *((int *) args); in thread_function() local 80 printf ("Thread %d Result: %lu\n", tid, result); in thread_function() 94 for (int tid = 0; tid < THREADCOUNT; ++tid) in main() local 97 thread_ids[tid] = tid + 2; /* prethreadcreationmarker */ in main() 98 err = pthread_create (&threads[tid], NULL, thread_function, in main() 99 (void *) &thread_ids[tid]); in main() 107 for (int tid = 0; tid < THREADCOUNT; ++tid) in main() local [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/unittests/ |
H A D | ptid-selftests.c | 43 static constexpr ptid_t tid = ptid_t (1, 0, 2); variable 57 static_assert (tid.pid () == 1, "tid's pid is right"); 64 static_assert (!tid.lwp_p (), "tid's lwp_p is right"); 71 static_assert (tid.lwp () == 0, "tid's lwp is right"); 78 static_assert (tid.tid_p (), "tid's tid_p is right"); 83 static_assert (pid.tid () == 0, "pid's tid is right"); 84 static_assert (lwp.tid () == 0, "lwp's tid is right"); 85 static_assert (tid.tid () == 2, "tid's tid is right"); 92 static_assert (!tid.is_pid (), "tid isn't a pid"); 108 static_assert (lwp != tid, "lwp isn't equal to tid"); [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/unittests/ |
H A D | ptid-selftests.c | 43 static constexpr ptid_t tid = ptid_t (1, 0, 2); variable 57 static_assert (tid.pid () == 1, "tid's pid is right"); 64 static_assert (!tid.lwp_p (), "tid's lwp_p is right"); 71 static_assert (tid.lwp () == 0, "tid's lwp is right"); 78 static_assert (tid.tid_p (), "tid's tid_p is right"); 83 static_assert (pid.tid () == 0, "pid's tid is right"); 84 static_assert (lwp.tid () == 0, "lwp's tid is right"); 85 static_assert (tid.tid () == 2, "tid's tid is right"); 92 static_assert (!tid.is_pid (), "tid isn't a pid"); 108 static_assert (lwp != tid, "lwp isn't equal to tid"); [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/asan/ |
H A D | asan_errors.h | 28 u32 tid; member 31 explicit ErrorBase(u32 tid_) : tid(tid_) {} in ErrorBase() 43 : ErrorBase(tid), in ErrorDeadlySignal() 71 : ErrorBase(tid, 42, "double-free"), in ErrorDoubleFree() 103 : ErrorBase(tid, 40, "bad-free"), in ErrorFreeNotMalloced() 158 : ErrorBase(tid, 10, "calloc-overflow"), in ErrorCallocOverflow() 171 : ErrorBase(tid, 10, "pvalloc-overflow"), in ErrorPvallocOverflow() 240 : ErrorBase(tid, 10, "rss-limit-exceeded"), in ErrorRssLimitExceeded() 251 : ErrorBase(tid, 10, "out-of-memory"), in ErrorOutOfMemory() 268 : ErrorBase(tid), in ErrorStringFunctionMemoryRangesOverlap() [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/asan/ |
H A D | asan_errors.h | 30 u32 tid; member 33 explicit ErrorBase(u32 tid_) : tid(tid_) {} in ErrorBase() 45 : 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() 173 : ErrorBase(tid, 10, "pvalloc-overflow"), in ErrorPvallocOverflow() 242 : ErrorBase(tid, 10, "rss-limit-exceeded"), in ErrorRssLimitExceeded() 253 : ErrorBase(tid, 10, "out-of-memory"), in ErrorOutOfMemory() 270 : ErrorBase(tid), in ErrorStringFunctionMemoryRangesOverlap() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
H A D | asan_errors.h | 28 u32 tid; member 31 explicit ErrorBase(u32 tid_) : tid(tid_) {} in ErrorBase() 43 : ErrorBase(tid), in ErrorDeadlySignal() 71 : ErrorBase(tid, 42, "double-free"), in ErrorDoubleFree() 103 : ErrorBase(tid, 40, "bad-free"), in ErrorFreeNotMalloced() 158 : ErrorBase(tid, 10, "calloc-overflow"), in ErrorCallocOverflow() 171 : ErrorBase(tid, 10, "pvalloc-overflow"), in ErrorPvallocOverflow() 240 : ErrorBase(tid, 10, "rss-limit-exceeded"), in ErrorRssLimitExceeded() 251 : ErrorBase(tid, 10, "out-of-memory"), in ErrorOutOfMemory() 268 : ErrorBase(tid), in ErrorStringFunctionMemoryRangesOverlap() [all …]
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
H A D | tsan_rtl_thread.cc | 26 : ThreadContextBase(tid) in ThreadContext() 55 if (tid == 0) in OnCreated() 180 if (tctx->tid == 0) { in ReportIgnoresEnabled() 236 int tid = in ThreadCreate() local 240 return tid; in ThreadCreate() 251 if (tid) { in ThreadStart() 303 CHECK_GT(tid, 0); in ThreadJoin() 304 CHECK_LT(tid, kMaxTid); in ThreadJoin() 305 DPrintf("#%d: ThreadJoin tid=%d\n", thr->tid, tid); in ThreadJoin() 310 CHECK_GT(tid, 0); in ThreadDetach() [all …]
|
H A D | tsan_clock.cc | 109 : tid_(tid) in ThreadClock() 145 unsigned tid = dirty.tid; in acquire() local 323 const unsigned tid = dirty->tid; in UpdateCurrentThread() local 324 if (tid == tid_ || tid == kInvalidTid) { in UpdateCurrentThread() 326 dirty->tid = tid_; in UpdateCurrentThread() 360 clk_[tid] = v; in set() 361 if (nclk_ <= tid) in set() 362 nclk_ = tid + 1; in set() 515 DCHECK_LT(tid, size_); in elem() 523 return cb->clock[tid]; in elem() [all …]
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/tsan/ |
H A D | tsan_clock.cc | 107 : tid_(tid) in ThreadClock() 143 unsigned tid = dirty.tid; in acquire() local 321 const unsigned tid = dirty->tid; in UpdateCurrentThread() local 322 if (tid == tid_ || tid == kInvalidTid) { in UpdateCurrentThread() 324 dirty->tid = tid_; in UpdateCurrentThread() 358 clk_[tid] = v; in set() 359 if (nclk_ <= tid) in set() 360 nclk_ = tid + 1; in set() 513 DCHECK_LT(tid, size_); in elem() 521 return cb->clock[tid]; in elem() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
H A D | tsan_clock.cc | 107 : tid_(tid) in ThreadClock() 143 unsigned tid = dirty.tid; in acquire() local 321 const unsigned tid = dirty->tid; in UpdateCurrentThread() local 322 if (tid == tid_ || tid == kInvalidTid) { in UpdateCurrentThread() 324 dirty->tid = tid_; in UpdateCurrentThread() 358 clk_[tid] = v; in set() 359 if (nclk_ <= tid) in set() 360 nclk_ = tid + 1; in set() 513 DCHECK_LT(tid, size_); in elem() 521 return cb->clock[tid]; in elem() [all …]
|