Searched refs:STACK_SIZE (Results 1 - 3 of 3) sorted by relevance
/test/xts/hats/kernel/syscalls/process/processid/ |
H A D | ProcessApiTest.cpp | 35 static const int STACK_SIZE = 8 * 1024 * 1024; variable 96 char *stack = new char[STACK_SIZE]; in HWTEST_F() 98 pid = clone(CloneTest, &stack[STACK_SIZE - 1], cloneFlag[i].flag, nullptr); in HWTEST_F() 116 char *stack = new char[STACK_SIZE]; in HWTEST_F() 117 pid_t pid = clone(CloneTest, &stack[STACK_SIZE - 1], -1, nullptr); in HWTEST_F()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | pthreadndk.cpp | 48 #define STACK_SIZE 4096
macro 255 err = pthread_attr_setstack(&attr, stack, STACK_SIZE);
in TestAttrGetStack() 456 err = pthread_attr_setstack(&attr, stackAddr, STACK_SIZE);
in testAttrSetStack() 477 err = pthread_attr_setstacksize(&attr, STACK_SIZE);
in testAttrSetStackSize()
|
H A D | otherstestndk.cpp | 296 const int STACK_SIZE = PARAM_1024 * PARAM_8192;
variable 300 void *stack = malloc(STACK_SIZE);
in Clone() 301 int backParam = clone((int (*)(void *))test, static_cast<char *>(stack) + STACK_SIZE,
in Clone()
|
Completed in 8 milliseconds