HomeSort by relevance Sort by last modified time
    Searched refs:tid (Results 101 - 125 of 577) sorted by null

1 2 3 45 6 7 8 91011>>

  /system/extras/tests/bionic/libc/other/
test_timer_create3.c 35 static timer_t tid; variable
60 timer_settime(tid, TIMER_ABSTIME, &ts, NULL);
76 if (timer_create (CLOCK_REALTIME, &se, &tid) < 0)
86 if (timer_settime (tid, TIMER_ABSTIME, &ts, &ots) < 0)
  /external/valgrind/main/memcheck/
mc_include.h 82 void* MC_(new_block) ( ThreadId tid,
86 void MC_(handle_free) ( ThreadId tid,
91 void MC_(mempool_alloc) ( ThreadId tid, Addr pool,
122 void* MC_(malloc) ( ThreadId tid, SizeT n );
123 void* MC_(__builtin_new) ( ThreadId tid, SizeT n );
124 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n );
125 void* MC_(memalign) ( ThreadId tid, SizeT align, SizeT n );
126 void* MC_(calloc) ( ThreadId tid, SizeT nmemb, SizeT size1 );
127 void MC_(free) ( ThreadId tid, void* p );
128 void MC_(__builtin_delete) ( ThreadId tid, void* p )
    [all...]
mc_malloc_wrappers.c 233 void* MC_(new_block) ( ThreadId tid,
262 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
278 void* MC_(malloc) ( ThreadId tid, SizeT n )
283 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
288 void* MC_(__builtin_new) ( ThreadId tid, SizeT n )
293 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
298 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n )
303 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
308 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n )
313 return MC_(new_block) ( tid, 0, n, alignB,
630 ThreadId tid = VG_(get_running_tid)(); local
760 ThreadId tid = VG_(get_running_tid)(); local
795 ThreadId tid = VG_(get_running_tid)(); local
918 ThreadId tid = VG_(get_running_tid)(); local
931 ThreadId tid = VG_(get_running_tid)(); local
    [all...]
  /bionic/libthread_db/
libthread_db.c 88 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)48 /* eip */, NULL);
98 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL);
99 gEventMsgHandle.tid = gEventMsgHandle.pid;
103 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL);
108 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
109 gEventMsgHandle.tid = gEventMsgHandle.pid;
146 th->tid = lwpid;
154 info->ti_tid = handle->tid;
155 info->ti_lid = handle->tid; // Our pthreads uses kernel ids for tids
156 info->ti_state = TD_THR_SLEEP; /* XXX this needs to be read from /proc/<pid>/task/<tid>
    [all...]
  /external/openssh/regress/
sftp-batch.sh 4 tid="sftp batchfile"
39 verbose "$tid: good commands"
43 verbose "$tid: bad commands"
47 verbose "$tid: comments and blanks"
51 verbose "$tid: junk command"
scp.sh 4 tid="scp"
31 verbose "$tid: simple copy local file to local file"
36 verbose "$tid: simple copy local file to remote file"
41 verbose "$tid: simple copy remote file to local file"
46 verbose "$tid: simple copy local file to remote dir"
52 verbose "$tid: simple copy local file to local dir"
58 verbose "$tid: simple copy remote file to local dir"
64 verbose "$tid: recursive local dir to remote dir"
71 verbose "$tid: recursive local dir to local dir"
78 verbose "$tid: recursive remote dir to local dir
    [all...]
cert-userkey.sh 4 tid="certified user keys"
21 verbose "$tid: sign user ${ktype} cert"
55 verbose "$tid: ${_prefix} missing authorized_principals"
64 verbose "$tid: ${_prefix} empty authorized_principals"
73 verbose "$tid: ${_prefix} wrong authorized_principals"
82 verbose "$tid: ${_prefix} correct authorized_principals"
91 verbose "$tid: ${_prefix} authorized_principals bad key opt"
100 verbose "$tid: ${_prefix} authorized_principals command=false"
111 verbose "$tid: ${_prefix} authorized_principals command=true"
128 verbose "$tid: ${_prefix} wrong principals key option
    [all...]
banner.sh 4 tid="banner"
11 verbose "test $tid: missing banner file"
32 verbose "test $tid: size $s"
39 verbose "test $tid: suppress banner (-q)"
brokenkeys.sh 4 tid="broken keys"
connect-privsep.sh 4 tid="proxy connect with privsep"
  /system/core/debuggerd/arm/
machine.c 45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) {
81 long data = ptrace(PTRACE_PEEKTEXT, tid, (void*)p, NULL);
110 log_t* log, pid_t tid, bool at_fault) { variable
112 if(ptrace(PTRACE_GETREGS, tid, 0, &regs)) {
132 dump_memory(log, tid, addr, at_fault);
137 dump_memory(log, tid, (uintptr_t)regs.ARM_pc, at_fault);
141 dump_memory(log, tid, (uintptr_t)regs.ARM_lr, at_fault);
146 log_t* log, pid_t tid, bool at_fault) variable
151 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
170 if(ptrace(PTRACE_GETVFPREGS, tid, 0, &vfp_regs))
    [all...]
  /external/compiler-rt/lib/asan/
asan_thread.h 29 // so we can find them by tid even if the thread is long dead.
50 int tid() { return tid_; } function in class:__asan::AsanThreadSummary
51 void set_tid(int tid) { tid_ = tid; }
78 int tid() { return summary_->tid(); } function in class:__asan::AsanThread
asan_thread_registry.h 26 // thread by tid, thread by stack address. There is a single instance
44 return t ? t->tid() : -1;
57 AsanThreadSummary *FindByTid(int tid);
  /system/core/debuggerd/
debuggerd.c 53 pid_t pid, tid; member in struct:__anon36396
159 static int get_process_info(pid_t tid, pid_t* out_pid, uid_t* out_uid, uid_t* out_gid) {
161 snprintf(path, sizeof(path), "/proc/%d/status", tid);
196 XLOG("reading tid\n");
205 LOG("timed out reading tid\n");
221 out_request->tid = msg.tid;
227 /* Ensure that the tid reported by the crashing process is valid. */
230 snprintf(buf, sizeof buf, "/proc/%d/task/%d", out_request->pid, out_request->tid);
232 LOG("tid %d does not exist in pid %d. ignoring debug request\n"
505 pid_t tid = 0; local
    [all...]
tombstone.c 134 static void dump_fault_addr(log_t* log, pid_t tid, int sig)
139 if(ptrace(PTRACE_GETSIGINFO, tid, 0, &si)){
152 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid, bool at_fault) {
158 snprintf(path, sizeof(path), "/proc/%d/comm", tid);
180 _LOG(log, false, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid,
184 _LOG(log, true, "pid: %d, tid: %d, name: %s\n", pid, tid,
190 log_t* log, pid_t tid __attribute((unused)), bool at_fault,
205 static void dump_stack_segment(const ptrace_context_t* context, log_t* log, pid_t tid,
    [all...]
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-s390x-linux.c 240 The parent gets the child's new tid returned from clone, but the
277 VG_(printf)("tid %d: guessed client stack range %#lx-%#lx\n",
460 if (!ML_(valid_client_addr)(ARG2, 4*sizeof(Addr), tid, NULL)) {
464 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 );
470 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
480 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
484 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 );
490 if (!ML_(valid_client_addr)(ARG2, 2*sizeof(Addr), tid, NULL)) {
499 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
503 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 )
    [all...]
syswrap-ppc64-linux.c 300 The parent gets the child's new tid returned from clone, but the
471 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 );
483 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 );
494 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 );
501 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 );
510 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2,
517 ML_(generic_PRE_sys_send)( tid, ARG2_0, ARG2_1, ARG2_2 );
524 ML_(generic_PRE_sys_recvfrom)( tid, ARG2_0, ARG2_1, ARG2_2,
536 ML_(generic_PRE_sys_recv)( tid, ARG2_0, ARG2_1, ARG2_2 );
543 ML_(generic_PRE_sys_connect)( tid, ARG2_0, ARG2_1, ARG2_2 )
    [all...]
  /external/valgrind/main/drd/
drd_barrier.c 44 UWord tid; // A DrdThreadId declared as UWord because member in struct:barrier_thread_info
47 // by thread tid.
50 Bool thread_finished;// Whether thread 'tid' has finished.
58 const DrdThreadId tid);
85 const DrdThreadId tid)
87 p->tid = tid;
131 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid) == sizeof(Word));
132 tl_assert(sizeof(((struct barrier_thread_info*)0)->tid)
304 .tid = DRD_(thread_get_running_tid)()
    [all...]
  /external/linux-tools-perf/util/
values.c 10 values->tid = malloc(values->threads_max * sizeof(*values->tid));
12 if (!values->pid || !values->tid || !values->value)
36 free(values->tid);
48 values->tid = realloc(values->tid,
49 values->threads_max * sizeof(*values->tid));
52 if (!values->pid || !values->tid || !values->value)
57 u32 pid, u32 tid)
62 if (values->pid[i] == pid && values->tid[i] == tid
    [all...]
  /system/core/libcorkscrew/
ptrace.c 38 memory->tid = -1;
42 void init_memory_ptrace(memory_t* memory, pid_t tid) {
43 memory->tid = tid;
54 if (memory->tid < 0) {
66 *out_value = ptrace(PTRACE_PEEKTEXT, memory->tid, (void*)ptr, NULL);
68 ALOGV("try_get_word: invalid pointer 0x%08x reading from tid %d, "
69 "ptrace() errno=%d", ptr, memory->tid, errno);
76 bool try_get_word_ptrace(pid_t tid, uintptr_t ptr, uint32_t* out_value) {
78 init_memory_ptrace(&memory, tid);
    [all...]
backtrace.c 118 extern int tgkill(int tgid, int tid, int sig);
120 ssize_t unwind_backtrace_thread(pid_t tid, backtrace_frame_t* backtrace,
122 if (tid == gettid()) {
126 ALOGV("Unwinding thread %d from thread %d.", tid, gettid());
146 android_atomic_release_store(tid, &g_unwind_signal_state.tid_state);
149 int32_t tid_state = tid;
150 if (tgkill(getpid(), tid, SIGURG)) {
151 ALOGV("Failed to send SIGURG to thread %d.", tid);
157 if (tid_state != tid) {
161 ALOGV("Waiting for thread %d to start dumping the stack...", tid);
    [all...]
  /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...]
  /ndk/sources/android/libthread_db/gdb-7.1.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...]
  /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...]
  /external/valgrind/main/coregrind/m_sigframe/
sigframe-x86-linux.c 351 void synth_ucontext(ThreadId tid, const vki_siginfo_t *si,
355 ThreadState *tst = VG_(get_ThreadState)(tid);
402 ThreadId tid = tst->tid; local
416 addr, tid);
424 VG_(synth_fault_mapping)(tid, addr);
434 size + VG_STACK_REDZONE_SZB, tid );
485 VG_TRACK( pre_mem_write, Vg_CoreSignal, tst->tid, "signal handler frame",
503 synth_ucontext(tst->tid, siginfo, trapno, err, mask, &uc, &frame->fpstate);
509 VG_TRACK( post_mem_write, Vg_CoreSignal, tst->tid,
    [all...]

Completed in 2095 milliseconds

1 2 3 45 6 7 8 91011>>