Searched defs:arg (Results 1 - 25 of 27) sorted by relevance

12

/bionic/libc/bionic/
H A Dioctl.c35 void * arg; local
38 arg = va_arg(ap, void *);
41 return __ioctl(fd, request, arg);
H A Dclone.cpp36 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 Dpthread_exit.cpp45 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { argument
48 c->__cleanup_arg = arg;
H A Dlegacy_32_bit_support.cpp52 void* arg = va_arg(ap, void*); local
55 return __fcntl64(fd, cmd, arg);
H A Dpthread_create.cpp129 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 Ddebug_stacktrace.cpp95 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 Dposix_timers.cpp72 static void* __timer_thread_start(void* arg) { argument
73 PosixTimer* timer = reinterpret_cast<PosixTimer*>(arg);
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Datexit.c61 __cxa_atexit(void (*func)(void *), void *arg, void *dso) argument
95 fnp->fn_arg = arg;
/bionic/libc/kernel/uapi/linux/mmc/
H A Dioctl.h27 __u32 arg; member in struct:mmc_ioc_cmd
/bionic/tests/
H A Dstack_protector_test.cpp65 static void* ThreadGuardHelper(void* arg) { argument
66 stack_protector_checker* checker = reinterpret_cast<stack_protector_checker*>(arg);
H A Dstack_unwinding_test.cpp37 static _Unwind_Reason_Code FrameCounter(_Unwind_Context* ctx __unused, void* arg) { argument
38 int* count_ptr = reinterpret_cast<int*>(arg);
H A Dstdatomic_test.cpp186 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 Dstdlib_test.cpp141 static void* TestBug57421_child(void* arg) { argument
142 pthread_t main_thread = reinterpret_cast<pthread_t>(arg);
H A Dsystem_properties_test.cpp104 static void *PropertyWaitHelperFn(void *arg) { argument
105 int *flag = (int *)arg;
H A Dpthread_test.cpp138 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 Dn_r3964.h44 int arg; member in struct:r3964_client_message
H A Dion.h65 unsigned long arg; member in struct:ion_custom_data
H A Dax25.h86 int arg; member in struct:ax25_route_opt_struct
95 unsigned long arg; member in struct:ax25_ctl_struct
H A Datm.h174 void __user *arg; member in struct:atmif_sioc
H A Disdn.h102 unsigned long arg; member in struct:__anon426
/bionic/libc/kernel/uapi/xen/
H A Dprivcmd.h27 __u64 arg[5]; member in struct:privcmd_hypercall
/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Dexec.c46 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 Dbenchmark_main.cpp60 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 Dvfprintf.c58 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 Dvfwprintf.c57 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);

Completed in 328 milliseconds

12