Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/external/valgrind/main/coregrind/
Dm_threadstate.c55 ThreadId tid; in VG_() local
57 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
59 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, in VG_()
60 sizeof(VG_(threads)[tid].status), "")); in VG_()
62 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, in VG_()
63 sizeof(VG_(threads)[tid].os_state.exitcode), in VG_()
81 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
83 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
84 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
85 return &VG_(threads)[tid]; in VG_()
[all …]
Dm_machine.c48 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 …]
Dm_signals.c653 static Bool is_sig_ign(Int sigNo, ThreadId tid) in is_sig_ign() argument
658 || !VG_(gdbserver_report_signal) (sigNo, tid); in is_sig_ign()
976 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument
978 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack()
983 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument
985 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags()
989 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags()
993 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_()
997 vg_assert(VG_(is_valid_tid)(tid)); in VG_()
998 m_SP = VG_(get_SP)(tid); in VG_()
[all …]
Dpub_core_replacemalloc.h43 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/
Ddrd_thread.c49 static void thread_append_segment(const DrdThreadId tid, Segment* const sg);
50 static void thread_discard_segment(const DrdThreadId tid, Segment* const sg);
52 const DrdThreadId tid);
53 static Bool thread_conflict_set_up_to_date(const DrdThreadId tid);
153 DrdThreadId DRD_(VgThreadIdToDrdThreadId)(const ThreadId tid) in DRD_()
157 if (tid == VG_INVALID_THREADID) in DRD_()
163 && DRD_(g_threadinfo)[i].vg_threadid == tid) in DRD_()
173 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) in DRD_()
177 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); in DRD_()
187 DRD_(g_threadinfo)[i].vg_threadid = tid; in DRD_()
[all …]
Ddrd_thread.h134 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 …]
Ddrd_malloc_wrappers.c70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() argument
80 DRD_(malloclike_block)(tid, (Addr)p, size); in new_block()
89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) in DRD_()
105 mc->where = VG_(record_ExeContext)(tid, 0); in DRD_()
109 static void handle_free(ThreadId tid, void* p) in handle_free() argument
114 success = DRD_(freelike_block)(tid, (Addr)p, True); in handle_free()
122 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) in DRD_()
146 static void* drd_malloc(ThreadId tid, SizeT n) in drd_malloc() argument
148 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc()
152 static void* drd_memalign(ThreadId tid, SizeT align, SizeT n) in drd_memalign() argument
[all …]
Ddrd_error.h102 DrdThreadId tid; // Thread ID of the running thread. member
109 DrdThreadId tid; member
116 DrdThreadId tid; member
121 DrdThreadId tid; member
128 DrdThreadId tid; member
134 DrdThreadId tid; member
141 DrdThreadId tid; member
146 DrdThreadId tid; member
153 DrdThreadId tid; member
158 DrdThreadId tid; member
[all …]
Ddrd_hb.c41 UWord tid; // A DrdThreadId declared as UWord because member
70 const DrdThreadId tid) in DRD_()
72 p->tid = tid; in DRD_()
120 .tid = DRD_(thread_get_running_tid)(), in wrong_type()
157 void DRD_(hb_happens_before)(const DrdThreadId tid, Addr const hb) in DRD_()
161 const UWord word_tid = tid; in DRD_()
178 DRD_(hb_thread_initialize)(q, tid); in DRD_()
187 DRD_(thread_get_latest_segment)(&q->sg, tid); in DRD_()
192 void DRD_(hb_happens_after)(const DrdThreadId tid, const Addr hb) in DRD_()
207 DRD_(thread_new_segment)(tid); in DRD_()
[all …]
/external/icu4c/data/zone/
Dda.txt194 lg{"Acre-tid"}
198 ls{"Afghansk tid"}
201 ls{"Centralafrikansk tid"}
204 ls{"Østafrikansk tid"}
207 ls{"Sydafrikansk tid"}
211 lg{"Vestafrikansk tid"}
216 lg{"Aktyubinsk-tid"}
221 lg{"Alaska-tid"}
226 lg{"Alaska-Hawaii-tid"}
231 lg{"Almaty-tid"}
[all …]
Dsv.txt314 lg{"västbrasiliansk tid"}
318 ls{"afghansk tid"}
321 ls{"centralafrikansk tid"}
324 ls{"östafrikansk tid"}
327 ls{"sydafrikansk tid"}
331 lg{"västafrikansk tid"}
346 lg{"hawaiiansk tid"}
361 lg{"centralnordamerikansk tid"}
366 lg{"östnordamerikansk tid"}
376 lg{"västnordamerikansk tid"}
[all …]
Dnb.txt347 lg{"Acre-tid"}
351 ls{"sentralafrikansk tid"}
354 ls{"østafrikansk tid"}
357 ls{"sørafrikansk tid"}
361 lg{"vestafrikansk tid"}
366 lg{"Alaskisk tid"}
371 lg{"Amazonas-tid"}
376 lg{"Nordamerikansk (Midtvesten) tid"}
396 lg{"Russisk (Anadyr) tid"}
401 lg{"arabisk tid"}
[all …]
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c123 static void do_client_request ( ThreadId tid );
124 static void scheduler_sanity ( ThreadId tid );
125 static void mostly_clear_thread_record ( ThreadId tid );
174 void print_sched_event ( ThreadId tid, Char* what ) in print_sched_event() argument
176 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event()
253 void VG_(acquire_BigLock)(ThreadId tid, HChar* who) in VG_()
262 print_sched_event(tid, buf); in VG_()
271 tst = VG_(get_ThreadState)(tid); in VG_()
278 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_()
280 VG_(running_tid) = tid; in VG_()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_thread_registry.cc19 ThreadContextBase::ThreadContextBase(u32 tid) in ThreadContextBase() argument
20 : tid(tid), unique_id(0), os_id(0), user_id(0), status(ThreadStatusInvalid), in ThreadContextBase()
75 if (tid != 0) in SetCreated()
123 u32 tid = kUnknownTid; in CreateThread() local
137 tid = tctx->tid; in CreateThread()
140 tid = n_contexts_++; in CreateThread()
141 tctx = context_factory_(tid); in CreateThread()
142 threads_[tid] = tctx; in CreateThread()
145 CHECK_NE(tid, kUnknownTid); in CreateThread()
146 CHECK_LT(tid, max_threads_); in CreateThread()
[all …]
/external/chromium-trace/trace-viewer/src/model/
Dprocess_base.js56 for (var tid in this.threads)
57 this.threads[tid].shiftTimestampsForward(amount);
66 for (var tid in this.threads) {
67 var thread = this.threads[tid];
76 for (var tid in this.threads) {
77 var thread = this.threads[tid];
84 for (var tid in this.threads) {
85 this.threads[tid].updateBounds();
86 this.bounds.addRange(this.threads[tid].bounds);
95 for (var tid in this.threads)
[all …]
/external/linux-tools-perf/scripts/python/
Dfutex-contention.py24 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/compiler-rt/lib/tsan/rtl/
Dtsan_clock.h44 u64 get(unsigned tid) const { in get()
45 DCHECK_LT(tid, kMaxTidInClock); in get()
46 return clk_[tid]; in get()
49 void set(unsigned tid, u64 v) { in set()
50 DCHECK_LT(tid, kMaxTid); in set()
51 DCHECK_GE(v, clk_[tid]); in set()
52 clk_[tid] = v; in set()
53 if (nclk_ <= tid) in set()
54 nclk_ = tid + 1; in set()
57 void tick(unsigned tid) { in tick()
[all …]
/external/openssh/regress/
Dsftp-cmds.sh8 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/valgrind/main/coregrind/m_sigframe/
Dsigframe-x86-darwin.c94 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_()
133 tst = VG_(get_ThreadState)(tid); in VG_()
164 VG_(set_SP)(tid, esp); in VG_()
165 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(UInt)); in VG_()
168 VG_(set_IP)(tid, (UInt)handler); in VG_()
169 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(UInt)); in VG_()
172 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_()
178 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_()
[all …]
Dsigframe-amd64-darwin.c91 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_()
130 tst = VG_(get_ThreadState)(tid); in VG_()
161 VG_(set_SP)(tid, rsp); in VG_()
162 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong)); in VG_()
165 VG_(set_IP)(tid, (ULong)handler); in VG_()
166 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong)); in VG_()
169 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_()
178 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_()
[all …]
Dsigframe-ppc32-linux.c124 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/oprofile/daemon/liblegacy/
Dopd_image.c54 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/include/
Dpub_tool_tooliface.h69 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 …]
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-s390x-linux.c462 if (!ML_(valid_client_addr)(ARG2, 4*sizeof(Addr), tid, NULL)) { in PRE()
466 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 ); in PRE()
472 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
482 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
486 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE()
492 if (!ML_(valid_client_addr)(ARG2, 2*sizeof(Addr), tid, NULL)) { in PRE()
501 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) { in PRE()
505 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 ); in PRE()
514 if (!ML_(valid_client_addr)(ARG2, 6*sizeof(Addr), tid, NULL)) { in PRE()
518 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2, in PRE()
[all …]
Dsyswrap-mips32-linux.c226 static SysRes sys_set_tls (ThreadId tid, Addr tlsptr);
358 SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ) in sys_set_tls() argument
360 VG_(threads)[tid].arch.vex.guest_ULR = tlsptr; in sys_set_tls()
436 ML_ (generic_PRE_sys_socketpair) (tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3); in PRE()
446 ML_ (generic_PRE_sys_bind) (tid, ARG2_0, ARG2_1, ARG2_2); in PRE()
456 ML_ (generic_PRE_sys_accept) (tid, ARG2_0, ARG2_1, ARG2_2); in PRE()
464 ML_ (generic_PRE_sys_sendto) (tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3, in PRE()
470 ML_ (generic_PRE_sys_send) (tid, ARG2_0, ARG2_1, ARG2_2); in PRE()
476 ML_ (generic_PRE_sys_recvfrom) (tid, ARG2_0, ARG2_1, ARG2_2, in PRE()
487 ML_ (generic_PRE_sys_recv) (tid, ARG2_0, ARG2_1, ARG2_2); in PRE()
[all …]

12345678910>>...16