/external/valgrind/drd/tests/ |
pth_detached_sem.c | 45 int thread_arg[count1 > count2 ? count1 : count2]; local 51 thread_arg[i] = i; 65 pthread_create(&thread, &attr, thread_func1, &thread_arg[i]); 74 pthread_create(&thread, &attr, thread_func2, &thread_arg[i]);
|
circular_buffer.c | 186 int thread_arg[THREADS]; local 209 thread_arg[i] = i; 211 (void * (*)(void *)) producer, &thread_arg[i]); 216 (void * (*)(void *)) consumer, &thread_arg[i]);
|
/system/extras/simpleperf/ |
perf_clock.cpp | 45 static void ThreadA(ThreadArg* thread_arg) { 46 thread_arg->thread_a_tid = syscall(SYS_gettid); 47 while (!thread_arg->start_mmap) { 68 thread_arg->has_error = true; 85 thread_arg->mmap_start_addr = 89 thread_arg->system_time_in_ns = array[best_index].end_system_time_in_ns; 93 ThreadArg thread_arg; local 94 thread_arg.thread_a_tid = 0; 95 thread_arg.start_mmap = false; 96 thread_arg.has_error = false [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 75 pthread_mutex_lock(&thread_arg.terminate_thread_mutex); 76 thread_arg.terminate_thread = true; 77 pthread_cond_broadcast(&thread_arg.terminate_thread_cond); 78 pthread_mutex_unlock(&thread_arg.terminate_thread_mutex); 90 TidReporterArgument thread_arg; member in class:__sanitizer::ThreadListerTest 111 pthread_mutex_lock(&thread_arg.tid_reported_mutex); 112 thread_arg.reported_tid = -1; 115 &thread_arg)); 116 while (thread_arg.reported_tid == -1) 117 pthread_cond_wait(&thread_arg.tid_reported_cond [all...] |
/external/elfutils/libdwfl/ |
linux-core-attach.c | 47 struct thread_arg struct 110 struct thread_arg *thread_arg; local 114 thread_arg = malloc (sizeof (*thread_arg)); 115 if (thread_arg == NULL) 120 thread_arg->core_arg = core_arg; 121 *thread_argp = thread_arg; 124 thread_arg = (struct thread_arg *) *thread_argp 169 struct thread_arg *thread_arg = thread_arg_voidp; local [all...] |
/external/libvpx/libvpx/vpx_util/ |
vpx_thread.h | 223 } thread_arg; typedef in typeref:struct:__anon26296 226 thread_arg targ = *(thread_arg *)arg; 235 thread_arg *targ = (thread_arg *)malloc(sizeof(*targ));
|
/external/linux-kselftest/tools/testing/selftests/futex/functional/ |
futex_requeue_pi.c | 53 struct thread_arg { struct 114 struct thread_arg *args = (struct thread_arg *)arg; 150 struct thread_arg *args = (struct thread_arg *)arg; 198 struct thread_arg *args = (struct thread_arg *)arg; 263 struct thread_arg *args = (struct thread_arg *)arg; 285 struct thread_arg blocker_arg = THREAD_ARG_INITIALIZER [all...] |
/system/core/adb/ |
fdevent_test.cpp | 117 ThreadArg thread_arg; local 118 thread_arg.first_read_fd = fd_pair1[0]; 119 thread_arg.last_write_fd = fd_pair2[1]; 120 thread_arg.middle_pipe_count = PIPE_COUNT; 125 std::thread thread(FdEventThreadFunc, &thread_arg);
|
/system/libhwbinder/vts/performance/ |
Latency.cpp | 132 ThreadArg thread_arg; local 137 thread_arg.target = target; 138 thread_arg.result = presults; 143 REQUIRE(!pthread_create(&thread, &attr, threadStart, &thread_arg));
|
/external/google-breakpad/src/client/linux/handler/ |
exception_handler.cc | 398 const ThreadArgument *thread_arg = reinterpret_cast<ThreadArgument*>(arg); local 402 thread_arg->handler->WaitForContinueSignal(); 404 return thread_arg->handler->DoDump(thread_arg->pid, thread_arg->context, 405 thread_arg->context_size) == false; 482 ThreadArgument thread_arg; local 483 thread_arg.handler = this; 484 thread_arg.minidump_descriptor = &minidump_descriptor_; 485 thread_arg.pid = getpid() [all...] |