/external/compiler-rt/test/asan/TestCases/Linux/ |
clone_test.cc | 25 char __attribute__((aligned(16))) 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;
|
/external/ltp/testcases/kernel/syscalls/clone/ |
clone01.c | 44 void *child_stack; local 51 child_stack = malloc(CHILD_STACK_SIZE); 52 if (child_stack == NULL) 57 TEST(ltp_clone(SIGCHLD, do_child, NULL, CHILD_STACK_SIZE, child_stack)); 72 free(child_stack);
|
clone03.c | 60 void *child_stack; local 69 child_stack = malloc(CHILD_STACK_SIZE); 70 if (child_stack == NULL) 80 child_stack)); 112 free(child_stack);
|
clone04.c | 39 static void *child_stack; variable 43 void **child_stack; member in struct:test_case_t 66 if (test_cases[ind].child_stack == NULL) { 68 } else if (*test_cases[ind].child_stack == NULL) { 73 test_stack = child_stack; 102 child_stack = malloc(CHILD_STACK_SIZE); 107 free(child_stack);
|
clone05.c | 46 void *child_stack; local 52 child_stack = malloc(CHILD_STACK_SIZE); 53 if (child_stack == NULL) 60 CHILD_STACK_SIZE, child_stack)); 74 free(child_stack);
|
clone06.c | 50 void *child_stack; local 58 child_stack = malloc(CHILD_STACK_SIZE); 59 if (child_stack == NULL) 69 child_stack)); 99 free(child_stack);
|
clone07.c | 51 void *child_stack; local 59 child_stack = malloc(CHILD_STACK_SIZE); 60 if (child_stack == NULL) 65 CHILD_STACK_SIZE, child_stack); 74 free(child_stack);
|
clone08.c | 29 static void *child_stack; variable 108 child_stack = SAFE_MALLOC(cleanup, CHILD_STACK_SIZE); 113 free(child_stack); 121 child_stack, &ptid, NULL, &ctid));
|
clone02.c | 117 void *child_stack; local 124 child_stack = malloc(CHILD_STACK_SIZE); 125 if (child_stack == NULL) 140 CHILD_STACK_SIZE, child_stack)); 179 free(child_stack);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
15-1.c | 111 int *child_stack; local 122 ret = pthread_create(&gchild, NULL, teststack, &child_stack); 138 output("Child location: %p\n", child_stack); 141 if ((((long)scenarii[sc].bottom) < ((long)child_stack)) 142 && (((long)child_stack) <
|
/external/valgrind/none/tests/linux/ |
clonev.c | 27 void *child_stack = mmap( local 30 if (NULL == child_stack) { 36 if (-1 == mprotect((char *)child_stack, page_size, PROT_NONE)) { 41 if (-1 == mprotect((char *)child_stack + page_size + stack_size, 47 void *stack_start = (char *)child_stack + page_size + stack_size;
|
/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 | 532 void* child_stack[1024]; local 533 return clone(start_routine, &child_stack[1024], SIGCHLD, NULL); [all...] |
/external/ltp/testcases/kernel/syscalls/setns/ |
setns02.c | 139 void *child_stack; local 142 child_stack = malloc(CHILD_STACK_SIZE); 143 if (child_stack == NULL) 149 CHILD_STACK_SIZE, child_stack); 159 free(child_stack);
|
/bionic/libc/bionic/ |
pthread_create.cpp | 166 static int __allocate_thread(pthread_attr_t* attr, pthread_internal_t** threadp, void** child_stack) { 211 *child_stack = stack_top; 252 void* child_stack = NULL; local 253 int result = __allocate_thread(&thread_attr, &thread, &child_stack); 282 int rc = clone(__pthread_start, child_stack, flags, thread, &(thread->tid), tls, &(thread->tid));
|
/external/google-breakpad/src/third_party/lss/ |
linux_syscall_support.h | 4003 void *child_stack = NULL; local [all...] |