Home
last modified time | relevance | path

Searched refs:kStackSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dsigaltstack_test.cc28 constexpr size_t kStackSize = 16 * 4096; // from bionic/tests/pthread_test.cpp, fails if less. variable
41 EXPECT_LT(ss_var, ss_start + kStackSize); in HandleSignalOnAccess()
80 g_ss = mmap(nullptr, kStackSize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
84 ss.ss_size = kStackSize; in TEST()
97 ASSERT_EQ(munmap(g_ss, kStackSize), 0); in TEST()
Dclone_test.cc43 template <size_t kStackSize, typename Runner>
45 void* child_stack[kStackSize]; in CloneVMAndWait()
46 pid_t tid = clone(runner, &child_stack[kStackSize], CLONE_VM | extra_flags, nullptr); in CloneVMAndWait()