Home
last modified time | relevance | path

Searched refs:thread_arg (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_linux_test.cpp75 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/
Dsanitizer_linux_test.cc75 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/
Dlinux-core-attach.c47 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 …]
Dlinux-pid-attach.c323 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()
Dlibdwfl.h679 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/
Dfutex_requeue_pi.c49 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/
Dexception_handler.cc423 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/
DThreadLauncher.h24 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/
DHostNativeThreadBase.cpp62 thread_arg_t thread_arg = info->thread_arg; in ThreadCreateTrampoline() local
68 return thread_fptr(thread_arg); in ThreadCreateTrampoline()
DThreadLauncher.cpp26 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/
Domp_foreign_thread_team_reuse.c48 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/
Daom_thread.h167 } thread_arg;
170 thread_arg targ = *(thread_arg *)arg;
179 thread_arg *targ = (thread_arg *)malloc(sizeof(*targ));
/external/libvpx/libvpx/vpx_util/
Dvpx_thread.h246 } thread_arg;
249 thread_arg targ = *(thread_arg *)arg;
258 thread_arg *targ = (thread_arg *)malloc(sizeof(*targ));
/external/elfutils/tests/
Ddwfl-proc-attach.c64 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
66 int *threads = (int *) thread_arg; in thread_callback()
Dbacktrace-data.c176 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
Dbacktrace-dwarf.c117 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
Dbacktrace.c197 thread_callback (Dwfl_Thread *thread, void *thread_arg __attribute__((unused))) in thread_callback() argument
/external/llvm-project/lldb/source/API/
DSBHostOS.cpp106 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/
DHostProcessWindows.cpp102 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/
Dbenchmark.py108 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/
DHostProcessWindows.h38 static lldb::thread_result_t MonitorThread(void *thread_arg);
/external/llvm-project/lldb/bindings/interface/
DSBHostOS.i33 void *thread_arg,
/external/llvm-project/lldb/include/lldb/API/
DSBHostOS.h31 void *thread_arg, lldb::SBError *err);
/external/elfutils/src/
Dstack.c457 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/
Dlibdwfl.h679 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg)
691 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)

12