/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cpp | 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 110 pthread_mutex_lock(&thread_arg.tid_reported_mutex); in SpawnTidReporter() 111 thread_arg.reported_tid = -1; in SpawnTidReporter() 114 &thread_arg)); in SpawnTidReporter() 115 while (thread_arg.reported_tid == (tid_t)(-1)) in SpawnTidReporter() 116 pthread_cond_wait(&thread_arg.tid_reported_cond, in SpawnTidReporter() [all …]
|
/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() 159 thread_arg->note_offset = offset; in core_next_thread() 163 free (thread_arg); in core_next_thread() 170 struct thread_arg *thread_arg = thread_arg_voidp; in core_set_initial_registers() local [all …]
|
D | linux-pid-attach.c | 323 pid_set_initial_registers (Dwfl_Thread *thread, void *thread_arg) in pid_set_initial_registers() argument 325 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_set_initial_registers() 363 pid_thread_detach (Dwfl_Thread *thread, void *thread_arg) in pid_thread_detach() argument 365 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_thread_detach()
|
D | libdwfl.h | 679 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg) 691 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 49 struct thread_arg { struct 110 struct thread_arg *args = (struct thread_arg *)arg; in waiterfn() 146 struct thread_arg *args = (struct thread_arg *)arg; in broadcast_wakerfn() 194 struct thread_arg *args = (struct thread_arg *)arg; in signal_wakerfn() 259 struct thread_arg *args = (struct thread_arg *)arg; in third_party_blocker() 281 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER; in unit_test() 282 struct thread_arg waker_arg = THREAD_ARG_INITIALIZER; in unit_test() 285 struct thread_arg args[THREAD_MAX]; in unit_test()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler.cc | 423 const ThreadArgument *thread_arg = reinterpret_cast<ThreadArgument*>(arg); in ThreadEntry() local 427 sys_close(thread_arg->handler->fdes[1]); in ThreadEntry() 431 thread_arg->handler->WaitForContinueSignal(); in ThreadEntry() 432 sys_close(thread_arg->handler->fdes[0]); in ThreadEntry() 434 return thread_arg->handler->DoDump(thread_arg->pid, thread_arg->context, in ThreadEntry() 435 thread_arg->context_size) == false; in ThreadEntry() 513 ThreadArgument thread_arg; in GenerateDump() local 514 thread_arg.handler = this; in GenerateDump() 515 thread_arg.minidump_descriptor = &minidump_descriptor_; in GenerateDump() 516 thread_arg.pid = getpid(); in GenerateDump() [all …]
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | ThreadLauncher.h | 24 lldb::thread_arg_t thread_arg, 33 lldb::thread_arg_t thread_arg; member 37 : thread_name(name ? name : ""), thread_fptr(fptr), thread_arg(arg) {} in HostThreadCreateInfo()
|
/external/llvm-project/lldb/source/Host/common/ |
D | HostNativeThreadBase.cpp | 62 thread_arg_t thread_arg = info->thread_arg; in ThreadCreateTrampoline() local 68 return thread_fptr(thread_arg); in ThreadCreateTrampoline()
|
D | ThreadLauncher.cpp | 26 lldb::thread_arg_t thread_arg, size_t min_stack_byte_size) { in LaunchThread() argument 29 new HostThreadCreateInfo(name.data(), thread_function, thread_arg); in LaunchThread()
|
/external/llvm-project/openmp/runtime/test/misc_bugs/ |
D | omp_foreign_thread_team_reuse.c | 48 thread_arg_t thread_arg[NUM_THREADS]; in test_omp_team_reuse() local 51 thread_arg[i].iterations = i + 1; in test_omp_team_reuse() 52 pthread_create(thread+i, NULL, thread_function, thread_arg+i); in test_omp_team_reuse()
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.h | 167 } thread_arg; 170 thread_arg targ = *(thread_arg *)arg; 179 thread_arg *targ = (thread_arg *)malloc(sizeof(*targ));
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 246 } thread_arg; 249 thread_arg targ = *(thread_arg *)arg; 258 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 | 176 void *thread_arg __attribute__ ((unused))) in set_initial_registers() argument 249 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__ ((unused))) in thread_callback() argument
|
D | backtrace-dwarf.c | 117 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
|
D | backtrace.c | 197 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__((unused))) in thread_callback() argument
|
/external/llvm-project/lldb/source/API/ |
D | SBHostOS.cpp | 106 void *thread_arg, SBError *error_ptr) { in ThreadCreate() argument 109 thread_function, thread_arg, error_ptr); in ThreadCreate() 111 ThreadLauncher::LaunchThread(name, thread_function, thread_arg); in ThreadCreate()
|
/external/llvm-project/lldb/source/Host/windows/ |
D | HostProcessWindows.cpp | 102 lldb::thread_result_t HostProcessWindows::MonitorThread(void *thread_arg) { in MonitorThread() argument 105 MonitorInfo *info = static_cast<MonitorInfo *>(thread_arg); in MonitorThread()
|
/external/llvm-project/lld/utils/ |
D | benchmark.py | 108 thread_arg = [] if args.threads else ['--no-threads'] 112 ret = perf(['../ld.lld', '@' + response, '-o', 't'] + thread_arg)
|
/external/llvm-project/lldb/include/lldb/Host/windows/ |
D | HostProcessWindows.h | 38 static lldb::thread_result_t MonitorThread(void *thread_arg);
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBHostOS.i | 33 void *thread_arg,
|
/external/llvm-project/lldb/include/lldb/API/ |
D | SBHostOS.h | 31 void *thread_arg, lldb::SBError *err);
|
/external/elfutils/src/ |
D | stack.c | 457 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument 459 struct frames *frames = (struct frames *) thread_arg; in thread_callback() 463 switch (dwfl_thread_getframes (thread, frame_callback, thread_arg)) in thread_callback()
|
/external/elfutils/include/elfutils/ |
D | libdwfl.h | 679 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg) 691 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
|