/external/oprofile/daemon/liblegacy/ |
opd_image.h | 40 pid_t tid; member in struct:opd_image 80 * @param tid thread id 88 char const * app_name, pid_t tid, pid_t tgid); 95 * @param tid thread id 104 int kernel, pid_t tid, pid_t tgid);
|
/external/oprofile/libpp/ |
filename_spec.h | 79 generic_spec<pid_t> tid; member in class:filename_spec
|
parse_filename.h | 32 std::string tid; member in struct:parsed_filename
|
profile_spec.h | 132 comma_list<pid_t> tid; member in class:profile_spec
|
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/ |
SDL_systhread.c | 97 TID tid = thread->handle; local 98 DosWaitThread(&tid, DCWW_WAIT);
|
/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);
|
/external/valgrind/main/coregrind/ |
m_threadstate.c | 55 ThreadId tid; local 57 for (tid = 1; tid < VG_N_THREADS; tid++) { 59 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].status, 60 sizeof(VG_(threads)[tid].status), "")); 62 ANNOTATE_BENIGN_RACE_SIZED(&VG_(threads)[tid].os_state.exitcode, 63 sizeof(VG_(threads)[tid].os_state.exitcode), 81 ThreadState *VG_(get_ThreadState)(ThreadId tid) 83 vg_assert(tid >= 0 && tid < VG_N_THREADS) 124 ThreadId tid; local 138 ThreadId tid; local 151 ThreadId tid; local [all...] |
/external/valgrind/main/drd/ |
drd_segment.h | 49 DrdThreadId tid; member in struct:segment
|
/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);
|
pth_barrier.c | 28 pthread_t tid; member in struct:threadinfo 92 res = pthread_create(&t[i].tid, &attr, (void*(*)(void*))threadfunc, &t[i]); 104 pthread_join(t[i].tid, 0);
|
thread_name.c | 46 pthread_t tid[NUM_THREADS]; local 52 pthread_create(&tid[i], 0, thread_func, (void*)(ptrdiff_t)i); 55 pthread_join(tid[i], 0);
|
annotate_rwlock.c | 144 pthread_t tid[thread_count]; local 150 pthread_create(&tid[i], 0, thread_func, 0); 155 pthread_join(tid[i], 0);
|
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/include/ |
pub_tool_tooliface.h | 69 ThreadId tid; /* tid requesting translation */ member in struct:__anon17105 89 // * closure->tid is the ThreadId of the thread requesting the 410 Bool (*handle_client_request)(ThreadId tid, UWord* arg_block, UWord* ret) 425 void (* pre_syscall)(ThreadId tid, UInt syscallno, 427 void (*post_syscall)(ThreadId tid, UInt syscallno, 448 void* (*pmalloc) ( ThreadId tid, SizeT n ), 449 void* (*p__builtin_new) ( ThreadId tid, SizeT n ), 450 void* (*p__builtin_vec_new) ( ThreadId tid, SizeT n ), 451 void* (*pmemalign) ( ThreadId tid, SizeT align, SizeT n ) [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);
|
/system/extras/tests/bionic/libc/other/ |
test_timer_create2.c | 51 timer_t tid; local 59 if (timer_create (CLOCK_REALTIME, &se, &tid) < 0) 64 printf("timer_create successfully = %d.\n", (int)tid); 69 if (timer_settime (tid, TIMER_ABSTIME, &ts, &ots) < 0)
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 20 size_t tid = reinterpret_cast<size_t>(t); local 24 if ((i % (kNumIters / 4)) == 0 && tid == 0) 25 fprintf(stderr, " T[%ld] iter %ld\n", tid, i); 50 if (tid == 0) 52 tid, total_malloced >> 20, (total_malloced - total_freed) >> 20,
|
/external/qemu/ |
compatfd.c | 73 pthread_t tid; local 97 pthread_create(&tid, &attr, sigwait_compat, info);
|
/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-amd64-darwin.c | 225 ThreadId tid = VG_(alloc_ThreadState)(); local 226 ThreadState *tst = VG_(get_ThreadState)(tid); 238 find_stack_segment(tid, tst->arch.vex.guest_RSP); 258 stack = (char *)allocstack(tst->tid); 354 record_named_port(tst->tid, kport, MACH_PORT_RIGHT_SEND, "thread-%p"); 376 find_stack_segment(tst->tid, sp); 382 //VG_TRACK ( pre_thread_ll_create, ptid, tst->tid ); 459 ThreadId tid = VG_(lwpid_to_vgtid)(kport); local 460 vg_assert(VG_(is_valid_tid)(tid)); 463 tst = VG_(get_ThreadState)(tid); [all...] |
syswrap-x86-darwin.c | 179 ThreadId tid = VG_(alloc_ThreadState)(); local 180 ThreadState *tst = VG_(get_ThreadState)(tid); 192 find_stack_segment(tid, tst->arch.vex.guest_ESP); 212 stack = (char *)allocstack(tst->tid); 312 record_named_port(tst->tid, kport, MACH_PORT_RIGHT_SEND, "thread-%p"); 334 find_stack_segment(tst->tid, sp); 340 //VG_TRACK ( pre_thread_ll_create, ptid, tst->tid ); 420 ThreadId tid = VG_(lwpid_to_vgtid)(kport); local 421 vg_assert(VG_(is_valid_tid)(tid)); 424 tst = VG_(get_ThreadState)(tid); [all...] |
/external/valgrind/main/helgrind/tests/ |
annotate_rwlock.c | 158 pthread_t tid[thread_count]; local 164 pthread_create(&tid[i], 0, thread_func, 0); 169 pthread_join(tid[i], 0);
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
PriorityThreadFactoryTest.java | 60 int tid = android.os.Process.myTid(); local 61 mPriority = new Integer(android.os.Process.getThreadPriority(tid));
|
/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, ®s)) { 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...] |
/system/core/debuggerd/mips/ |
machine.c | 39 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, int scopeFlags) { 75 long data = ptrace(PTRACE_PEEKTEXT, tid, (void*)p, NULL); 104 log_t* log, pid_t tid, bool at_fault) { variable 106 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) { 134 dump_memory(log, tid, addr, scopeFlags | SCOPE_SENSITIVE); 142 dump_memory(log, tid, (uintptr_t)pc, scopeFlags); 146 dump_memory(log, tid, (uintptr_t)ra, scopeFlags); 151 log_t* log, pid_t tid, bool at_fault) variable 156 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
|
/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...] |