/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cc | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); in TearDown() 76 thread_arg.terminate_thread = true; in TearDown() 77 pthread_cond_broadcast(&thread_arg.terminate_thread_cond); in TearDown() 78 pthread_mutex_unlock(&thread_arg.terminate_thread_mutex); in TearDown() 90 TidReporterArgument thread_arg; member in __sanitizer::ThreadListerTest 111 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 112 thread_arg.reported_tid = -1; in SpawnTidReporter() 115 &thread_arg)); in SpawnTidReporter() 116 while (thread_arg.reported_tid == -1) in SpawnTidReporter() 117 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() [all …]
|
/external/elfutils/libdwfl/ |
D | linux-core-attach.c | 47 struct thread_arg struct 110 struct thread_arg *thread_arg; in core_next_thread() local 114 thread_arg = malloc (sizeof (*thread_arg)); in core_next_thread() 115 if (thread_arg == NULL) in core_next_thread() 120 thread_arg->core_arg = core_arg; in core_next_thread() 121 *thread_argp = thread_arg; in core_next_thread() 124 thread_arg = (struct thread_arg *) *thread_argp; in core_next_thread() 158 thread_arg->note_offset = offset; in core_next_thread() 162 free (thread_arg); in core_next_thread() 169 struct thread_arg *thread_arg = thread_arg_voidp; in core_set_initial_registers() local [all …]
|
D | linux-pid-attach.c | 235 pid_set_initial_registers (Dwfl_Thread *thread, void *thread_arg) in pid_set_initial_registers() argument 237 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_set_initial_registers() 274 pid_thread_detach (Dwfl_Thread *thread, void *thread_arg) in pid_thread_detach() argument 276 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_thread_detach() 453 void *thread_arg __attribute__ ((unused))) in pid_set_initial_registers() argument 475 void *thread_arg __attribute__ ((unused))) in pid_thread_detach() argument
|
D | libdwfl.h | 691 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg) 703 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
|
D | ChangeLog | 687 is NULL. Reset core_arg->thread_note_offset and malloc a thread_arg 688 in that case. Free thread_arg if there are no more threads.
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 52 struct thread_arg { struct 113 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() 149 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() 197 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() 262 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() 284 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER; in unit_test() 285 struct thread_arg waker_arg = THREAD_ARG_INITIALIZER; in unit_test() 288 struct thread_arg args[THREAD_MAX]; in unit_test()
|
/external/valgrind/drd/tests/ |
D | pth_detached_sem.c | 45 int thread_arg[count1 > count2 ? count1 : count2]; in main() local 51 thread_arg[i] = i; in main() 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); in main() 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]); in main()
|
D | circular_buffer.c | 186 int thread_arg[THREADS]; in main() local 209 thread_arg[i] = i; in main() 211 (void * (*)(void *)) producer, &thread_arg[i]); in main() 216 (void * (*)(void *)) consumer, &thread_arg[i]); in main()
|
D | pth_cond_race.c | 13 static void* thread_func(void* thread_arg); 59 static void* thread_func(void* thread_arg) in thread_func() argument
|
D | sem_as_mutex.c | 92 static void* thread_func(void* thread_arg) in thread_func() argument
|
D | pth_cond_destroy_busy.c | 25 static void* thread_func(void* thread_arg) in thread_func() argument
|
D | sigalrm.c | 46 void* thread_func(void* thread_arg) in thread_func() argument
|
D | fp_race.c | 91 static void* thread_func(void* thread_arg) in thread_func() argument
|
D | sem_open.c | 106 static void* thread_func(void* thread_arg) in thread_func() argument
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 398 const ThreadArgument *thread_arg = reinterpret_cast<ThreadArgument*>(arg); in ThreadEntry() local 402 thread_arg->handler->WaitForContinueSignal(); in ThreadEntry() 404 return thread_arg->handler->DoDump(thread_arg->pid, thread_arg->context, in ThreadEntry() 405 thread_arg->context_size) == false; in ThreadEntry() 482 ThreadArgument thread_arg; in GenerateDump() local 483 thread_arg.handler = this; in GenerateDump() 484 thread_arg.minidump_descriptor = &minidump_descriptor_; in GenerateDump() 485 thread_arg.pid = getpid(); in GenerateDump() 486 thread_arg.context = context; in GenerateDump() 487 thread_arg.context_size = sizeof(*context); in GenerateDump() [all …]
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 223 } thread_arg; 226 thread_arg targ = *(thread_arg *)arg; 235 thread_arg *targ = (thread_arg *)malloc(sizeof(*targ));
|
/external/elfutils/tests/ |
D | dwfl-proc-attach.c | 64 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument 66 int *threads = (int *) thread_arg; in thread_callback()
|
D | backtrace-data.c | 170 void *thread_arg __attribute__ ((unused))) in set_initial_registers() argument 244 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__ ((unused))) in thread_callback() argument
|
D | backtrace-dwarf.c | 118 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
|
D | backtrace.c | 185 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__((unused))) in thread_callback() argument
|
/external/elfutils/src/ |
D | stack.c | 452 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument 454 struct frames *frames = (struct frames *) thread_arg; in thread_callback() 458 switch (dwfl_thread_getframes (thread, frame_callback, thread_arg)) in thread_callback()
|
/external/elfutils/include/elfutils/ |
D | libdwfl.h | 691 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg) 703 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
|