HomeSort by relevance Sort by last modified time
    Searched refs:tid (Results 126 - 150 of 762) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/third_party/libxml/src/
testThreads.c 24 static pthread_t tid[MAX_ARGC]; variable
26 static thread_id tid[MAX_ARGC]; variable
110 tid[i] = (pthread_t) -1;
114 ret = pthread_create(&tid[i], NULL, thread_specific_data,
122 ret = pthread_join(tid[i], &results[i]);
155 tid[i] = (thread_id) -1;
159 tid[i] = spawn_thread(thread_specific_data, "xmlTestThread", B_NORMAL_PRIORITY, (void *) testfiles[i]);
160 if (tid[i] < B_OK) {
164 printf("beos_thread_create %d -> %d\n", i, tid[i]);
167 ret = wait_for_thread(tid[i], &results[i])
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
mutex_os2.c 163 TID tid; local
166 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
180 TID tid; local
184 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount);
188 return tid==ptib->tib_ptib2->tib2_ultid;
191 TID tid; local
195 DosQueryMutexSem(p->mutex, &pid, &tid, &ulCount)
202 TID tid; local
    [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...]
  /system/core/debuggerd/arm/
machine.c 45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, int scopeFlags) {
82 long data = ptrace(PTRACE_PEEKTEXT, tid, (void*)p, NULL);
114 log_t* log, pid_t tid, bool at_fault) { variable
116 if(ptrace(PTRACE_GETREGS, tid, 0, &regs)) {
138 dump_memory(log, tid, addr, scopeFlags | SCOPE_SENSITIVE);
144 dump_memory(log, tid, (uintptr_t)regs.ARM_pc, scopeFlags);
148 dump_memory(log, tid, (uintptr_t)regs.ARM_lr, scopeFlags);
153 log_t* log, pid_t tid, bool at_fault) variable
158 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
177 if(ptrace(PTRACE_GETVFPREGS, tid, 0, &vfp_regs))
    [all...]
  /external/compiler-rt/lib/asan/
asan_thread.h 33 // so we can find them by tid even if the thread is long dead.
36 explicit AsanThreadContext(int tid)
37 : ThreadContextBase(tid),
68 u32 tid() { return context_->tid; } function in class:__asan::AsanThread
119 AsanThreadContext *GetThreadContextByTidLocked(u32 tid);
asan_thread.cc 46 static ThreadContextBase *GetAsanThreadContext(u32 tid) {
48 return new(mem) AsanThreadContext(tid);
67 AsanThreadContext *GetThreadContextByTidLocked(u32 tid) {
69 asanThreadRegistry().GetThreadLocked(tid));
89 Report("T%d TSDDtor\n", context->tid);
96 Report("T%d exited\n", tid());
99 asanThreadRegistry().FinishThread(tid());
118 tid(), (void*)stack_bottom_, (void*)stack_top_,
127 asanThreadRegistry().StartThread(tid(), os_id, 0);
134 CHECK_EQ(tid(), 0)
    [all...]
  /system/core/debuggerd/
debuggerd.c 54 pid_t pid, tid; member in struct:__anon63478
161 static int get_process_info(pid_t tid, pid_t* out_pid, uid_t* out_uid, uid_t* out_gid) {
163 snprintf(path, sizeof(path), "/proc/%d/status", tid);
198 XLOG("reading tid\n");
207 LOG("timed out reading tid (from pid=%d uid=%d)\n", cr.pid, cr.uid);
228 out_request->tid = msg.tid;
235 /* Ensure that the tid reported by the crashing process is valid. */
238 snprintf(buf, sizeof buf, "/proc/%d/task/%d", out_request->pid, out_request->tid);
240 LOG("tid %d does not exist in pid %d. ignoring debug request\n"
522 pid_t tid = 0; local
    [all...]
utility.c 89 int wait_for_signal(pid_t tid, int* total_sleep_time_usec) {
92 pid_t n = waitpid(tid, &status, __WALL | WNOHANG);
108 LOG("timed out waiting for tid=%d to die\n", tid);
119 void wait_for_stop(pid_t tid, int* total_sleep_time_usec) {
121 while (TEMP_FAILURE_RETRY(ptrace(PTRACE_GETSIGINFO, tid, 0, &si)) < 0 && errno == ESRCH) {
123 LOG("timed out waiting for tid=%d to stop\n", tid);
  /external/compiler-rt/lib/lsan/
lsan_interceptors.cc 192 atomic_uintptr_t tid; member in struct:ThreadParam
209 int tid = 0; local
210 while ((tid = atomic_load(&p->tid, memory_order_acquire)) == 0)
212 atomic_store(&p->tid, 0, memory_order_release);
213 SetCurrentThread(tid);
214 ThreadStart(tid, GetTid());
233 atomic_store(&p.tid, 0, memory_order_relaxed);
236 int tid = ThreadCreate(GetCurrentThread(), *(uptr *)th, detached); local
237 CHECK_NE(tid, 0)
249 int tid = ThreadTid((uptr)th); local
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_linux_test.cc 52 // For signaling to main thread that a child thread has reported its tid.
66 pid_t tid; local
68 SpawnTidReporter(&pthread_id, &tid);
70 tids_.push_back(tid);
83 void SpawnTidReporter(pthread_t *pthread_id, pid_t *tid);
93 // Writes its TID once to reported_tid and waits until signaled to terminate.
110 pid_t *tid) {
120 *tid = thread_arg.reported_tid;
125 pid_t tid; local
126 while ((tid = thread_lister->GetNextTID()) >= 0
207 pthread_t tid; local
226 pthread_t tid; local
    [all...]
sanitizer_thread_registry_test.cc 24 static ThreadContextBase *GetThreadContext(u32 tid) {
27 return new(mem) TCTX(tid);
42 static bool is_detached(u32 tid) {
43 return (tid % 2 == 0);
46 static uptr get_uid(u32 tid) {
47 return tid * 2;
62 arr[tctx->tid] = true;
112 u32 tid = new_tids[i]; local
113 registry->StartThread(tid, 0, 0);
114 registry->DetachThread(tid);
    [all...]
  /external/valgrind/main/coregrind/m_syswrap/
syswrap-s390x-linux.c 241 The parent gets the child's new tid returned from clone, but the
278 VG_(printf)("tid %d: guessed client stack range %#lx-%#lx\n",
462 if (!ML_(valid_client_addr)(ARG2, 4*sizeof(Addr), tid, NULL)) {
466 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 );
472 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
482 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
486 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 );
492 if (!ML_(valid_client_addr)(ARG2, 2*sizeof(Addr), tid, NULL)) {
501 if (!ML_(valid_client_addr)(ARG2, 3*sizeof(Addr), tid, NULL)) {
505 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 )
    [all...]
syswrap-mips32-linux.c 226 static SysRes sys_set_tls (ThreadId tid, Addr tlsptr);
290 VG_ (printf) ("tid %d: guessed client stack range %#lx-%#lx\n",
358 SysRes sys_set_tls ( ThreadId tid, Addr tlsptr )
360 VG_(threads)[tid].arch.vex.guest_ULR = tlsptr;
436 ML_ (generic_PRE_sys_socketpair) (tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3);
446 ML_ (generic_PRE_sys_bind) (tid, ARG2_0, ARG2_1, ARG2_2);
456 ML_ (generic_PRE_sys_accept) (tid, ARG2_0, ARG2_1, ARG2_2);
464 ML_ (generic_PRE_sys_sendto) (tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3,
470 ML_ (generic_PRE_sys_send) (tid, ARG2_0, ARG2_1, ARG2_2);
476 ML_ (generic_PRE_sys_recvfrom) (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
472 ML_(generic_PRE_sys_socketpair)( tid, ARG2_0, ARG2_1, ARG2_2, ARG2_3 );
484 ML_(generic_PRE_sys_bind)( tid, ARG2_0, ARG2_1, ARG2_2 );
495 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 );
502 ML_(generic_PRE_sys_accept)( tid, ARG2_0, ARG2_1, ARG2_2 );
511 ML_(generic_PRE_sys_sendto)( tid, ARG2_0, ARG2_1, ARG2_2,
518 ML_(generic_PRE_sys_send)( tid, ARG2_0, ARG2_1, ARG2_2 );
525 ML_(generic_PRE_sys_recvfrom)( tid, ARG2_0, ARG2_1, ARG2_2,
537 ML_(generic_PRE_sys_recv)( tid, ARG2_0, ARG2_1, ARG2_2 );
544 ML_(generic_PRE_sys_connect)( tid, ARG2_0, ARG2_1, ARG2_2 )
    [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/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/
backtrace.c 43 extern int tgkill(int tgid, int tid, int sig);
65 static int tgkill(int tgid, int tid, int sig) {
66 return syscall(__NR_tgkill, tgid, tid, sig);
149 ssize_t unwind_backtrace_thread(pid_t tid, backtrace_frame_t* backtrace,
151 if (tid == gettid()) {
155 ALOGV("Unwinding thread %d from thread %d.", tid, gettid());
158 // mach_port_t or the pthread_t rather than the tid.
177 android_atomic_release_store(tid, &g_unwind_signal_state.tid_state);
180 int32_t tid_state = tid;
181 if (tgkill(getpid(), tid, SIGURG))
    [all...]
ptrace.c 39 memory->tid = -1;
43 void init_memory_ptrace(memory_t* memory, pid_t tid) {
44 memory->tid = tid;
55 if (memory->tid < 0) {
71 *out_value = ptrace(PTRACE_PEEKTEXT, memory->tid, (void*)ptr, NULL);
73 ALOGV("try_get_word: invalid pointer 0x%08x reading from tid %d, "
74 "ptrace() errno=%d", ptr, memory->tid, errno);
82 bool try_get_word_ptrace(pid_t tid, uintptr_t ptr, uint32_t* out_value) {
84 init_memory_ptrace(&memory, tid);
    [all...]
  /external/valgrind/main/memcheck/
mc_malloc_wrappers.c 252 void* MC_(new_block) ( ThreadId tid,
280 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/);
296 void* MC_(malloc) ( ThreadId tid, SizeT n )
301 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
306 void* MC_(__builtin_new) ( ThreadId tid, SizeT n )
311 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
316 void* MC_(__builtin_vec_new) ( ThreadId tid, SizeT n )
321 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment),
326 void* MC_(memalign) ( ThreadId tid, SizeT alignB, SizeT n )
331 return MC_(new_block) ( tid, 0, n, alignB,
650 ThreadId tid = VG_(get_running_tid)(); local
788 ThreadId tid = VG_(get_running_tid)(); local
823 ThreadId tid = VG_(get_running_tid)(); local
946 ThreadId tid = VG_(get_running_tid)(); local
959 ThreadId tid = VG_(get_running_tid)(); local
    [all...]
  /external/valgrind/main/coregrind/m_gdbserver/
target.c 66 ThreadId tid; local
75 for (tid = 1; tid < VG_N_THREADS; tid++) {
78 ti, tid, VG_(name_of_ThreadStatus) (ts->status), \
81 if (VG_(is_valid_tid) (tid)) {
82 ts = VG_(get_ThreadState) (tid);
207 int valgrind_thread_alive (unsigned long tid)
209 struct thread_info *ti = gdb_id_to_thread(tid);
293 ThreadId tid = tst->tid local
339 ThreadId tid = tst->tid; local
452 ThreadId tid = tst->tid; local
574 ThreadId tid = tst->tid; local
    [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.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...]
  /ndk/sources/android/libthread_db/gdb-7.6/
libthread_db.c 64 _get_task_permitted_caps(int pid, int tid, uint64_t *cap)
75 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid);
173 int tid; local
178 tid = atoi(entry->d_name);
179 if (tid == 0) /* should not happen - be safe */
182 if (_get_task_permitted_caps(target_pid, tid, &tid_caps) < 0) {
184 D("Could not get permitted caps for thread %d\n", tid);
244 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL);
249 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL);
250 gEventMsgHandle.tid = gEventMsgHandle.pid
    [all...]

Completed in 299 milliseconds

1 2 3 4 56 7 8 91011>>