/bionic/tests/ |
D | __cxa_thread_atexit_test.cpp | 40 static void* thread_nop(void* arg) { in thread_nop() argument 41 class_with_dtor.set_message(*static_cast<std::string*>(arg)); in thread_nop() 76 extern "C" int __cxa_thread_atexit_impl(void (*fn)(void*), void* arg, void* dso_handle); 78 static void thread_atexit_fn1(void* arg) { in thread_atexit_fn1() argument 79 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn1() 83 static void thread_atexit_fn2(void* arg) { in thread_atexit_fn2() argument 84 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn2() 88 static void thread_atexit_from_atexit(void* arg) { in thread_atexit_from_atexit() argument 89 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_from_atexit() 93 static void thread_atexit_fn3(void* arg) { in thread_atexit_fn3() argument [all …]
|
D | pthread_test.cpp | 197 static void* IdFn(void* arg) { in IdFn() argument 198 return arg; in IdFn() 230 static void* JoinFn(void* arg) { in JoinFn() argument 231 return reinterpret_cast<void*>(pthread_join(reinterpret_cast<pthread_t>(arg), NULL)); in JoinFn() 335 static void* thread_fn(void* arg) { in thread_fn() 336 TestBug37410* data = reinterpret_cast<TestBug37410*>(arg); in thread_fn() 358 static void* SignalHandlerFn(void* arg) { in SignalHandlerFn() argument 361 return reinterpret_cast<void*>(sigwait(&wait_set, reinterpret_cast<int*>(arg))); in SignalHandlerFn() 553 static void* GetActualGuardSizeFn(void* arg) { in GetActualGuardSizeFn() argument 556 pthread_attr_getguardsize(&attributes, reinterpret_cast<size_t*>(arg)); in GetActualGuardSizeFn() [all …]
|
D | stack_protector_test.cpp | 62 static void* ThreadGuardHelper(void* arg) { in ThreadGuardHelper() argument 63 stack_protector_checker* checker = reinterpret_cast<stack_protector_checker*>(arg); in ThreadGuardHelper()
|
D | stack_unwinding_test.cpp | 37 static _Unwind_Reason_Code FrameCounter(_Unwind_Context* ctx __unused, void* arg) { in FrameCounter() argument 38 int* count_ptr = reinterpret_cast<int*>(arg); in FrameCounter()
|
/bionic/libc/bionic/ |
D | __cxa_thread_atexit_impl.cpp | 20 void *arg; member 27 extern "C" int __cxa_thread_atexit_impl(void (*func) (void *), void *arg, void *dso_handle) { in __cxa_thread_atexit_impl() argument 31 dtor->arg = arg; in __cxa_thread_atexit_impl() 45 current->func(current->arg); in __cxa_thread_finalize()
|
D | clone.cpp | 36 …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) { in __start_thread() argument 41 int status = (*fn)(arg); in __start_thread() 45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { in clone() argument 52 va_start(args, arg); in clone() 74 int clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg); in clone()
|
D | ioctl.c | 35 void * arg; in ioctl() local 38 arg = va_arg(ap, void *); in ioctl() 41 return __ioctl(fd, request, arg); in ioctl()
|
D | legacy_32_bit_support.cpp | 52 void* arg = va_arg(ap, void*); in fcntl() local 55 return __fcntl64(fd, cmd, arg); in fcntl()
|
D | pthread_exit.cpp | 46 void __pthread_cleanup_push(__pthread_cleanup_t* c, __pthread_cleanup_func_t routine, void* arg) { in __pthread_cleanup_push() argument 49 c->__cleanup_arg = arg; in __pthread_cleanup_push()
|
D | pthread_create.cpp | 187 static int __pthread_start(void* arg) { in __pthread_start() argument 188 pthread_internal_t* thread = reinterpret_cast<pthread_internal_t*>(arg); in __pthread_start() 213 void* (*start_routine)(void*), void* arg) { in pthread_create() argument 244 thread->start_routine_arg = arg; in pthread_create()
|
D | debug_stacktrace.cpp | 77 static _Unwind_Reason_Code trace_function(__unwind_context* context, void* arg) { in trace_function() argument 78 stack_crawl_state_t* state = static_cast<stack_crawl_state_t*>(arg); in trace_function()
|
/bionic/benchmarks/benchmark/ |
D | Benchmark.h | 69 bool ShouldRun(std::vector<regex_t*>&, T arg); 70 void RunWithArg(T arg); 110 BenchmarkWithArg* Arg(T arg) { in Arg() argument 111 args_.push_back(arg); in Arg() 118 for (const auto& arg : args_) { in NameColumnWidth() local 119 max = std::max(max, GetNameStr(arg).size()); in NameColumnWidth() 124 std::string GetNameStr(T arg) override; 128 for (T& arg : args_) { in RunAllArgs() 129 if (BenchmarkT<T>::ShouldRun(regs, arg)) { in RunAllArgs() 131 BenchmarkT<T>::RunWithArg(arg); in RunAllArgs() [all …]
|
/bionic/benchmarks/ |
D | Benchmark.cpp | 74 bool BenchmarkT<T>::ShouldRun(std::vector<regex_t*>& regs, T arg) { in ShouldRun() argument 80 if (regexec(re, GetNameStr(arg).c_str(), 0, NULL, 0) != REG_NOMATCH) { in ShouldRun() 105 std::string BenchmarkWithArg<int>::GetNameStr(int arg) { in GetNameStr() argument 106 return Name() + "/" + PrettyInt(arg, 2); in GetNameStr() 110 std::string BenchmarkWithArg<double>::GetNameStr(double arg) { in GetNameStr() argument 111 return Name() + "/" + android::base::StringPrintf("%0.6f", arg); in GetNameStr() 115 void BenchmarkT<T>::RunWithArg(T arg) { in RunWithArg() argument 124 RunIterations(iterations, arg); in RunWithArg() 140 printf("%-*s %10s %10" PRId64, MaxNameColumnWidth(), GetNameStr(arg).c_str(), in RunWithArg()
|
D | pthread_benchmark.cpp | 173 static void* RunThread(void* arg) { in RunThread() argument 174 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg); in RunThread() 191 static void* ExitThread(void* arg) { in ExitThread() argument 192 ::testing::Benchmark* benchmark = reinterpret_cast<::testing::Benchmark*>(arg); in ExitThread()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 46 execl(const char *name, const char *arg, ...) in execl() argument 52 va_start(ap, arg); in execl() 62 va_start(ap, arg); in execl() 64 argv[0] = (char *)arg; in execl() 72 execle(const char *name, const char *arg, ...) in execle() argument 78 va_start(ap, arg); in execle() 88 va_start(ap, arg); in execle() 90 argv[0] = (char *)arg; in execle() 99 execlp(const char *name, const char *arg, ...) in execlp() argument 105 va_start(ap, arg); in execlp() [all …]
|
/bionic/libc/arch-mips/bionic/ |
D | __bionic_clone.S | 42 lw t1,24(sp) # arg 44 sw t1,4(a1) # arg
|
/bionic/libc/arch-mips64/bionic/ |
D | __bionic_clone.S | 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
|
/bionic/libc/arch-arm/bionic/ |
D | atexit_legacy.c | 40 extern int __cxa_atexit(void (*func)(void *), void *arg, void *dso);
|
/bionic/libc/kernel/uapi/linux/ |
D | n_r3964.h | 47 int arg; member
|
D | ax25.h | 86 int arg; member 95 unsigned long arg; member
|
/bionic/libc/kernel/uapi/linux/mmc/ |
D | ioctl.h | 27 __u32 arg; member
|
/bionic/libc/tools/ |
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):
|
/bionic/libc/arch-arm64/bionic/ |
D | __bionic_clone.S | 56 # Call __start_thread with the 'fn' and 'arg' we stored on the child stack.
|
/bionic/libc/kernel/tools/ |
D | clean_header.py | 192 for opt, arg in optlist: 198 kernel_original_path = arg 200 kernel_cleaned_path = arg
|
/bionic/libc/kernel/uapi/xen/ |
D | privcmd.h | 27 __u64 arg[5]; member
|