HomeSort by relevance Sort by last modified time
    Searched refs:tid (Results 51 - 75 of 626) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/valgrind/main/coregrind/
pub_core_translate.h 40 Bool VG_(translate) ( ThreadId tid,
m_signals.c 652 To check this, possibly call gdbserver with tid. */
653 static Bool is_sig_ign(Int sigNo, ThreadId tid)
658 || !VG_(gdbserver_report_signal) (sigNo, tid);
2081 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local
2459 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local
2518 ThreadId tid = VG_(lwpid_to_vgtid)(VG_(gettid)()); local
    [all...]
pub_core_libcproc.h 83 extern void VG_(do_atfork_pre) ( ThreadId tid );
84 extern void VG_(do_atfork_parent) ( ThreadId tid );
85 extern void VG_(do_atfork_child) ( ThreadId tid );
  /external/valgrind/main/drd/tests/
atomic_var.c 56 pthread_t tid[n_threads]; local
59 pthread_create(&tid[0], 0, thread_func_1, 0);
60 pthread_create(&tid[1], 0, thread_func_2, 0);
62 pthread_join(tid[i], 0);
omp_printf.c 25 int tid; local
52 #pragma omp parallel for private(tid)
55 tid = omp_get_thread_num();
60 i, tid, omp_get_num_threads());
rwlock_test.c 55 pthread_t* tid; local
86 tid = calloc(s_num_threads, sizeof(*tid));
90 err = pthread_create(&tid[i], &attr, thread_func, 0);
101 if (tid[i])
102 pthread_join(tid[i], 0);
104 free(tid);
  /external/valgrind/main/none/tests/
pth_cancel1.c 40 pthread_t tid; local
43 if (pthread_create(&tid, NULL, thread_main, NULL) != 0)
51 if (pthread_cancel(tid) != 0)
57 if (pthread_join(tid, &result) != 0)
  /frameworks/base/services/java/com/android/server/os/
