/external/valgrind/drd/tests/ |
pth_detached_sem.c | 45 int thread_arg[count1 > count2 ? count1 : count2]; local 51 thread_arg[i] = i; 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]);
|
circular_buffer.c | 186 int thread_arg[THREADS]; local 209 thread_arg[i] = i; 211 (void * (*)(void *)) producer, &thread_arg[i]); 216 (void * (*)(void *)) consumer, &thread_arg[i]);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); 76 thread_arg.terminate_thread = true; 77 pthread_cond_broadcast(&thread_arg.terminate_thread_cond); 78 pthread_mutex_unlock(&thread_arg.terminate_thread_mutex); 90 TidReporterArgument thread_arg; member in class:__sanitizer::ThreadListerTest 111 pthread_mutex_lock(&thread_arg.tid_reported_mutex); 112 thread_arg.reported_tid = -1; 115 &thread_arg)); 116 while (thread_arg.reported_tid == -1) 117 pthread_cond_wait(&thread_arg.tid_reported_cond [all...] |
/external/elfutils/libdwfl/ |
linux-core-attach.c | 47 struct thread_arg struct 110 struct thread_arg *thread_arg; local 114 thread_arg = malloc (sizeof (*thread_arg)); 115 if (thread_arg == NULL) 120 thread_arg->core_arg = core_arg; 121 *thread_argp = thread_arg; 124 thread_arg = (struct thread_arg *) *thread_argp 169 struct thread_arg *thread_arg = thread_arg_voidp; local [all...] |
/system/core/adb/ |
fdevent_test.cpp | 116 ThreadArg thread_arg; local 117 thread_arg.first_read_fd = fd_pair1[0]; 118 thread_arg.last_write_fd = fd_pair2[1]; 119 thread_arg.middle_pipe_count = PIPE_COUNT; 124 ASSERT_TRUE(adb_thread_create(reinterpret_cast<void (*)(void*)>(FdEventThreadFunc), &thread_arg,
|
/external/google-breakpad/src/client/linux/handler/ |
exception_handler.cc | 398 const ThreadArgument *thread_arg = reinterpret_cast<ThreadArgument*>(arg); local 402 thread_arg->handler->WaitForContinueSignal(); 404 return thread_arg->handler->DoDump(thread_arg->pid, thread_arg->context, 405 thread_arg->context_size) == false; 482 ThreadArgument thread_arg; local 483 thread_arg.handler = this; 484 thread_arg.minidump_descriptor = &minidump_descriptor_; 485 thread_arg.pid = getpid() [all...] |