/external/valgrind/main/drd/ |
D | drd_thread.c | 50 static void thread_append_segment(const DrdThreadId tid, Segment* const sg); 51 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg); 53 const DrdThreadId tid); 54 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid); 150 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_() 154 if (tid == VG_INVALID_THREADID) in DRD_() 160 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_() 170 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_() 174 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_() 184 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_() [all …]
|
D | drd_thread.h | 134 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 135 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 136 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid); 137 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 142 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached); 143 void DRD_(thread_finished)(const DrdThreadId tid); 144 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid); 145 void DRD_(thread_pre_cancel)(const DrdThreadId tid); 146 void DRD_(thread_set_stack_startup)(const DrdThreadId tid, 148 Addr DRD_(thread_get_stack_min)(const DrdThreadId tid); [all …]
|
D | drd_malloc_wrappers.c | 71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() argument 81 DRD_(malloclike_block)(tid, (Addr)p, size); in new_block() 90 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_() 106 mc->where = VG_(record_ExeContext)(tid, 0); in DRD_() 110 static void handle_free(ThreadId tid, void* p) in handle_free() argument 115 success = DRD_(freelike_block)(tid, (Addr)p, True); in handle_free() 123 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_() 147 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() argument 149 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc() 153 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() argument [all …]
|
D | drd_error.h | 103 DrdThreadId tid; // Thread ID of the running thread. member 110 DrdThreadId tid; member 117 DrdThreadId tid; member 122 DrdThreadId tid; member 129 DrdThreadId tid; member 135 DrdThreadId tid; member 142 DrdThreadId tid; member 147 DrdThreadId tid; member 154 DrdThreadId tid; member 159 DrdThreadId tid; member [all …]
|
D | drd_hb.c | 42 UWord tid; // A DrdThreadId declared as UWord because member 71 const DrdThreadId tid) in DRD_() 73 p->tid = tid; in DRD_() 121 .tid = DRD_(thread_get_running_tid)(), in wrong_type() 158 void DRD_(hb_happens_before)(const DrdThreadId tid, Addr const hb) in DRD_() 162 const UWord word_tid = tid; in DRD_() 179 DRD_(hb_thread_initialize)(q, tid); in DRD_() 188 DRD_(thread_get_latest_segment)(&q->sg, tid); in DRD_() 193 void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb) in DRD_() 208 DRD_(thread_new_segment)(tid); in DRD_() [all …]
|
/external/valgrind/main/coregrind/ |
D | m_threadstate.c | 62 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() 64 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_() 65 vg_assert(VG_(threads)[tid].tid == tid); in VG_() 66 return &VG_(threads)[tid]; in VG_() 69 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() 72 if (tid == 0) return False; in VG_() 73 if (tid >= VG_N_THREADS) return False; in VG_() 74 if (VG_(threads)[tid].status == VgTs_Empty) return False; in VG_() 84 Bool VG_(is_running_thread)(ThreadId tid) in VG_() 86 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_() [all …]
|
D | m_signals.c | 598 static Bool is_sig_ign(Int sigNo, ThreadId tid) in is_sig_ign() argument 603 || !VG_(gdbserver_report_signal) (sigNo, tid); in is_sig_ign() 904 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument 906 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack() 911 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument 913 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags() 917 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags() 921 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_() 925 vg_assert(VG_(is_valid_tid)(tid)); in VG_() 926 m_SP = VG_(get_SP)(tid); in VG_() [all …]
|
D | pub_core_replacemalloc.h | 43 void* (*tl_malloc) (ThreadId tid, SizeT n); 44 void* (*tl___builtin_new) (ThreadId tid, SizeT n); 45 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n); 46 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n); 47 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n); 48 void (*tl_free) (ThreadId tid, void* p); 49 void (*tl___builtin_delete) (ThreadId tid, void* p); 50 void (*tl___builtin_vec_delete)(ThreadId tid, void* p); 51 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size); 52 SizeT (*tl_malloc_usable_size) (ThreadId tid, void* payload); [all …]
|
D | m_machine.c | 48 Addr VG_(get_IP) ( ThreadId tid ) { in VG_() 49 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_() 51 Addr VG_(get_SP) ( ThreadId tid ) { in VG_() 52 return STACK_PTR( VG_(threads)[tid].arch ); in VG_() 54 Addr VG_(get_FP) ( ThreadId tid ) { in VG_() 55 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_() 58 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_() 59 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_() 61 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_() 62 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_() [all …]
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | scheduler.c | 125 static void do_client_request ( ThreadId tid ); 126 static void scheduler_sanity ( ThreadId tid ); 127 static void mostly_clear_thread_record ( ThreadId tid ); 163 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event() argument 165 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event() 234 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_() 243 print_sched_event(tid, buf); in VG_() 252 tst = VG_(get_ThreadState)(tid); in VG_() 259 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_() 261 VG_(running_tid) = tid; in VG_() [all …]
|
/external/icu4c/data/zone/ |
D | da.txt | 134 ls{"Acre-tid"} 137 ls{"Afghansk tid"} 146 lg{"Sydafrikansk tid"} 155 ls{"Aktyubinsk-tid"} 159 lg{"Alaska-tid"} 164 lg{"Alaska-Hawaii-tid"} 169 ls{"Almaty-tid"} 173 lg{"Amazonas-tid"} 178 lg{"Central-tid"} 183 lg{"Eastern-tid"} [all …]
|
D | nb.txt | 575 ls{"Acre-tid"} 578 ls{"sentralafrikansk tid"} 581 ls{"østafrikansk tid"} 584 lg{"sørafrikansk tid"} 589 ls{"vestafrikansk tid"} 593 lg{"Alaskisk tid"} 599 ls{"Amazonas-tid"} 603 lg{"Nordamerikansk (Midtvesten) tid"} 623 lg{"Russisk (Anadyr) tid"} 624 ls{"Russisk (Anadyr) tid"} [all …]
|
D | sv.txt | 344 lg{"västbrasiliansk tid"} 349 lg{"afghansk tid"} 354 lg{"centralafrikansk tid"} 355 ls{"centralafrikansk tid"} 359 lg{"östafrikansk tid"} 364 lg{"västsaharisk tid"} 369 lg{"sydafrikansk tid"} 374 lg{"västafrikansk tid"} 389 lg{"hawaiiansk tid"} 404 lg{"centralnordamerikansk tid"} [all …]
|
/external/valgrind/tsan/ |
D | ts_pin.cc | 69 static void DumpEvent(CONTEXT *ctx, EventType type, int32_t tid, uintptr_t pc, 132 typedef void (*callback_t)(THREADID tid, InstrumentedCallFrame &frame, 203 THREADID tid; member 240 static void ReportAccesRange(THREADID tid, uintptr_t pc, EventType type, uintptr_t x, size_t size) { in ReportAccesRange() argument 241 if (size && !g_pin_threads[tid].ignore_accesses) { in ReportAccesRange() 245 DumpEvent(0, type, tid, pc, a, cur_size); in ReportAccesRange() 250 #define REPORT_READ_RANGE(x, size) ReportAccesRange(tid, pc, READ, (uintptr_t)x, size) 251 #define REPORT_WRITE_RANGE(x, size) ReportAccesRange(tid, pc, WRITE, (uintptr_t)x, size) 253 #define EXTRA_REPLACE_PARAMS THREADID tid, uintptr_t pc, 254 #define EXTRA_REPLACE_ARGS tid, pc, [all …]
|
/external/linux-tools-perf/scripts/python/ |
D | futex-contention.py | 24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, argument 30 process_names[tid] = comm 31 thread_thislock[tid] = uaddr 32 thread_blocktime[tid] = nsecs(s, ns) 34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, argument 36 if thread_blocktime.has_key(tid): 37 elapsed = nsecs(s, ns) - thread_blocktime[tid] 38 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed) 39 del thread_blocktime[tid] 40 del thread_thislock[tid] [all …]
|
/external/openssh/regress/ |
D | sftp-cmds.sh | 8 tid="sftp commands" 46 verbose "$tid: lls" 50 verbose "$tid: lls w/path" 54 verbose "$tid: ls" 59 verbose "$tid: shell" 64 verbose "$tid: pwd" 69 verbose "$tid: lpwd" 74 verbose "$tid: quit" 79 verbose "$tid: help" 85 verbose "$tid: get" [all …]
|
/external/oprofile/daemon/liblegacy/ |
D | opd_image.c | 54 image->tid, image->tgid, (int)image->ref_count); in opd_delete_image() 60 image->tid, image->tgid, image->ref_count); in opd_delete_image() 103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid) in opd_hash_image() argument 107 hash += tid + tgid; in opd_hash_image() 130 pid_t tid, pid_t tgid) in opd_new_image() argument 136 "tgid %d\n", name, app_name, kernel, tid, tgid); in opd_new_image() 143 image->tid = tid; in opd_new_image() 157 hash_image = opd_hash_image(name, tid, tgid); in opd_new_image() 178 pid_t tid, pid_t tgid) in is_same_image() argument 186 if (image->tid != tid || image->tgid != tgid) in is_same_image() [all …]
|
/external/valgrind/main/coregrind/m_sigframe/ |
D | sigframe-x86-darwin.c | 94 ThreadId tid = tst->tid; in extend() local 102 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend() 112 void VG_(sigframe_create) ( ThreadId tid, in VG_() 131 tst = VG_(get_ThreadState)(tid); in VG_() 162 VG_(set_SP)(tid, esp); in VG_() 163 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(UInt)); in VG_() 166 VG_(set_IP)(tid, (UInt)handler); in VG_() 167 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(UInt)); in VG_() 170 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 176 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() [all …]
|
D | sigframe-amd64-darwin.c | 91 ThreadId tid = tst->tid; in extend() local 99 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend() 109 void VG_(sigframe_create) ( ThreadId tid, in VG_() 128 tst = VG_(get_ThreadState)(tid); in VG_() 159 VG_(set_SP)(tid, rsp); in VG_() 160 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong)); in VG_() 163 VG_(set_IP)(tid, (ULong)handler); in VG_() 164 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong)); in VG_() 167 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 176 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() [all …]
|
D | sigframe-ppc32-linux.c | 124 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 131 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 143 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext() 165 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext() 179 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext() 183 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext() 511 ThreadId tid = tst->tid; in extend() local 525 addr, tid); in extend() 533 VG_(synth_fault_mapping)(tid, addr); in extend() 543 size + VG_STACK_REDZONE_SZB, tid ); in extend() [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_thread_registry.cc | 46 int tid = n_threads_; in RegisterThread() local 52 summary->set_tid(tid); in RegisterThread() 53 thread_summaries_[tid] = summary; in RegisterThread() 78 if (thread && thread->tid() == 0) { in GetCurrent() 132 AsanThreadSummary *AsanThreadRegistry::FindByTid(int tid) { in FindByTid() argument 133 CHECK(tid >= 0); in FindByTid() 134 CHECK(tid < n_threads_); in FindByTid() 135 CHECK(thread_summaries_[tid]); in FindByTid() 136 return thread_summaries_[tid]; in FindByTid() 144 for (int tid = n_threads_ - 1; tid >= 0; tid--) { in FindThreadByStackAddress() local [all …]
|
/external/valgrind/main/include/ |
D | pub_tool_tooliface.h | 69 ThreadId tid; /* tid requesting translation */ member 410 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret) 425 void (* pre_syscall)(ThreadId tid, UInt syscallno, 427 void (*post_syscall)(ThreadId tid, UInt syscallno, 448 void* (*pmalloc) ( ThreadId tid, SizeT n ), 449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ), 450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ), 451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ), 452 void* (*pcalloc) ( ThreadId tid, SizeT nmemb, SizeT size1 ), 453 void (*pfree) ( ThreadId tid, void* p ), [all …]
|
D | pub_tool_machine.h | 93 Addr VG_(get_IP) ( ThreadId tid ); 94 Addr VG_(get_SP) ( ThreadId tid ); 104 VG_(get_shadow_regs_area) ( ThreadId tid, 108 VG_(set_shadow_regs_area) ( ThreadId tid, 114 void VG_(set_syscall_return_shadows) ( ThreadId tid, 129 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 130 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 135 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 138 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); 142 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid ); [all …]
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-s390x-linux.c | 460 if (!ML_(valid_client_addr)(ARG2, 4*sizeof(Addr), tid, NULL)) { in PRE() 464 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); in PRE() 470 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE() 480 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE() 484 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE() 490 if (!ML_(valid_client_addr)(ARG2, 2*sizeof(Addr), tid, NULL)) { in PRE() 499 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE() 503 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE() 512 if (!ML_(valid_client_addr)(ARG2, 6*sizeof(Addr), tid, NULL)) { in PRE() 516 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, in PRE() [all …]
|
/external/bluetooth/bluez/cups/ |
D | hcrp.c | 55 uint16_t tid; member 82 static int hcrp_credit_grant(int sk, uint16_t tid, uint32_t credit) in hcrp_credit_grant() argument 91 hdr.tid = htons(tid); in hcrp_credit_grant() 115 static int hcrp_credit_request(int sk, uint16_t tid, uint32_t *credit) in hcrp_credit_request() argument 123 hdr.tid = htons(tid); in hcrp_credit_request() 148 static int hcrp_get_lpt_status(int sk, uint16_t tid, uint8_t *lpt_status) in hcrp_get_lpt_status() argument 156 hdr.tid = htons(tid); in hcrp_get_lpt_status() 181 static inline int hcrp_get_next_tid(int tid) in hcrp_get_next_tid() argument 183 if (tid > 0xf000) in hcrp_get_next_tid() 186 return tid + 1; in hcrp_get_next_tid() [all …]
|