SchedulingPolicyService.java 40 public int requestPriority(int pid, int tid, int prio) {
41 //Log.i(TAG, "requestPriority(pid=" + pid + ", tid=" + tid + ", prio=" + prio + ")");
46 // we can't trust the tid. No need to explicitly check for pid == 0 || tid == 0,
49 prio > PRIORITY_MAX || Process.getThreadGroupLeader(tid) != pid) {
54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
57 Process.setThreadScheduler(tid, Process.SCHED_FIFO, prio);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_thread_registry.h 36 explicit ThreadContextBase(u32 tid);
42 const u32 tid; // Thread ID. Main thread should have tid = 0. member in class:__sanitizer::ThreadContextBase
76 typedef ThreadContextBase* (*ThreadContextFactory)(u32 tid);
92 ThreadContextBase *GetThreadLocked(u32 tid) {
93 DCHECK_LT(tid, n_contexts_);
94 return threads_[tid];
113 void SetThreadName(u32 tid, const char *name);
114 void DetachThread(u32 tid);
115 void JoinThread(u32 tid, void *arg)
    [all...]
  /external/linux-tools-perf/util/
values.h 9 u32 *pid, *tid; member in struct:perf_read_values
21 u32 pid, u32 tid,
  /external/nist-sip/java/gov/nist/javax/sip/stack/
MessageLog.java 59 private String tid; field in class:MessageLog
89 String tid,
108 this.tid = tid;
122 String tid,
135 this.tid = tid;
161 + tid
  /external/openssh/regress/
yes-head.sh 4 tid="yes pipe head"
envpass.sh 4 tid="environment passing"
16 verbose "test $tid: pass env, don't accept"
27 verbose "test $tid: don't pass env, accept"
38 verbose "test $tid: pass single env, accept single env"
49 verbose "test $tid: pass multiple env, accept multiple env"
  /external/skia/src/utils/
SkThreadUtils_pthread_mach.cpp 21 mach_port_t tid = pthread_mach_thread_np(pthreadData->fPThread); local
26 return 0 == thread_policy_set(tid,
  /external/qemu/distrib/sdl-1.2.15/test/
torturethread.c 34 int tid = (int)(uintptr_t)data; local
36 fprintf(stderr, "Creating Thread %d\n", tid);
43 printf("Thread '%d' waiting for signal\n", tid);
44 while(time_for_threads_to_die[tid] != 1) {
48 printf("Thread '%d' sending signals to subthreads\n", tid);
54 printf("Thread '%d' exiting!\n", tid);
  /system/core/libcutils/
debugger.c 23 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) {
31 msg.tid = tid;
56 int dump_backtrace_to_file(pid_t tid, int fd) {
64 msg.tid = tid;
sched_policy.c 54 #define CAN_SET_SP_SYSTEM 0 // non-zero means to implement set_sched_policy(tid, SP_SYSTEM)
67 /* Add tid to the scheduling group defined by the policy */
68 static int add_tid_to_cgroup(int tid, SchedPolicy policy)
96 // specialized itoa -- works for tid > 0
101 while (tid > 0) {
102 *--ptr = '0' + (tid % 10);
103 tid = tid / 10;
161 static int getSchedulerGroup(int tid, char* buf, size_t bufLen)
168 snprintf(pathBuf, sizeof(pathBuf), "/proc/%d/cgroup", tid);
    [all...]
  /frameworks/base/core/jni/
android_server_Watchdog.cpp 31 static void dumpOneStack(int tid, int outFd) {
34 snprintf(buf, sizeof(buf), "/proc/%d/stack", tid);
51 ALOGE("Unable to open stack of tid %d : %d (%s)", tid, errno, strerror(errno));
83 int tid = atoi(ent->d_name); local
84 if (tid > 0 && tid <= 65535) {
86 dumpOneStack(tid, outFd);
  /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;
113 pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(64*4) /* pc */, NULL);
117 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL);
118 gEventMsgHandle.tid = gEventMsgHandle.pid;
155 th->tid = lwpid
    [all...]
  /external/bluetooth/bluedroid/utils/src/
bt_utils.c 119 int tid = gettid(); local
126 // set_sched_policy does not support tid == 0
127 rc = set_sched_policy(tid, SP_FOREGROUND);
132 ALOGW("failed to change sched policy, tid %d, err: %d", tid, errno);
135 if (setpriority(PRIO_PROCESS, tid, ANDROID_PRIORITY_AUDIO) < 0) {
136 ALOGW("failed to change priority tid: %d to %d", tid, ANDROID_PRIORITY_AUDIO);
  /external/valgrind/main/coregrind/m_sigframe/
sigframe-amd64-darwin.c 91 ThreadId tid = tst->tid; local
99 addr - VG_STACK_REDZONE_SZB, size, tid );
104 /* Create a signal frame for thread 'tid'. Make a 3-arg frame
109 void VG_(sigframe_create) ( ThreadId tid,
130 tst = VG_(get_ThreadState)(tid);
161 VG_(set_SP)(tid, rsp);
162 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(ULong));
165 VG_(set_IP)(tid, (ULong)handler);
166 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(ULong))
    [all...]
sigframe-x86-darwin.c 94 ThreadId tid = tst->tid; local
102 addr - VG_STACK_REDZONE_SZB, size, tid );
107 /* Create a signal frame for thread 'tid'. Make a 3-arg frame
112 void VG_(sigframe_create) ( ThreadId tid,
133 tst = VG_(get_ThreadState)(tid);
164 VG_(set_SP)(tid, esp);
165 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_STACK_PTR, sizeof(UInt));
168 VG_(set_IP)(tid, (UInt)handler);
169 VG_TRACK( post_reg_write, Vg_CoreSignal, tid, VG_O_INSTR_PTR, sizeof(UInt))
    [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-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...]
  /bionic/libc/bionic/
pthread-rwlocks.c 159 static __inline__ int read_precondition(pthread_rwlock_t* rwlock, int tid)
169 if (rwlock->writerThreadId == 0 || rwlock->writerThreadId == tid)
177 static __inline__ int write_precondition(pthread_rwlock_t* rwlock, int tid)
184 if (rwlock->writerThreadId == tid)
215 if (__unlikely(!read_precondition(rwlock, __get_thread()->tid)))
232 int tid = __get_thread()->tid; local
233 if (__unlikely(!read_precondition(rwlock, tid))) {
237 } while (ret == 0 && !read_precondition(rwlock, tid));
262 int tid = __get_thread()->tid local
281 int tid = __get_thread()->tid; local
    [all...]

Completed in 290 milliseconds

1 23 4 5 6 7 8 91011>>