/bionic/libc/bionic/ |
pthread_attr.cpp | 42 attr->stack_size = DEFAULT_THREAD_STACK_SIZE; 90 int pthread_attr_setstacksize(pthread_attr_t* attr, size_t stack_size) { 91 if (stack_size < PTHREAD_STACK_MIN) { 94 attr->stack_size = stack_size; 98 int pthread_attr_getstacksize(pthread_attr_t const* attr, size_t* stack_size) { 99 *stack_size = attr->stack_size; 112 *stack_addr = (char*)attr->stack_base + attr->stack_size; 116 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { [all...] |
libc_init_common.cpp | 69 size_t stack_size = minimal_stack_size; local 73 stack_size = stack_limit.rlim_cur; 74 stack_size = (stack_size & ~(PAGE_SIZE - 1)); 75 if (stack_size < minimal_stack_size) { 76 stack_size = minimal_stack_size; 79 return stack_size; 97 size_t stack_size = get_stack_size(); local 98 uintptr_t stack_bottom = stack_top - stack_size; 105 pthread_attr_setstack(&thread.attr, (void*) stack_bottom, stack_size); [all...] |
pthread_create.cpp | 141 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0); 146 thread->attr.stack_size, strerror(errno)); 155 munmap(stack, thread->attr.stack_size); 188 thread->attr.stack_size = (thread->attr.stack_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); 207 void** tls = (void**)((uint8_t*)(thread->attr.stack_base) + thread->attr.stack_size - BIONIC_TLS_SLOTS * sizeof(void*)); 228 munmap(thread->attr.stack_base, thread->attr.stack_size);
|
/external/chromium_org/third_party/ots/src/ |
cff_type2_charstring.cc | 129 const size_t stack_size = argument_stack->size(); local 137 if (stack_size < 1) { 207 if (stack_size < 2) { 210 if ((stack_size % 2) == 0) { 212 } else if ((!(*in_out_found_width)) && (((stack_size - 1) % 2) == 0)) { 217 (*in_out_num_stems) += (stack_size / 2); 229 if (stack_size == 2) { 231 } else if ((!(*in_out_found_width)) && (stack_size - 1 == 2)) { 243 if (stack_size == 1) { 245 } else if ((!(*in_out_found_width)) && (stack_size - 1 == 1)) [all...] |
/external/chromium/base/ |
stack_container_unittest.cc | 33 const int stack_size = 3; local 34 StackVector<int, stack_size> vect; 37 // The initial |stack_size| elements should appear in the stack buffer. 38 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); 39 for (int i = 0; i < stack_size; i++) { 46 for (int i = 0; i < stack_size; i++) { 47 vect.container().push_back(i + stack_size); 53 for (int i = 0; i < stack_size * 2; i++) 60 vect.container().resize(stack_size); 61 vect.container().reserve(stack_size * 2) [all...] |
/external/chromium/base/threading/ |
platform_thread_win.cc | 44 bool CreateThreadInternal(size_t stack_size, 49 if (stack_size > 0 && base::win::GetVersion() >= base::win::VERSION_XP) { 52 stack_size = 0; 65 NULL, stack_size, ThreadFunc, params, flags, NULL); 116 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 119 return CreateThreadInternal(stack_size, delegate, thread_handle); 123 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { 124 return CreateThreadInternal(stack_size, delegate, NULL);
|
platform_thread_posix.cc | 55 bool CreateThread(size_t stack_size, bool joinable, 85 // stack_size is left at 0 to get the system default. 90 if (stack_size == 0) { 96 stack_size = std::max(std::max(default_stack_size, 103 if (stack_size > 0) 104 pthread_attr_setstacksize(&attributes, stack_size); 201 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 203 return CreateThread(stack_size, true /* joinable thread */, 208 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { 211 bool result = CreateThread(stack_size, false /* non-joinable thread */ [all...] |
platform_thread.h | 73 // Creates a new thread. The |stack_size| parameter can be 0 to indicate 81 static bool Create(size_t stack_size, Delegate* delegate, 87 static bool CreateNonJoinable(size_t stack_size, Delegate* delegate);
|
thread.h | 32 Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {} 34 : message_loop_type(type), stack_size(size) {} 42 size_t stack_size; member in struct:base::Thread::Options
|
/external/chromium_org/base/containers/ |
stack_container_unittest.cc | 36 const int stack_size = 3; local 37 StackVector<int, stack_size> vect; 40 // The initial |stack_size| elements should appear in the stack buffer. 41 EXPECT_EQ(static_cast<size_t>(stack_size), vect.container().capacity()); 42 for (int i = 0; i < stack_size; i++) { 49 for (int i = 0; i < stack_size; i++) { 50 vect.container().push_back(i + stack_size); 56 for (int i = 0; i < stack_size * 2; i++) 63 vect.container().resize(stack_size); 64 vect.container().reserve(stack_size * 2) [all...] |
/external/chromium_org/base/threading/ |
platform_thread_posix.cc | 90 bool CreateThread(size_t stack_size, bool joinable, 107 if (stack_size == 0) 108 stack_size = base::GetDefaultThreadStackSize(attributes); 110 if (stack_size > 0) 111 pthread_attr_setstacksize(&attributes, stack_size); 196 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 199 return CreateThread(stack_size, true /* joinable thread */, 204 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, 208 return CreateThread(stack_size, true, // joinable thread 213 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) [all...] |
platform_thread_win.cc | 85 bool CreateThreadInternal(size_t stack_size, 89 if (stack_size > 0 && base::win::GetVersion() >= base::win::VERSION_XP) { 92 stack_size = 0; 105 NULL, stack_size, ThreadFunc, params, flags, NULL); 175 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 178 return CreateThreadInternal(stack_size, delegate, thread_handle); 182 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, 185 bool result = Create(stack_size, delegate, thread_handle); 192 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { 193 return CreateThreadInternal(stack_size, delegate, NULL) [all...] |
platform_thread.h | 121 // Creates a new thread. The |stack_size| parameter can be 0 to indicate 129 static bool Create(size_t stack_size, Delegate* delegate, 137 static bool CreateWithPriority(size_t stack_size, Delegate* delegate, 144 static bool CreateNonJoinable(size_t stack_size, Delegate* delegate);
|
/external/clang/test/CodeGen/ |
2002-02-14-EntryNodePreds.c | 25 int stack_size; member in struct:EDGE_STACK
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
elf-fdpic.h | 45 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member in struct:elf_fdpic_params
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
elf-fdpic.h | 45 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member in struct:elf_fdpic_params
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
elf-fdpic.h | 45 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member in struct:elf_fdpic_params
|
/system/core/libcorkscrew/arch-mips/ |
backtrace-mips.c | 84 int stack_size = 0, ra_offset = 0; local 108 stack_size = -immediate; 110 ALOGV("@0x%08x: found stack adjustment=%d\n", addr, stack_size); 135 if (stack_size) { 137 frame->stack_size = stack_size; 138 state->sp += stack_size; 142 if (state->pc == state->ra && stack_size == 0)
|
/external/chromium_org/native_client_sdk/src/libraries/error_handling/ |
error_handling.h | 58 void *EHRequestExceptionStackOnThread(size_t stack_size);
|
error_handling.c | 217 void *EHRequestExceptionStackOnThread(size_t stack_size) { 223 stack_size = (stack_size + PAGE_CHUNK_MASK) & PAGE_CHUNK_MASK; 224 if (stack_size < STACK_SIZE_MIN) stack_size = STACK_SIZE_MIN; 227 stack = mmap(NULL, stack_size + PAGE_CHUNK_SIZE, 238 if (!s_exception_handling.exception_stack(stack, stack_size)) { 240 munmap(stack, stack_size); 247 stack_info->size = stack_size + PAGE_CHUNK_SIZE;
|
/system/core/libcorkscrew/ |
backtrace-helper.c | 37 frame->stack_size = 0;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Thread.c | 50 int stack_size; member in struct:_EXYNOS_THREAD_HANDLE_TYPE 67 if (thread->stack_size != 0) 68 pthread_attr_setstacksize(&thread->attr, thread->stack_size);
|