/bionic/tests/ |
H A D | __cxa_thread_atexit_test.cpp | 40 static void* thread_nop(void* arg) { argument 41 class_with_dtor.set_message(*static_cast<std::string*>(arg)); 76 extern "C" int __cxa_thread_atexit_impl(void (*fn)(void*), void* arg, void* dso_handle); 78 static void thread_atexit_fn1(void* arg) { argument 79 std::string* call_sequence = static_cast<std::string*>(arg); 83 static void thread_atexit_fn2(void* arg) { argument 84 std::string* call_sequence = static_cast<std::string*>(arg); 88 static void thread_atexit_from_atexit(void* arg) { argument 89 std::string* call_sequence = static_cast<std::string*>(arg); 93 static void thread_atexit_fn3(void* arg) { argument 99 thread_atexit_fn4(void* arg) argument 104 thread_atexit_fn5(void* arg) argument 109 thread_main(void* arg) argument [all...] |
H A D | pthread_test.cpp | 197 static void* IdFn(void* arg) { argument 198 return arg; 230 static void* JoinFn(void* arg) { argument 231 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL)); 335 static void* thread_fn(void* arg) { argument 336 TestBug37410* data = reinterpret_cast<TestBug37410*>(arg); 358 static void* SignalHandlerFn(void* arg) { argument 361 return reinterpret_cast<void*>(sigwait(&wait_set, reinterpret_cast<int*>(arg))); 553 static void* GetActualGuardSizeFn(void* arg) { argument 556 pthread_attr_getguardsize(&attributes, reinterpret_cast<size_t*>(arg)); 568 GetActualStackSizeFn(void* arg) argument 750 pthread_rwlock_reader_wakeup_writer_helper(RwlockWakeupHelperArg* arg) argument 784 pthread_rwlock_writer_wakeup_reader_helper(RwlockWakeupHelperArg* arg) argument 842 ThreadArg* arg = new ThreadArg(this, tid); local 849 ThreadArg* arg = new ThreadArg(this, tid); local 867 WriterThreadFn(ThreadArg* arg) argument 876 ReaderThreadFn(ThreadArg* arg) argument 1247 pthread_gettid_np_helper(void* arg) argument [all...] |
H A D | stack_protector_test.cpp | 62 static void* ThreadGuardHelper(void* arg) { argument 63 stack_protector_checker* checker = reinterpret_cast<stack_protector_checker*>(arg);
|
H A D | stack_unwinding_test.cpp | 37 static _Unwind_Reason_Code FrameCounter(_Unwind_Context* ctx __unused, void* arg) { argument 38 int* count_ptr = reinterpret_cast<int*>(arg);
|
/bionic/libc/bionic/ |
H A D | ioctl.c | 35 void * arg; local 38 arg = va_arg(ap, void *); 41 return __ioctl(fd, request, arg);
|
H A D | __cxa_thread_atexit_impl.cpp | 20 void *arg; member in struct:thread_local_dtor 27 extern "C" int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle) { argument 31 dtor->arg = arg; 45 current->func(current->arg);
|
H A D | clone.cpp | 36 extern "C" pid_t __bionic_clone(uint32_t flags, void* child_stack, int* parent_tid, void* tls, int* child_tid, int (*fn)(void*), void* arg); 40 extern "C" __LIBC_HIDDEN__ void __start_thread(int (*fn)(void*), void* arg) { argument 41 int status = (*fn)(arg); 45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { argument 52 va_start(args, arg); 74 int clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg);
|
H A D | legacy_32_bit_support.cpp | 52 void* arg = va_arg(ap, void*); local 55 return __fcntl64(fd, cmd, arg);
|
H A D | pthread_exit.cpp | 46 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { argument 49 c->__cleanup_arg = arg;
|
H A D | debug_stacktrace.cpp | 77 static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg) { argument 78 stack_crawl_state_t* state = static_cast<stack_crawl_state_t*>(arg);
|
/bionic/benchmarks/benchmark/ |
H A D | Benchmark.h | 69 bool ShouldRun(std::vector<regex_t*>&, T arg); 70 void RunWithArg(T arg); 110 BenchmarkWithArg* Arg(T arg) { argument 111 args_.push_back(arg); 118 for (const auto& arg : args_) { 119 max = std::max(max, GetNameStr(arg).size()); 124 std::string GetNameStr(T arg) override; 128 for (T& arg : args_) { 129 if (BenchmarkT<T>::ShouldRun(regs, arg)) { 131 BenchmarkT<T>::RunWithArg(arg); [all...] |
/bionic/benchmarks/ |
H A D | Benchmark.cpp | 74 bool BenchmarkT<T>::ShouldRun(std::vector<regex_t*>& regs, T arg) { argument 80 if (regexec(re, GetNameStr(arg).c_str(), 0, NULL, 0) != REG_NOMATCH) { 105 std::string BenchmarkWithArg<int>::GetNameStr(int arg) { argument 106 return Name() + "/" + PrettyInt(arg, 2); 110 std::string BenchmarkWithArg<double>::GetNameStr(double arg) { argument 111 return Name() + "/" + android::base::StringPrintf("%0.6f", arg); 115 void BenchmarkT<T>::RunWithArg(T arg) { argument 124 RunIterations(iterations, arg); 140 printf("%-*s %10s %10" PRId64, MaxNameColumnWidth(), GetNameStr(arg).c_str(),
|
H A D | pthread_benchmark.cpp | 173 static void* RunThread(void* arg) { argument 174 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg); 191 static void* ExitThread(void* arg) { argument 192 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg);
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
H A D | exec.c | 46 execl(const char *name, const char *arg, ...) argument 52 va_start(ap, arg); 62 va_start(ap, arg); 64 argv[0] = (char *)arg; 72 execle(const char *name, const char *arg, ...) argument 78 va_start(ap, arg); 88 va_start(ap, arg); 90 argv[0] = (char *)arg; 99 execlp(const char *name, const char *arg, ...) argument 105 va_start(ap, arg); [all...] |
/bionic/libc/arch-arm/bionic/ |
H A D | atexit_legacy.c | 40 extern int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
|
/bionic/libc/arch-mips/bionic/ |
H A D | __bionic_clone.S | 33 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); 42 lw t1,24(sp) # arg 44 sw t1,4(a1) # arg 61 lw a1,4(sp) # arg 63 # void __start_thread(int (*func)(void*), void *arg)
|
/bionic/libc/kernel/uapi/linux/mmc/ |
H A D | ioctl.h | 27 __u32 arg; member in struct:mmc_ioc_cmd
|
/bionic/libc/kernel/uapi/linux/ |
H A D | n_r3964.h | 47 int arg; member in struct:r3964_client_message
|
H A D | ax25.h | 86 int arg; member in struct:ax25_route_opt_struct 95 unsigned long arg; member in struct:ax25_ctl_struct
|
H A D | ion.h | 65 unsigned long arg; member in struct:ion_custom_data
|
/bionic/libc/arch-mips64/bionic/ |
H A D | __bionic_clone.S | 44 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); 54 PRL_L t1,FRAMESZ+6*REGSZ(sp) # arg 56 PTR_S t1,FRAME_ARG(a1) # arg 61 PTR_S a6,FRAME_ARG(a1) # arg 81 # void __start_thread(int (*func)(void*), void *arg) 83 PTR_L a1,FRAME_ARG(sp) # arg
|
/bionic/libc/arch-arm64/bionic/ |
H A D | __bionic_clone.S | 31 // pid_t __bionic_clone(int flags, void* child_stack, pid_t* parent_tid, void* tls, pid_t* child_tid, int (*fn)(void*), void* arg); 34 # Push 'fn' and 'arg' onto the child stack. 56 # Call __start_thread with the 'fn' and 'arg' we stored on the child stack.
|
/bionic/libc/kernel/uapi/xen/ |
H A D | privcmd.h | 27 __u64 arg[5]; member in struct:privcmd_hypercall
|
/bionic/libc/kernel/tools/ |
H A D | clean_header.py | 192 for opt, arg in optlist: 198 kernel_original_path = arg 200 kernel_cleaned_path = arg
|
/bionic/libc/tools/ |
H A D | generate-NOTICE.py | 107 for arg in args: 108 sys.stderr.write('Searching for source files in "%s"...\n' % arg) 110 for directory, sub_directories, filenames in os.walk(arg):
|