/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];
|
/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;
|
/bionic/tests/ |
sched_test.cpp | 31 void* child_stack[1024]; local 34 pid_t tid = clone(child_fn, &child_stack[1024], CLONE_VM, &i);
|
unistd_test.cpp | 432 void* child_stack[1024]; local 433 int clone_result = clone(GetPidCachingCloneStartRoutine, &child_stack[1024], CLONE_NEWNS | SIGCHLD, NULL);
|
/bionic/libc/bionic/ |
pthread_create.cpp | 196 void* child_stack = thread->tls; local 223 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
|