/external/compiler-rt/lib/asan/ |
asan_thread.h | 30 // so we can find them by tid even if the thread is long dead. 44 u32 tid() { return tid_; } function in class:__asan::AsanThreadSummary 45 void set_tid(u32 tid) { tid_ = tid; } 84 u32 tid() { return summary_->tid(); } function in class:__asan::AsanThread
|
asan_thread_registry.cc | 48 u32 tid = n_threads_; local 54 summary->set_tid(tid); 55 thread_summaries_[tid] = summary; 80 if (thread && thread->tid() == 0) { 154 AsanThreadSummary *AsanThreadRegistry::FindByTid(u32 tid) { 155 CHECK(tid < n_threads_); 156 CHECK(thread_summaries_[tid]); 157 return thread_summaries_[tid]; 162 for (u32 tid = 0; tid < n_threads_; tid++) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stoptheworld_linux.cc | 124 pid_t tid = suspended_threads_list_.GetThreadID(i); local 125 if (internal_ptrace(PTRACE_DETACH, tid, NULL, NULL) == 0) { 127 Report("Detached from thread %d.\n", tid); 132 Report("Could not detach from thread %d (errno %d).\n", tid, errno); 150 pid_t tid = thread_lister->GetNextTID(); local 151 while (tid >= 0) { 152 if (SuspendThread(tid)) 154 tid = thread_lister->GetNextTID();
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 50 // For signaling to main thread that a child thread has reported its tid. 64 pid_t tid; local 66 SpawnTidReporter(&pthread_id, &tid); 68 tids_.push_back(tid); 81 void SpawnTidReporter(pthread_t *pthread_id, pid_t *tid); 91 // Writes its TID once to reported_tid and waits until signaled to terminate. 108 pid_t *tid) { 118 *tid = thread_arg.reported_tid; 123 pid_t tid; local 124 while ((tid = thread_lister->GetNextTID()) >= 0 [all...] |
/external/iproute2/ip/ |
iprule.c | 302 __u32 tid; local 304 if (rtnl_rttable_a2n(&tid, *argv)) 306 if (tid < 256) 307 req.r.rtm_table = tid; 310 addattr32(&req.n, sizeof(req), FRA_TABLE, tid);
|
/external/libusb_aah/libusb/os/ |
threads_windows.c | 136 DWORD r2,tid = GetCurrentThreadId(); local 139 if(tid == pos->tid) { 147 pos->tid = tid;
|
/external/openssh/ |
audit-bsm.c | 195 AuditInfoTermID tid = ssh_bsm_tid; local 212 pid, pid, &tid)); 278 AuditInfoTermID *tid = &ssh_bsm_tid; local 287 tid->at_port = (dev_t)port; 288 aug_get_machine((char *)host, &(tid->at_addr[0]), &(tid->at_type)); 289 snprintf(buf, sizeof(buf), "%08x %08x %08x %08x", tid->at_addr[0], 290 tid->at_addr[1], tid->at_addr[2], tid->at_addr[3]) [all...] |
/external/valgrind/main/coregrind/m_sigframe/ |
sigframe-amd64-linux.c | 327 void synth_ucontext(ThreadId tid, const vki_siginfo_t *si, 331 ThreadState *tst = VG_(get_ThreadState)(tid); 381 ThreadId tid = tst->tid; local 395 addr, tid); 403 VG_(synth_fault_mapping)(tid, addr); 413 size + VG_STACK_REDZONE_SZB, tid ); 462 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "rt signal handler frame", 485 synth_ucontext(tst->tid, siginfo, trapno, err, mask, 488 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, [all...] |
sigframe-arm-linux.c | 86 ThreadId tid = tst->tid; local 100 addr, tid); 108 VG_(synth_fault_mapping)(tid, addr); 118 size + VG_STACK_REDZONE_SZB, tid ); 123 static void synth_ucontext( ThreadId tid, const vki_siginfo_t *si, 127 ThreadState *tst = VG_(get_ThreadState)(tid); 175 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame", 186 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &frame->uc); 188 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, [all...] |
sigframe-mips32-linux.c | 83 ThreadId tid = tst->tid; local 95 addr, tid ); 103 VG_(synth_fault_mapping)( tid, addr ); 113 size + VG_STACK_REDZONE_SZB, tid ); 124 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", 163 void VG_(sigframe_create)( ThreadId tid, 173 ThreadState* tst = VG_(get_ThreadState)(tid); 190 tst = VG_(get_ThreadState)(tid); 209 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal frame siginfo" [all...] |
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", 165 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, 179 VG_TRACK(pre_mem_write, Vg_CoreSignal, tst->tid, "signal frame mcontext", 183 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, 457 //.. void synth_ucontext(ThreadId tid, const vki_siginfo_t *si, 460 //.. ThreadState *tst = VG_(get_ThreadState)(tid); 511 ThreadId tid = tst->tid; local [all...] |
sigframe-ppc64-linux.c | 122 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 129 VG_TRACK( post_reg_write, Vg_CoreSignal, tst->tid, \ 141 ThreadId tid = tst->tid; local 155 addr, tid); 163 VG_(synth_fault_mapping)(tid, addr); 173 size + VG_STACK_REDZONE_SZB, tid ); 180 void VG_(sigframe_create)( ThreadId tid, 203 tst = VG_(get_ThreadState)(tid); 223 VG_TRACK( pre_mem_write, Vg_CoreSignal, tid, "signal handler frame" [all...] |
sigframe-s390x-linux.c | 66 VG_TRACK( post_reg_write, Vg_CoreSignal, zztst->tid, \ 267 ThreadId tid = tst->tid; local 281 addr, tid); 289 VG_(synth_fault_mapping)(tid, addr); 299 size + VG_STACK_REDZONE_SZB, tid ); 347 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame", 376 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, 407 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame", 440 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid, [all...] |
/external/valgrind/main/drd/ |
drd_barrier.c | 43 UWord tid; // A DrdThreadId declared as UWord because member in struct:barrier_thread_info 46 // by thread tid. 49 Bool thread_finished;// Whether thread 'tid' has finished. 57 const DrdThreadId tid); 84 const DrdThreadId tid) 86 p->tid = tid; 130 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid) == sizeof(Word)); 131 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid) 303 .tid = DRD_(thread_get_running_tid)() [all...] |
/external/valgrind/main/drd/tests/ |
monitor_example.cpp | 222 pthread_t tid; local 223 pthread_create(&tid, 0, thread_func, 0); 228 pthread_join(tid, 0);
|
/external/wpa_supplicant_8/src/ap/ |
wmm.c | 167 int up, psb, dir, tid; local 173 tid = (tspec->ts_info[0] >> 1) & 0x0f; 174 wpa_printf(MSG_DEBUG, "WMM: TS Info: UP=%d PSB=%d Direction=%d TID=%d", 175 up, psb, dir, tid);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 63 mutable GLuint tid; member in struct:android::BootAnimation::Animation::Frame
|
/ndk/sources/android/libthread_db/gdb-6.6/ |
libthread_db.c | 56 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) 67 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); 164 int tid; local 169 tid = atoi(entry->d_name); 170 if (tid == 0) /* should not happen - be safe */ 173 if (_get_task_permitted_caps(target_pid, tid, &tid_caps) < 0) { 175 D("Could not get permitted caps for thread %d\n", tid); 220 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); 225 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); 226 gEventMsgHandle.tid = gEventMsgHandle.pid [all...] |
/ndk/sources/android/libthread_db/gdb-7.3.x/ |
libthread_db.c | 52 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) 63 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); 161 int tid; local 166 tid = atoi(entry->d_name); 167 if (tid == 0) /* should not happen - be safe */ 170 if (_get_task_permitted_caps(target_pid, tid, &tid_caps) < 0) { 172 D("Could not get permitted caps for thread %d\n", tid); 231 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); 236 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); 237 gEventMsgHandle.tid = gEventMsgHandle.pid [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
smb.h | 49 __u16 tid; member in struct:smb_conn_opt
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
smb.h | 49 __u16 tid; member in struct:smb_conn_opt
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
smb.h | 49 __u16 tid; member in struct:smb_conn_opt
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
smb.h | 48 __u16 tid; member in struct:smb_conn_opt
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
smb.h | 48 __u16 tid; member in struct:smb_conn_opt
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
smb.h | 48 __u16 tid; member in struct:smb_conn_opt
|