/external/valgrind/main/drd/ |
H A D | drd_thread.c | 49 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) argument 157 if (tid == VG_INVALID_THREADID) 163 && DRD_(g_threadinfo)[i].vg_threadid == tid) 173 static DrdThreadId DRD_(VgThreadIdToNewDrdThreadId)(const ThreadId tid) argument 177 tl_assert(DRD_(VgThreadIdToDrdThreadId)(tid) == DRD_INVALID_THREADID); 187 DRD_(g_threadinfo)[i].vg_threadid = tid; 219 PtThreadIdToDrdThreadId(const PThreadId tid) argument 238 DrdThreadIdToVgThreadId(const DrdThreadId tid) argument 337 thread_delayed_delete(const DrdThreadId tid) argument 416 thread_set_stack_startup(const DrdThreadId tid, const Addr stack_startup) argument 427 thread_get_stack_min(const DrdThreadId tid) argument 438 thread_get_stack_min_min(const DrdThreadId tid) argument 446 thread_get_stack_max(const DrdThreadId tid) argument 454 thread_get_stack_size(const DrdThreadId tid) argument 461 thread_get_on_alt_stack(const DrdThreadId tid) argument 468 thread_set_on_alt_stack(const DrdThreadId tid, const Bool on_alt_stack) argument 489 thread_delete(const DrdThreadId tid, const Bool detached) argument 521 thread_finished(const DrdThreadId tid) argument 547 drd_thread_atfork_child(const DrdThreadId tid) argument 562 thread_pre_cancel(const DrdThreadId tid) argument 580 thread_set_pthreadid(const DrdThreadId tid, const PThreadId ptid) argument 592 thread_get_joinable(const DrdThreadId tid) argument 606 thread_set_joinable(const DrdThreadId tid, const Bool joinable) argument 617 thread_entering_pthread_create(const DrdThreadId tid) argument 628 thread_left_pthread_create(const DrdThreadId tid) argument 639 thread_get_name(const DrdThreadId tid) argument 648 thread_set_name(const DrdThreadId tid, const HChar* const name) argument 719 thread_enter_synchr(const DrdThreadId tid) argument 729 thread_leave_synchr(const DrdThreadId tid) argument 737 thread_get_synchr_nesting_count(const DrdThreadId tid) argument 745 thread_append_segment(const DrdThreadId tid, Segment* const sg) argument 773 thread_discard_segment(const DrdThreadId tid, Segment* const sg) argument 801 thread_get_vc(const DrdThreadId tid) argument 815 thread_get_latest_segment(Segment** sg, const DrdThreadId tid) argument 955 thread_consistent_segment_ordering(const DrdThreadId tid, Segment* const sg1, Segment* const sg2) argument 1047 thread_new_segment(const DrdThreadId tid) argument 1127 thread_combine_vc_sync(DrdThreadId tid, const Segment* sg) argument 1169 thread_new_segment_and_combine_vc(DrdThreadId tid, const Segment* sg) argument 1204 thread_set_record_loads(const DrdThreadId tid, const Bool enabled) argument 1214 thread_set_record_stores(const DrdThreadId tid, const Bool enabled) argument 1254 show_call_stack(const DrdThreadId tid, ExeContext* const callstack) argument 1272 thread_report_conflicting_segments_segment(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type, const Segment* const p) argument 1327 thread_report_conflicting_segments(const DrdThreadId tid, const Addr addr, const SizeT size, const BmAccessTypeT access_type) argument 1348 thread_conflict_set_up_to_date(const DrdThreadId tid) argument 1380 thread_compute_conflict_set(struct bitmap** conflict_set, const DrdThreadId tid) argument 1475 thread_update_conflict_set(const DrdThreadId tid, const VectorClock* const old_vc) argument [all...] |
H A D | drd_malloc_wrappers.c | 70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) argument 80 DRD_(malloclike_block)(tid, (Addr)p, size); 89 void DRD_(malloclike_block)(const ThreadId tid, const Addr p, const SizeT size) argument 105 mc->where = VG_(record_ExeContext)(tid, 0); 109 static void handle_free(ThreadId tid, void* p) argument 114 success = DRD_(freelike_block)(tid, (Addr)p, True); 122 Bool DRD_(freelike_block)(const ThreadId tid, const Addr p, const Bool dealloc) argument 146 static void* drd_malloc(ThreadId tid, SizeT n) argument 148 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); 152 static void* drd_memalign(ThreadId tid, Size argument 158 drd_calloc(ThreadId tid, SizeT nmemb, SizeT size1) argument 165 drd_free(ThreadId tid, void* p) argument 178 drd_realloc(ThreadId tid, void* p_old, SizeT new_size) argument 253 drd___builtin_new(ThreadId tid, SizeT n) argument 259 drd___builtin_delete(ThreadId tid, void* p) argument 265 drd___builtin_vec_new(ThreadId tid, SizeT n) argument 271 drd___builtin_vec_delete(ThreadId tid, void* p) argument 282 drd_malloc_usable_size(ThreadId tid, void* p) argument [all...] |
/external/compiler-rt/test/tsan/ |
H A D | bench_release_only.cc | 9 void thread(int tid) { argument 10 __atomic_load_n(&x[tid * kStride], __ATOMIC_ACQUIRE); 12 __atomic_store_n(&x[tid * kStride], 0, __ATOMIC_RELEASE);
|
H A D | bench_acquire_release.cc | 8 void thread(int tid) { argument
|
H A D | bench_mutex.cc | 10 void thread(int tid) { argument 13 while (x != i * 2 + tid)
|
H A D | bench_single_writer.cc | 8 void thread(int tid) { argument 9 if (tid == 0) {
|
/external/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachThreadList.h | 29 bool GetRegisterValue (nub_thread_t tid, uint32_t reg_set_idx, uint32_t reg_idx, DNBRegisterValue *reg_value) const; 30 bool SetRegisterValue (nub_thread_t tid, uint32_t reg_set_idx, uint32_t reg_idx, const DNBRegisterValue *reg_value) const; 31 nub_size_t GetRegisterContext (nub_thread_t tid, void *buf, size_t buf_len); 32 nub_size_t SetRegisterContext (nub_thread_t tid, const void *buf, size_t buf_len); 33 const char * GetThreadInfo (nub_thread_t tid) const; 38 const char * GetName (nub_thread_t tid); 39 nub_state_t GetState (nub_thread_t tid); 40 nub_thread_t SetCurrentThread (nub_thread_t tid); 41 bool GetThreadStoppedReason (nub_thread_t tid, struct DNBThreadStopInfo *stop_info) const; 42 void DumpThreadStoppedReason (nub_thread_t tid) cons [all...] |
/external/valgrind/main/drd/tests/ |
H A D | pth_barrier_race.c | 30 pthread_t tid; local 35 pthread_create(&tid, NULL, thread, NULL); 46 pthread_join(tid, NULL);
|
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
H A D | RegisterContextKDP_arm.cpp | 34 RegisterContextKDP_arm::DoReadGPR (lldb::tid_t tid, int flavor, GPR &gpr) argument 40 if (static_cast<ProcessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, GPRRegSet, &gpr, sizeof(gpr), error)) 50 RegisterContextKDP_arm::DoReadFPU (lldb::tid_t tid, int flavor, FPU &fpu) argument 56 if (static_cast<ProcessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, FPURegSet, &fpu, sizeof(fpu), error)) 66 RegisterContextKDP_arm::DoReadEXC (lldb::tid_t tid, int flavor, EXC &exc) argument 72 if (static_cast<ProcessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, EXCRegSet, &exc, sizeof(exc), error)) 82 RegisterContextKDP_arm::DoReadDBG (lldb::tid_t tid, int flavor, DBG &dbg) argument 88 if (static_cast<ProcessKDP *>(process_sp.get())->GetCommunication().SendRequestReadRegisters (tid, DBGRegSet, &dbg, sizeof(dbg), error)) 98 RegisterContextKDP_arm::DoWriteGPR (lldb::tid_t tid, int flavor, const GPR &gpr) argument 104 if (static_cast<ProcessKDP *>(process_sp.get())->GetCommunication().SendRequestWriteRegisters (tid, GPRRegSe 114 DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) argument 130 DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) argument 146 DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) argument [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_proc.h | 34 pid_t tid; member in struct:opd_proc 86 * @param tid tid for this process 91 void opd_handle_exec(pid_t tid, pid_t tgid); 107 * @param tid tid for this process 110 * A process with pid tid is searched on the process list, 114 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid); 118 * @param tid tid fo [all...] |
H A D | opd_image.c | 52 "tid %d, tgid %d ref count %u\n", 54 image->tid, image->tgid, (int)image->ref_count); 58 "kernel %d, tid %d, tgid %d ref count %u\n", 60 image->tid, image->tgid, image->ref_count); 98 * @param tid thread id 103 static size_t opd_hash_image(char const * name, pid_t tid, pid_t tgid) argument 107 hash += tid + tgid; 117 * @param tid thread id 130 pid_t tid, pid_t tgid) 135 verbprintf(vmisc, "Creating image: %s %s, kernel %d, tid 129 opd_new_image(char const * name, char const * app_name, int kernel, pid_t tid, pid_t tgid) argument 177 is_same_image(struct opd_image const * image, char const * app_name, pid_t tid, pid_t tgid) argument 221 opd_find_image(char const * name, char const * app_name, pid_t tid, pid_t tgid) argument 249 opd_get_image(char const * name, char const * app_name, int kernel, pid_t tid, pid_t tgid) argument 260 opd_get_kernel_image(char const * name, char const * app_name, pid_t tid, pid_t tgid) argument [all...] |
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | priv_syswrap-main.h | 44 void ML_(wqthread_continue_NORETURN)(ThreadId tid);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_thread_registry.cc | 19 ThreadContextBase::ThreadContextBase(u32 tid) argument 20 : tid(tid), unique_id(0), reuse_count(), os_id(0), user_id(0), 74 // Parent tid makes no sense for the main thread. 75 if (tid != 0) 124 u32 tid = kUnknownTid; local 127 tid = tctx->tid; 129 // Allocate new thread context and tid. 130 tid 200 SetThreadName(u32 tid, const char *name) argument 221 DetachThread(u32 tid) argument 238 JoinThread(u32 tid, void *arg) argument 251 FinishThread(u32 tid) argument 268 StartThread(u32 tid, uptr os_id, void *arg) argument [all...] |
/external/valgrind/main/coregrind/ |
H A D | m_machine.c | 49 Addr VG_(get_IP) ( ThreadId tid ) { 50 return INSTR_PTR( VG_(threads)[tid].arch ); 52 Addr VG_(get_SP) ( ThreadId tid ) { 53 return STACK_PTR( VG_(threads)[tid].arch ); 55 Addr VG_(get_FP) ( ThreadId tid ) { 56 return FRAME_PTR( VG_(threads)[tid].arch ); 59 void VG_(set_IP) ( ThreadId tid, Addr ip ) { argument 60 INSTR_PTR( VG_(threads)[tid].arch ) = ip; 62 void VG_(set_SP) ( ThreadId tid, Addr sp ) { argument 63 STACK_PTR( VG_(threads)[tid] 136 get_shadow_regs_area( ThreadId tid, UChar* dst, Int shadowNo, PtrdiffT offset, SizeT size ) argument 160 set_shadow_regs_area( ThreadId tid, Int shadowNo, PtrdiffT offset, SizeT size, const UChar* src ) argument 184 apply_to_GPs_of_tid(ThreadId tid, void (*f)(ThreadId, const HChar*, Addr)) argument 355 ThreadId tid; local 367 thread_stack_reset_iter( ThreadId* tid) argument 372 thread_stack_next( ThreadId* tid, Addr* stack_min, Addr* stack_max) argument 390 thread_get_stack_max(ThreadId tid) argument 397 thread_get_stack_size(ThreadId tid) argument 404 thread_get_altstack_min(ThreadId tid) argument 411 thread_get_altstack_size(ThreadId tid) argument [all...] |
H A D | pub_core_sigframe.h | 44 /* Create a signal frame for thread 'tid'. */ 46 void VG_(sigframe_create) ( ThreadId tid, 55 /* Remove a signal frame from thread 'tid's stack, and 58 void VG_(sigframe_destroy)( ThreadId tid, Bool isRT );
|
/external/bluetooth/bluedroid/utils/src/ |
H A D | bt_utils.c | 122 int tid = gettid(); local 130 // set_sched_policy does not support tid == 0 131 rc = set_sched_policy(tid, SP_AUDIO_SYS); 133 g_TaskIDs[high_task] = tid; 137 ALOGW("failed to change sched policy, tid %d, err: %d", tid, errno); 147 if (setpriority(PRIO_PROCESS, tid, priority) < 0) { 148 ALOGW("failed to change priority tid: %d to %d", tid, priority); 165 int tid; local [all...] |
/external/valgrind/main/include/ |
H A D | pub_tool_machine.h | 114 Addr VG_(get_IP) ( ThreadId tid ); 115 Addr VG_(get_SP) ( ThreadId tid ); 125 VG_(get_shadow_regs_area) ( ThreadId tid, 129 VG_(set_shadow_regs_area) ( ThreadId tid, 138 extern void VG_(apply_to_GP_regs)(void (*f)(ThreadId tid, 142 // Returns False at the end. 'tid' is the iterator and you can only 144 extern void VG_(thread_stack_reset_iter) ( /*OUT*/ThreadId* tid ); 145 extern Bool VG_(thread_stack_next) ( /*MOD*/ThreadId* tid, 150 extern Addr VG_(thread_get_stack_max) ( ThreadId tid ); 153 extern SizeT VG_(thread_get_stack_size) ( ThreadId tid ); [all...] |
/external/chromium_org/ppapi/nacl_irt/public/ |
H A D | irt_ppapi.h | 30 int (*thread_create)(uintptr_t* tid, 33 int (*thread_join)(uintptr_t tid);
|
/external/chromium_org/tools/traceline/traceline/scripts/ |
H A D | alloc.py | 16 tid = e['thread'] 19 delta, ms, tid)
|
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_clock.h | 35 u64 get(unsigned tid) const { 36 DCHECK_LT(tid, clk_.Size()); 37 return clk_[tid].epoch; 57 explicit ThreadClock(unsigned tid, unsigned reused = 0); 59 u64 get(unsigned tid) const { 60 DCHECK_LT(tid, kMaxTidInClock); 61 return clk_[tid].epoch; 64 void set(unsigned tid, u64 v);
|
/external/lldb/examples/python/ |
H A D | operating_system.py | 27 def create_thread(self, tid, context): 28 if tid == 0x444444444: 29 thread_info = { 'tid' : tid, 'name' : 'four' , 'queue' : 'queue4', 'state' : 'stopped', 'stop_reason' : 'none' } 37 # tid => thread ID (mandatory) 53 { 'tid' : 0x111111111, 'name' : 'one' , 'queue' : 'queue1', 'state' : 'stopped', 'stop_reason' : 'breakpoint'}, 54 { 'tid' : 0x222222222, 'name' : 'two' , 'queue' : 'queue2', 'state' : 'stopped', 'stop_reason' : 'none' }, 55 { 'tid' : 0x333333333, 'name' : 'three', 'queue' : 'queue3', 'state' : 'stopped', 'stop_reason' : 'trace' , 'register_data_addr' : 0x100000000 } 92 def get_register_data(self, tid): 93 if tid [all...] |
/external/compiler-rt/lib/lsan/ |
H A D | lsan_thread.h | 24 explicit ThreadContext(int tid); 41 void ThreadStart(u32 tid, uptr os_id); 43 u32 ThreadCreate(u32 tid, uptr uid, bool detached); 44 void ThreadJoin(u32 tid); 48 void SetCurrentThread(u32 tid);
|
/external/lldb/tools/debugserver/source/ |
H A D | DNBThreadResumeActions.cpp | 50 nub_thread_t tid, 56 DNBThreadResumeAction action = { tid, state, signal, addr }; 62 DNBThreadResumeActions::GetActionForThread (nub_thread_t tid, bool default_ok) const argument 67 if (m_actions[i].tid == tid) 70 if (default_ok && tid != INVALID_NUB_THREAD) 105 DNBThreadResumeActions::SetSignalHandledForThread (nub_thread_t tid) const 107 if (tid != INVALID_NUB_THREAD) 112 if (m_actions[i].tid == tid) 48 AppendAction( nub_thread_t tid, nub_state_t state, int signal, nub_addr_t addr ) argument [all...] |
/external/chromium_org/tools/grit/grit/format/ |
H A D | rc_header.py | 62 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) [all...] |
/external/valgrind/main/coregrind/m_scheduler/ |
H A 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 ); 176 void print_sched_event ( ThreadId tid, const HChar* what ) argument 178 VG_(message)(Vg_DebugMsg, " SCHED[%d]: %s\n", tid, what ); 263 void VG_(acquire_BigLock)(ThreadId tid, const HChar* who) argument 272 print_sched_event(tid, buf); 281 tst = VG_(get_ThreadState)(tid); 288 VG_(printf)("tid %d found %d running\n", tid, VG 314 release_BigLock(ThreadId tid, ThreadStatus sleepstate, const HChar* who) argument 376 exit_thread(ThreadId tid) argument 397 get_thread_out_of_syscall(ThreadId tid) argument 444 ThreadId tid = VG_(running_tid); local 557 ThreadId tid; local 843 run_thread_for_a_while( HWord* two_words, Int* dispatchCtrP, ThreadId tid, HWord alt_host_addr, Bool use_alt_host_addr ) argument 1032 handle_chain_me( ThreadId tid, void* place_to_chain, Bool toFastEP ) argument 1068 handle_syscall(ThreadId tid, UInt trc) argument 1587 ThreadId tid; local 1661 os_client_request(ThreadId tid, UWord *args) argument 1692 print_client_message( ThreadId tid, const HChar *format, va_list *vargsp, Bool include_backtrace) argument 2126 ThreadId tid; local [all...] |