Searched refs:stack_size (Results 1 – 7 of 7) sorted by relevance
/frameworks/libs/native_bridge_support/android_api/libc/proxy/ |
D | pthread_translation.cc | 64 size_t guest_stack_size = attr.stack_size; in DoCustomTrampoline_pthread_create() 72 attr.stack_size = std::max(guest_stack_size, GetStackSizeForTranslation()); in DoCustomTrampoline_pthread_create() 111 size_t stack_size; in DoCustomTrampoline_pthread_getattr_np() local 115 if (GetGuestThreadAttr(tid, &stack_base, &stack_size, &guard_size, &error)) { in DoCustomTrampoline_pthread_getattr_np() 121 guest_attr->stack_size = stack_size; in DoCustomTrampoline_pthread_getattr_np()
|
D | pthread_translation.h | 41 CHECK_FIELD_LAYOUT(pthread_attr_t, stack_size, 64, 32);
|
/frameworks/libs/binary_translation/guest_os_primitives/ |
D | guest_thread_manager.cc | 83 size_t* stack_size, in GetGuestThreadAttr() argument 88 thread->GetAttr(stack_base, stack_size, guard_size); in GetGuestThreadAttr() 166 size_t stack_size; in AttachCurrentThread() local 170 CHECK_EQ(0, pthread_attr_getstacksize(&attr, &stack_size)); in AttachCurrentThread() 172 thread = GuestThread::CreatePthread(nullptr, stack_size, guard_size); in AttachCurrentThread()
|
D | guest_thread.cc | 118 GuestThread* GuestThread::CreatePthread(void* stack, size_t stack_size, size_t guard_size) { in CreatePthread() argument 124 if (!thread->AllocStack(stack, stack_size, guard_size)) { in CreatePthread() 206 bool GuestThread::AllocStack(void* stack, size_t stack_size, size_t guard_size) { in AllocStack() argument 222 stack_size_ = stack_size; in AllocStack() 228 mmap_size_ = guard_size_ + AlignUpPageSize(stack_size); in AllocStack()
|
/frameworks/libs/binary_translation/guest_os_primitives/include/berberis/guest_os_primitives/ |
D | guest_thread.h | 61 static GuestThread* CreatePthread(void* stack, size_t stack_size, size_t guard_size); 81 void GetAttr(GuestAddr* stack_base, size_t* stack_size, size_t* guard_size) const { in GetAttr() argument 83 *stack_size = stack_size_; in GetAttr() 113 bool AllocStack(void* stack, size_t stack_size, size_t guard_size);
|
D | guest_thread_manager.h | 32 size_t* stack_size,
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | thread_test.cc | 119 size_t stack_size; in TEST() local 128 ASSERT_EQ(pthread_attr_getstacksize(&attr, &stack_size), 0); in TEST() 129 ASSERT_EQ(stack_size, 16 * 1024U); in TEST()
|