/external/compiler-rt/test/lsan/TestCases/ |
swapcontext.cc | 15 int child_stack; local 16 printf("Child: %p\n", &child_stack); 23 char *child_stack = (argc > 1) ? stack_memory : heap_memory; local 25 printf("Child stack: %p\n", child_stack); 29 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);
|
/development/ndk/sources/android/libportable/arch-mips/ |
clone.c | 51 int WRAP(clone)(int (*fn)(void *), void *child_stack, int port_flags, void *arg, ...) 68 ALOGV("%s(fn:%p, child_stack:%p, port_flags:0x%x, arg:%p, ...) {", __func__, 69 fn, child_stack, port_flags, arg); 119 fn, child_stack, mips_flags, arg, parent_tidptr, new_tls, child_tidptr); 121 ret = REAL(clone)(fn, child_stack, mips_flags, arg, parent_tidptr,
|
/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/4/platforms/android-3/arch-arm/usr/include/ |
sched.h | 72 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
sched.h | 72 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
sched.h | 72 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
sched.h | 72 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/5/platforms/android-8/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/6/platforms/android-8/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/6/platforms/android-8/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|
/prebuilts/ndk/7/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/7/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/7/platforms/android-8/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/7/platforms/android-8/arch-x86/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void*), void *child_stack, int flags, void *arg);
|
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/ |
sched.h | 73 extern int clone(int (*fn)(void *), void *child_stack, int flags, void* arg, ...);
|