Home
last modified time | relevance | path

Searched refs:thread_arg (Results 1 – 22 of 22) 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()
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 …]
Dlinux-pid-attach.c235 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
Dlibdwfl.h691 bool (*set_initial_registers) (Dwfl_Thread *thread, void *thread_arg)
703 void (*thread_detach) (Dwfl_Thread *thread, void *thread_arg)
DChangeLog687 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/
Dfutex_requeue_pi.c52 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/
Dpth_detached_sem.c45 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()
Dcircular_buffer.c186 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()
Dpth_cond_race.c13 static void* thread_func(void* thread_arg);
59 static void* thread_func(void* thread_arg) in thread_func() argument
Dsem_as_mutex.c92 static void* thread_func(void* thread_arg) in thread_func() argument
Dpth_cond_destroy_busy.c25 static void* thread_func(void* thread_arg) in thread_func() argument
Dsigalrm.c46 void* thread_func(void* thread_arg) in thread_func() argument
Dfp_race.c91 static void* thread_func(void* thread_arg) in thread_func() argument
Dsem_open.c106 static void* thread_func(void* thread_arg) in thread_func() argument
/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/libvpx/libvpx/vpx_util/
Dvpx_thread.h223 } thread_arg;
226 thread_arg targ = *(thread_arg *)arg;
235 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.c170 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
Dbacktrace-dwarf.c118 thread_callback (Dwfl_Thread *thread, void *thread_arg) in thread_callback() argument
Dbacktrace.c185 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)