Home
last modified time | relevance | path

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

12345678910>>...24

/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_()
92 ThreadState *VG_(get_ThreadState)(ThreadId tid) in VG_()
94 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
95 vg_assert(VG_(threads)[tid].tid == tid); in VG_()
96 return &VG_(threads)[tid]; in VG_()
[all …]
Dm_machine.c49 Addr VG_(get_IP) ( ThreadId tid ) { in VG_()
50 return INSTR_PTR( VG_(threads)[tid].arch ); in VG_()
52 Addr VG_(get_SP) ( ThreadId tid ) { in VG_()
53 return STACK_PTR( VG_(threads)[tid].arch ); in VG_()
55 Addr VG_(get_FP) ( ThreadId tid ) { in VG_()
56 return FRAME_PTR( VG_(threads)[tid].arch ); in VG_()
59 void VG_(set_IP) ( ThreadId tid, Addr ip ) { in VG_()
60 INSTR_PTR( VG_(threads)[tid].arch ) = ip; in VG_()
62 void VG_(set_SP) ( ThreadId tid, Addr sp ) { in VG_()
63 STACK_PTR( VG_(threads)[tid].arch ) = sp; in VG_()
[all …]
Dm_signals.c684 static Bool is_sig_ign(Int sigNo, ThreadId tid) in is_sig_ign() argument
689 || !VG_(gdbserver_report_signal) (sigNo, tid); in is_sig_ign()
1023 static Bool on_sig_stack ( ThreadId tid, Addr m_SP ) in on_sig_stack() argument
1025 ThreadState *tst = VG_(get_ThreadState)(tid); in on_sig_stack()
1030 static Int sas_ss_flags ( ThreadId tid, Addr m_SP ) in sas_ss_flags() argument
1032 ThreadState *tst = VG_(get_ThreadState)(tid); in sas_ss_flags()
1036 : on_sig_stack(tid, m_SP) ? VKI_SS_ONSTACK : 0); in sas_ss_flags()
1040 SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, vki_stack_t* oss ) in VG_()
1044 vg_assert(VG_(is_valid_tid)(tid)); in VG_()
1045 m_SP = VG_(get_SP)(tid); in VG_()
[all …]
Dpub_core_replacemalloc.h44 void* (*tl_malloc) (ThreadId tid, SizeT n);
45 void* (*tl___builtin_new) (ThreadId tid, SizeT n);
46 void* (*tl___builtin_vec_new) (ThreadId tid, SizeT n);
47 void* (*tl_memalign) (ThreadId tid, SizeT align, SizeT n);
48 void* (*tl_calloc) (ThreadId tid, SizeT nmemb, SizeT n);
49 void (*tl_free) (ThreadId tid, void* p);
50 void (*tl___builtin_delete) (ThreadId tid, void* p);
51 void (*tl___builtin_vec_delete)(ThreadId tid, void* p);
52 void* (*tl_realloc) (ThreadId tid, void* p, SizeT size);
53 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 …]
/external/icu/icu4c/source/data/zone/
Dda.txt215 lg{"Acre-tid"}
219 ls{"Afghansk tid"}
222 ls{"Centralafrikansk tid"}
225 ls{"Østafrikansk tid"}
228 ls{"Sydafrikansk tid"}
232 lg{"Vestafrikansk tid"}
237 lg{"Alaska-tid"}
242 lg{"Almaty-tid"}
247 lg{"Amazonas-tid"}
252 lg{"Central-tid"}
[all …]
Dsv.txt410 lg{"västbrasiliansk tid"}
414 ls{"afghansk tid"}
417 ls{"centralafrikansk tid"}
420 ls{"östafrikansk tid"}
423 ls{"sydafrikansk tid"}
427 lg{"västafrikansk tid"}
447 lg{"centralnordamerikansk tid"}
452 lg{"östnordamerikansk tid"}
462 lg{"västnordamerikansk tid"}
482 lg{"saudiarabisk tid"}
[all …]
Dnb.txt365 lg{"Acre-tid"}
369 ls{"afghansk tid"}
372 ls{"sentralafrikansk tid"}
375 ls{"østafrikansk tid"}
378 ls{"sørafrikansk tid"}
382 lg{"vestafrikansk tid"}
387 lg{"alaskisk tid"}
392 lg{"Almaty-tid"}
422 lg{"Russisk (Anadyr) tid"}
427 lg{"Aqtau-tid"}
[all …]
/external/chromium_org/third_party/icu/source/data/zone/
Dda.txt218 lg{"Acre-tid"}
222 ls{"Afghansk tid"}
225 ls{"Centralafrikansk tid"}
228 ls{"Østafrikansk tid"}
231 ls{"Sydafrikansk tid"}
235 lg{"Vestafrikansk tid"}
240 lg{"Alaska-tid"}
245 lg{"Almaty-tid"}
250 lg{"Amazonas-tid"}
255 lg{"Central-tid"}
[all …]
/external/valgrind/main/coregrind/m_scheduler/
Dscheduler.c125 static void do_client_request ( ThreadId tid );
126 static void scheduler_sanity ( ThreadId tid );
127 static void mostly_clear_thread_record ( ThreadId tid );
176 void print_sched_event ( ThreadId tid, const HChar* what ) in print_sched_event() argument
178 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); in print_sched_event()
263 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) in VG_()
272 print_sched_event(tid, buf); in VG_()
281 tst = VG_(get_ThreadState)(tid); in VG_()
288 VG_(printf)("tid %d found %d running\n", tid, VG_(running_tid)); in VG_()
290 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), reuse_count(), os_id(0), user_id(0), in ThreadContextBase()
75 if (tid != 0) in SetCreated()
124 u32 tid = kUnknownTid; in CreateThread() local
127 tid = tctx->tid; in CreateThread()
130 tid = n_contexts_++; in CreateThread()
131 tctx = context_factory_(tid); in CreateThread()
132 threads_[tid] = tctx; in CreateThread()
144 CHECK_NE(tid, kUnknownTid); in CreateThread()
145 CHECK_LT(tid, max_threads_); in CreateThread()
[all …]
/external/linux-tools-perf/perf-3.12.0/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/chromium-trace/trace-viewer/src/tracing/trace_model/
Dprocess_base.js82 for (var tid in this.threads)
83 this.threads[tid].shiftTimestampsForward(amount);
93 for (var tid in this.threads) {
94 var thread = this.threads[tid];
122 for (var tid in this.threads) {
123 var thread = this.threads[tid];
130 for (var tid in this.threads) {
131 this.threads[tid].updateBounds();
132 this.bounds.addRange(this.threads[tid].bounds);
143 for (var tid in this.threads)
[all …]
/external/lldb/source/Plugins/Process/Utility/
DRegisterContextMach_arm.cpp36 RegisterContextMach_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
39 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
43 RegisterContextMach_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
46 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
50 RegisterContextMach_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
53 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
57 RegisterContextMach_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg) in DoReadDBG() argument
60 return ::thread_get_state(tid, flavor, (thread_state_t)&dbg, &count); in DoReadDBG()
64 RegisterContextMach_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
66 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
[all …]
DRegisterContextMach_x86_64.cpp34 RegisterContextMach_x86_64::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
41 RegisterContextMach_x86_64::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
48 RegisterContextMach_x86_64::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
55 RegisterContextMach_x86_64::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
61 RegisterContextMach_x86_64::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) in DoWriteFPU() argument
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount); in DoWriteFPU()
[all …]
DRegisterContextMach_i386.cpp34 RegisterContextMach_i386::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) in DoReadGPR() argument
37 return ::thread_get_state(tid, flavor, (thread_state_t)&gpr, &count); in DoReadGPR()
41 RegisterContextMach_i386::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) in DoReadFPU() argument
44 return ::thread_get_state(tid, flavor, (thread_state_t)&fpu, &count); in DoReadFPU()
48 RegisterContextMach_i386::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) in DoReadEXC() argument
51 return ::thread_get_state(tid, flavor, (thread_state_t)&exc, &count); in DoReadEXC()
55 RegisterContextMach_i386::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) in DoWriteGPR() argument
57 return ::thread_set_state(tid, flavor, (thread_state_t)&gpr, GPRWordCount); in DoWriteGPR()
61 RegisterContextMach_i386::DoWriteFPU (lldb::tid_t tid, int flavor, const FPU &fpu) in DoWriteFPU() argument
63 return ::thread_set_state(tid, flavor, (thread_state_t)&fpu, FPUWordCount); in DoWriteFPU()
[all …]
/external/chromium-trace/trace-viewer/src/tracing/importer/
Dtrace_event_importer_test.js20 {name: 'a', args: {}, pid: 52, ts: 520, cat: 'foo', tid: 53, ph: 'B'}, property
21 {name: 'a', args: {}, pid: 52, ts: 560, cat: 'foo', tid: 53, ph: 'E'}, property
22 {name: 'b', args: {}, pid: 52, ts: 629, cat: 'bar', tid: 53, ph: 'B'}, property
23 {name: 'b', args: {}, pid: 52, ts: 631, cat: 'bar', tid: 53, ph: 'E'} property
35 assertEquals(53, t.tid);
58 tid: 1, property
65 tid: 1, property
79 {name: 'a', args: {}, pid: 52, ts: 520, cat: 'foo', tid: 53, ph: 'B'}, property
80 {name: 'a', args: {}, pid: 52, ts: 560, cat: 'bar', tid: 53, ph: 'E'} property
92 assertEquals(53, t.tid);
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc174 unsigned tid; member
176 explicit SimpleThreadClock(unsigned tid) { in SimpleThreadClock()
177 this->tid = tid; in SimpleThreadClock()
178 size = tid + 1; in SimpleThreadClock()
184 clock[tid]++; in tick()
250 unsigned tid = rand() % kThreads; in ClockFuzzer() local
252 thr0[tid]->tick(); in ClockFuzzer()
253 thr1[tid]->tick(); in ClockFuzzer()
258 printf("acquire thr%d <- clk%d\n", tid, cid); in ClockFuzzer()
259 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
[all …]
/external/chromium_org/tools/grit/grit/format/
Drc_header.py62 for tid in item.GetTextualIds():
63 if tid in tids and tid not in seen:
64 seen.add(tid)
65 yield rc_header_format.format(textual_id=tid,numeric_id=tids[tid])
73 for tid in item.GetTextualIds():
74 if tid in tids and tid not in seen:
75 seen.add(tid)
76 yield rc_header_format.format(textual_id=tid,numeric_id=tids[tid])
124 for tid in item.GetTextualIds():
125 if util.SYSTEM_IDENTIFIERS.match(tid):
[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/coregrind/m_sigframe/
Dsigframe-amd64-darwin.c91 ThreadId tid = tst->tid; in extend() local
93 size + VG_STACK_REDZONE_SZB, tid ); in extend()
103 void VG_(sigframe_create) ( ThreadId tid, in VG_()
124 tst = VG_(get_ThreadState)(tid); in VG_()
155 VG_(set_SP)(tid, rsp); in VG_()
156 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong)); in VG_()
159 VG_(set_IP)(tid, (ULong)handler); in VG_()
160 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong)); in VG_()
163 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame", in VG_()
172 VG_TRACK( post_mem_write, Vg_CoreSignal, tid, in VG_()
[all …]
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 …]
/external/lldb/source/Plugins/Process/POSIX/
DProcessMessage.h83 static ProcessMessage Limbo(lldb::tid_t tid, int status) { in Limbo() argument
84 return ProcessMessage(tid, eLimboMessage, status); in Limbo()
88 static ProcessMessage Signal(lldb::tid_t tid, int signum) { in Signal() argument
89 return ProcessMessage(tid, eSignalMessage, signum); in Signal()
94 static ProcessMessage SignalDelivered(lldb::tid_t tid, int signum) { in SignalDelivered() argument
95 return ProcessMessage(tid, eSignalDeliveredMessage, signum); in SignalDelivered()
99 static ProcessMessage Trace(lldb::tid_t tid) { in Trace() argument
100 return ProcessMessage(tid, eTraceMessage); in Trace()
104 static ProcessMessage Break(lldb::tid_t tid) { in Break() argument
105 return ProcessMessage(tid, eBreakpointMessage); in Break()
[all …]

12345678910>>...24