/external/valgrind/main/coregrind/ |
D | m_threadstate.c | 61 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_() 63 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_() 64 vg_assert(VG_(threads)[tid].tid == tid); in VG_() 65 return &VG_(threads)[tid]; in VG_() 68 Bool VG_(is_valid_tid) ( ThreadId tid ) in VG_() 71 if (tid == 0) return False; in VG_() 72 if (tid >= VG_N_THREADS) return False; in VG_() 73 if (VG_(threads)[tid].status == VgTs_Empty) return False; in VG_() 83 Bool VG_(is_running_thread)(ThreadId tid) in VG_() 85 ThreadState *tst = VG_(get_ThreadState)(tid); in VG_() [all …]
|
D | m_machine.c | 46 Addr VG_(get_IP) ( ThreadId tid ) { in VG_() 47 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_() 49 Addr VG_(get_SP) ( ThreadId tid ) { in VG_() 50 return STACK_PTR( VG_(threads)[tid].arch ); in VG_() 52 Addr VG_(get_FP) ( ThreadId tid ) { in VG_() 53 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_() 56 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_() 57 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_() 59 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_() 60 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_() [all …]
|
D | m_signals.c | 952 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument 954 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack() 959 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument 961 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags() 965 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags() 969 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_() 973 vg_assert(VG_(is_valid_tid)(tid)); in VG_() 974 m_SP = VG_(get_SP)(tid); in VG_() 979 tid, (void*)ss, in VG_() 986 oss->ss_sp = VG_(threads)[tid].altstack.ss_sp; 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 …]
|
/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); 142 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_() 146 if (tid == VG_INVALID_THREADID) in DRD_() 152 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_() 162 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_() 166 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_() 177 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_() [all …]
|
D | drd_thread.h | 129 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid); 130 DrdThreadId DRD_(NewVgThreadIdToDrdThreadId)(const ThreadId tid); 131 DrdThreadId DRD_(PtThreadIdToDrdThreadId)(const PThreadId tid); 132 ThreadId DRD_(DrdThreadIdToVgThreadId)(const DrdThreadId tid); 137 void DRD_(thread_delete)(const DrdThreadId tid, Bool detached); 138 void DRD_(thread_finished)(const DrdThreadId tid); 139 void DRD_(drd_thread_atfork_child)(const DrdThreadId tid); 140 void DRD_(thread_pre_cancel)(const DrdThreadId tid); 141 void DRD_(thread_set_stack_startup)(const DrdThreadId tid, 143 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 114 if (DRD_(freelike_block)(tid, (Addr)p)) in handle_free() 124 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p) in DRD_() 145 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() argument 147 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc() 151 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_() 183 DRD_(hb_thread_initialize)(q, tid); in DRD_() 192 DRD_(thread_get_latest_segment)(&q->sg, tid); in DRD_() 197 void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb) in DRD_() 214 DRD_(thread_new_segment)(tid); in DRD_() [all …]
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | scheduler.c | 116 static void do_client_request ( ThreadId tid ); 117 static void scheduler_sanity ( ThreadId tid ); 118 static void mostly_clear_thread_record ( ThreadId tid ); 149 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event() argument 151 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event() 205 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_() 214 print_sched_event(tid, buf); in VG_() 223 tst = VG_(get_ThreadState)(tid); in VG_() 230 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_() 232 VG_(running_tid) = tid; in VG_() [all …]
|
/external/icu4c/data/zone/ |
D | da.txt | 113 ls{"Acre-tid"} 116 ls{"Afghansk tid"} 119 ls{"centralafrikansk tid"} 122 ls{"østafrikansk tid"} 125 lg{"sydafrikansk tid"} 130 ls{"vestafrikansk tid"} 134 ls{"Aktyubinsk-tid"} 138 lg{"Alaska-tid"} 143 lg{"Alaska-Hawaii-tid"} 148 ls{"Almaty-tid"} [all …]
|
D | sv.txt | 302 lg{"västbrasiliansk tid"} 307 lg{"afghansk tid"} 312 lg{"centralafrikansk tid"} 313 ls{"centralafrikansk tid"} 317 lg{"östafrikansk tid"} 322 lg{"västsaharisk tid"} 327 lg{"sydafrikansk tid"} 332 lg{"västafrikansk tid"} 349 lg{"hawaiiansk tid"} 366 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/valgrind/main/exp-ptrcheck/ |
D | h_main.h | 59 void* h_replace_malloc ( ThreadId tid, SizeT n ); 60 void* h_replace___builtin_new ( ThreadId tid, SizeT n ); 61 void* h_replace___builtin_vec_new ( ThreadId tid, SizeT n ); 62 void* h_replace_memalign ( ThreadId tid, SizeT align, SizeT n ); 63 void* h_replace_calloc ( ThreadId tid, SizeT nmemb, SizeT size1 ); 64 void h_replace_free ( ThreadId tid, void* p ); 65 void h_replace___builtin_delete ( ThreadId tid, void* p ); 66 void h_replace___builtin_vec_delete ( ThreadId tid, void* p ); 67 void* h_replace_realloc ( ThreadId tid, void* p_old, SizeT new_size ); 68 SizeT h_replace_malloc_usable_size ( ThreadId tid, void* p ); [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-amd64-darwin.c | 90 ThreadId tid = tst->tid; in extend() local 98 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend() 108 void VG_(sigframe_create) ( ThreadId tid, in VG_() 127 tst = VG_(get_ThreadState)(tid); in VG_() 158 VG_(set_SP)(tid, rsp); in VG_() 159 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong)); in VG_() 162 VG_(set_IP)(tid, (ULong)handler); in VG_() 163 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong)); in VG_() 166 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 175 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() [all …]
|
D | sigframe-x86-darwin.c | 93 ThreadId tid = tst->tid; in extend() local 101 addr - VG_STACK_REDZONE_SZB, size, tid ); in extend() 111 void VG_(sigframe_create) ( ThreadId tid, in VG_() 130 tst = VG_(get_ThreadState)(tid); in VG_() 161 VG_(set_SP)(tid, esp); in VG_() 162 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(UInt)); in VG_() 165 VG_(set_IP)(tid, (UInt)handler); in VG_() 166 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(UInt)); in VG_() 169 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 175 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() [all …]
|
D | sigframe-ppc32-aix5.c | 83 ThreadId tid = tst->tid; in extend() local 91 addr, size - VG_STACK_REDZONE_SZB, tid ); in extend() 97 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 104 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 111 void VG_(sigframe_create) ( ThreadId tid, in VG_() 131 tst = VG_(get_ThreadState)(tid); in VG_() 155 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 158 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() 162 SET_SIGNAL_GPR(tid, 1, sp); in VG_() 163 SET_SIGNAL_GPR(tid, 2, ((UWord*)handler)[1]); in VG_() [all …]
|
D | sigframe-ppc64-aix5.c | 83 ThreadId tid = tst->tid; in extend() local 91 addr, size - VG_STACK_REDZONE_SZB, tid ); in extend() 97 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 104 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 111 void VG_(sigframe_create) ( ThreadId tid, in VG_() 131 tst = VG_(get_ThreadState)(tid); in VG_() 155 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 158 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() 162 SET_SIGNAL_GPR(tid, 1, sp); in VG_() 163 SET_SIGNAL_GPR(tid, 2, ((UWord*)handler)[1]); in VG_() [all …]
|
D | sigframe-ppc32-linux.c | 123 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 130 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 142 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext() 164 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext() 178 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", in stack_mcontext() 182 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, in stack_mcontext() 510 ThreadId tid = tst->tid; in extend() local 524 addr, tid); in extend() 532 VG_(synth_fault_mapping)(tid, addr); in extend() 542 size + VG_STACK_REDZONE_SZB, tid ); in extend() [all …]
|
D | sigframe-ppc64-linux.c | 121 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 128 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 140 ThreadId tid = tst->tid; in extend() local 154 addr, tid); in extend() 162 VG_(synth_fault_mapping)(tid, addr); in extend() 172 size + VG_STACK_REDZONE_SZB, tid ); in extend() 179 void VG_(sigframe_create)( ThreadId tid, in VG_() 202 tst = VG_(get_ThreadState)(tid); in VG_() 222 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_() 225 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_() [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 | 104 Addr VG_(get_IP) ( ThreadId tid ); 105 Addr VG_(get_SP) ( ThreadId tid ); 115 VG_(get_shadow_regs_area) ( ThreadId tid, 119 VG_(set_shadow_regs_area) ( ThreadId tid, 125 void VG_(set_syscall_return_shadows) ( ThreadId tid, 140 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 141 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 146 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 149 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); 153 extern Addr VG_(thread_get_altstack_min) ( ThreadId tid ); [all …]
|
/external/valgrind/main/memcheck/ |
D | mc_malloc_wrappers.c | 189 void* MC_(new_block) ( ThreadId tid, in MC_() 218 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/); in MC_() 234 void* MC_(malloc) ( ThreadId tid, SizeT n ) in MC_() 239 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_() 244 void* MC_(__builtin_new) ( ThreadId tid, SizeT n ) in MC_() 249 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_() 254 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n ) in MC_() 259 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_() 264 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n ) in MC_() 269 return MC_(new_block) ( tid, 0, n, alignB, in MC_() [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 …]
|