/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 | 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 | pthread_exit.cpp | 45 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { argument 48 c->__cleanup_arg = 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_create.cpp | 129 static int __pthread_start(void* arg) { argument 130 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(arg); 155 void* (*start_routine)(void*), void* arg) { 209 thread->start_routine_arg = arg; 154 pthread_create(pthread_t* thread_out, pthread_attr_t const* attr, void* (*start_routine)(void*), void* arg) argument
|
H A D | debug_stacktrace.cpp | 95 static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg) { argument 96 stack_crawl_state_t* state = static_cast<stack_crawl_state_t*>(arg);
|
H A D | posix_timers.cpp | 72 static void* __timer_thread_start(void* arg) { argument 73 PosixTimer* timer = reinterpret_cast<PosixTimer*>(arg);
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | atexit.c | 61 __cxa_atexit(void (*func)(void *), void *arg, void *dso) argument 95 fnp->fn_arg = arg;
|
/bionic/libc/kernel/uapi/linux/mmc/ |
H A D | ioctl.h | 27 __u32 arg; member in struct:mmc_ioc_cmd
|
/bionic/tests/ |
H A D | stack_protector_test.cpp | 65 static void* ThreadGuardHelper(void* arg) { argument 66 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);
|
H A D | stdatomic_test.cpp | 186 static void* writer(void* arg) { argument 187 three_atomics* a = reinterpret_cast<three_atomics*>(arg); 199 static void* reader(void* arg) { argument 200 three_atomics* a = reinterpret_cast<three_atomics*>(arg);
|
H A D | stdlib_test.cpp | 141 static void* TestBug57421_child(void* arg) { argument 142 pthread_t main_thread = reinterpret_cast<pthread_t>(arg);
|
H A D | system_properties_test.cpp | 104 static void *PropertyWaitHelperFn(void *arg) { argument 105 int *flag = (int *)arg;
|
H A D | pthread_test.cpp | 138 static void* IdFn(void* arg) { argument 139 return arg; 142 static void* SleepFn(void* arg) { argument 143 sleep(reinterpret_cast<uintptr_t>(arg)); 147 static void* SpinFn(void* arg) { argument 148 volatile bool* b = reinterpret_cast<volatile bool*>(arg); 154 static void* JoinFn(void* arg) { argument 155 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL)); 257 static void* thread_fn(void* arg) { argument 258 TestBug37410* data = reinterpret_cast<TestBug37410*>(arg); 278 SignalHandlerFn(void* arg) argument 533 GetActualGuardSizeFn(void* arg) argument 549 GetActualStackSizeFn(void* arg) argument [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | n_r3964.h | 44 int arg; member in struct:r3964_client_message
|
H A D | ion.h | 65 unsigned long arg; member in struct:ion_custom_data
|
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 | atm.h | 174 void __user *arg; member in struct:atmif_sioc
|
H A D | isdn.h | 102 unsigned long arg; member in struct:__anon426
|
/bionic/libc/kernel/uapi/xen/ |
H A D | privcmd.h | 27 __u64 arg[5]; member in struct:privcmd_hypercall
|
/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/benchmarks/ |
H A D | benchmark_main.cpp | 60 Benchmark* Benchmark::Arg(int arg) { argument 61 args_.push_back(arg); 117 void Benchmark::RunRepeatedlyWithArg(int iterations, int arg) { argument 124 fn_range_(iterations, arg); 131 void Benchmark::RunWithArg(int arg) { argument 134 RunRepeatedlyWithArg(iterations, arg); 144 RunRepeatedlyWithArg(iterations, arg); 157 if (arg >= (1<<20)) { 158 snprintf(full_name, sizeof(full_name), "%s/%dM", name_, arg/(1<<20)); 159 } else if (arg > [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vfprintf.c | 58 union arg { union 90 static int __find_arguments(const char *fmt0, va_list ap, union arg **argtable, 329 union arg *argtable; /* args, built due to positional arg */ 330 union arg statargtable[STATIC_ARG_TBL_SIZE]; 1135 __find_arguments(const char *fmt0, va_list ap, union arg **argtable, 1376 *argtablesiz = sizeof(union arg) * (tablemax + 1);
|
H A D | vfwprintf.c | 57 union arg { union 87 static int __find_arguments(const wchar_t *fmt0, va_list ap, union arg **argtable, 329 union arg *argtable; /* args, built due to positional arg */ 330 union arg statargtable[STATIC_ARG_TBL_SIZE]; 1119 __find_arguments(const wchar_t *fmt0, va_list ap, union arg **argtable, 1350 *argtablesiz = sizeof(union arg) * (tablemax + 1);
|