/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 | 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;
|
/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 | 452 void* child_stack[1024]; local 453 int clone_result = clone(GetPidCachingCloneStartRoutine, &child_stack[1024], CLONE_NEWNS | SIGCHLD, NULL);
|
/bionic/libc/bionic/ |
pthread_create.cpp | 142 static int __allocate_thread(pthread_attr_t* attr, pthread_internal_t** threadp, void** child_stack) { 183 *child_stack = stack_top; 227 void* child_stack = NULL; local 228 int result = __allocate_thread(&thread_attr, &thread, &child_stack); 257 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
|