/external/compiler-rt/test/lsan/TestCases/ |
swapcontext.cc | 20 int child_stack; local 21 printf("Child: %p\n", &child_stack); 28 char *child_stack = (argc > 1) ? stack_memory : heap_memory; local 30 printf("Child stack: %p\n", child_stack); 34 child_context.uc_stack.ss_sp = child_stack;
|
/ndk/tests/device/clone/jni/ |
clone.c | 20 void **child_stack; local 29 child_stack = (void **) malloc(STACK_SIZE * sizeof(void *)); 32 clone(child_proc, child_stack + STACK_SIZE, CLONE_VM|CLONE_FILES, NULL);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
clone_test.cc | 25 char child_stack[kStackSize + 1]; local 26 char *sp = child_stack + kStackSize; // Stack grows down. 38 child_stack[i] = i; 39 int ret = child_stack[argc - 1];
|
swapcontext_test.cc | 49 int Run(int arg, int mode, char *child_stack) { 50 printf("Child stack: %p\n", child_stack); 53 child_context.uc_stack.ss_sp = child_stack; 65 child_stack[i] = i; 67 return child_stack[arg];
|
/bionic/libc/bionic/ |
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); 45 int clone(int (*fn)(void*), void* child_stack, int flags, void* arg, ...) { 64 // Align 'child_stack' to 16 bytes. 65 uintptr_t child_stack_addr = reinterpret_cast<uintptr_t>(child_stack); 67 child_stack = reinterpret_cast<void*>(child_stack_addr); 74 int clone_result = __bionic_clone(flags, child_stack, parent_tid, new_tls, child_tid, fn, arg);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_linux.cc | 815 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg, 818 if (!fn || !child_stack) 820 CHECK_EQ(0, (uptr)child_stack % 16); 821 child_stack = (char *)child_stack - 2 * sizeof(unsigned long long); 822 ((unsigned long long *)child_stack)[0] = (uptr)fn; 823 ((unsigned long long *)child_stack)[1] = (uptr)arg; 829 * %rsi = child_stack, 862 "S"(child_stack), 871 uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg [all...] |
/development/ndk/platforms/android-8/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/development/ndk/platforms/android-9/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-16/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-16/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-17/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|