/bionic/libc/bionic/ |
pthread_kill.cpp | 35 extern "C" int tgkill(int tgid, int tid, int sig); 46 pid_t tid = thread->tid; local 49 int rc = tgkill(getpid(), tid, sig);
|
pthread_setname_np.cpp | 64 pid_t tid = 0; local 70 tid = thread->tid; 73 snprintf(comm_name, sizeof(comm_name), TASK_COMM_FMT, tid);
|
/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,
|
/ndk/tests/device/test-openmp/jni/ |
openmp2.c | 8 int nthreads, tid; local 11 #pragma omp parallel default(shared) private(nthreads, tid) 15 tid = omp_get_thread_num(); 16 printf("Hello World from thread = %d\n", tid); 18 if (tid == 0)
|
/system/core/debuggerd/x86/ |
machine.c | 35 log_t* log, pid_t tid, bool at_fault) { variable 39 log_t* log, pid_t tid, bool at_fault) { variable 43 if(ptrace(PTRACE_GETREGS, tid, 0, &r)) {
|
/external/valgrind/main/drd/tests/ |
pth_barrier_race.c | 30 pthread_t tid; local 35 pthread_create(&tid, NULL, thread, NULL); 46 pthread_join(tid, NULL);
|
annotate_hb_race.c | 31 pthread_t tid[2]; local 35 pthread_create(&tid[0], 0, thread_func, &result[0]); 36 pthread_create(&tid[1], 0, thread_func, &result[1]); 42 pthread_join(tid[0], NULL); 43 pthread_join(tid[1], NULL);
|
pth_cancel_locked.c | 27 pthread_t tid; local 36 pthread_create(&tid, 0, &thread, 0); 43 pthread_cancel(tid); 46 pthread_join(tid, 0);
|
annotate_ignore_rw.c | 29 pthread_t tid; local 43 pthread_create(&tid, 0, thread_func, 0); 63 pthread_join(tid, 0);
|
annotate_ignore_write.c | 29 pthread_t tid; local 43 pthread_create(&tid, 0, thread_func, 0); 64 pthread_join(tid, 0);
|
annotate_static.cpp | 38 pthread_t tid; local 40 pthread_create(&tid, 0, thread_func, NULL); 43 pthread_join(tid, NULL);
|
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());
|
pth_barrier_thr_cr.c | 27 pthread_t *tid; local 37 tid = malloc(thread_count * sizeof(*tid)); 38 assert(tid); 40 res = pthread_create(&tid[i], NULL, thread, NULL); 44 res = pthread_join(tid[i], NULL); 47 free(tid);
|
pth_spinlock.c | 38 pthread_t tid[n_threads]; local 46 pthread_create(&tid[i], 0, thread_func, 0); 48 pthread_join(tid[i], 0);
|
/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)
|
/external/valgrind/main/helgrind/tests/ |
free_is_write.c | 21 pthread_t tid; local 32 pthread_create(&tid, NULL, thread_func, NULL); 39 pthread_join(tid, NULL);
|
/external/oprofile/daemon/liblegacy/ |
opd_proc.h | 34 pid_t tid; member in struct:opd_proc 86 * @param tid tid for this process 91 void opd_handle_exec(pid_t tid, pid_t tgid); 107 * @param tid tid for this process 110 * A process with pid tid is searched on the process list, 114 struct opd_proc * opd_get_proc(pid_t tid, pid_t tgid); 118 * @param tid tid for this proces [all...] |
/system/core/include/cutils/ |
debugger.h | 39 pid_t tid; member in struct:__anon43839 47 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen); 52 int dump_backtrace_to_file(pid_t tid, int fd);
|
/system/extras/tests/bionic/libc/other/ |
test_timer_create.c | 51 timer_t tid; local 60 if (timer_create (CLOCK_REALTIME, &se, &tid) < 0) 70 if (timer_settime (tid, TIMER_ABSTIME, &ts, &ots) < 0)
|
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)
|
/bionic/tests/ |
stack_protector_test.cpp | 52 pid_t tid = gettid(); local 55 printf("[thread %d] %%gs:0x14 = 0x%08x\n", tid, guard); 57 // Duplicate tid. gettid(2) bug? Seeing this would be very upsetting. 58 ASSERT_TRUE(tids.find(tid) == tids.end()); 64 tids.insert(tid);
|
/bootable/recovery/minadbd/ |
usb_linux_client.c | 115 adb_thread_t tid; local 136 if(adb_thread_create(&tid, usb_open_thread, h)){
|
/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/libselinux/src/ |
procattr.c | 25 pid_t tid; local 31 tid = gettid(); 32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 81 pid_t tid; local 88 tid = gettid(); 89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
|
/external/linux-tools-perf/util/ |
values.h | 9 u32 *pid, *tid; member in struct:perf_read_values 21 u32 pid, u32 tid,
|