Home
last modified time | relevance | path

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

/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.c315 pid_set_initial_registers (Dwfl_Thread *thread, void *thread_arg) in pid_set_initial_registers() argument
317 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_set_initial_registers()
355 pid_thread_detach (Dwfl_Thread *thread, void *thread_arg) in pid_thread_detach() argument
357 struct __libdwfl_pid_arg *pid_arg = thread_arg; in pid_thread_detach()
Dlibdwfl.h691 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg)
703 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
DChangeLog1062 is NULL. Reset core_arg->thread_note_offset and malloc a thread_arg
1063 in that case. Free thread_arg if there are no more threads.
/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.cc398 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/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/elfutils/src/
Dstack.c452 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/
Dlibdwfl.h691 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg)
703 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)