/external/chromium_org/cc/test/ |
test_occlusion_tracker.h | 31 size_t stack_size = OcclusionTracker<LayerType>::stack_.size(); local 32 if (stack_size < 2) 34 return OcclusionTracker<LayerType>::stack_[stack_size - 2] 38 size_t stack_size = OcclusionTracker<LayerType>::stack_.size(); local 39 if (stack_size < 2) 41 return OcclusionTracker<LayerType>::stack_[stack_size - 2]
|
/bionic/libc/bionic/ |
pthread_attr.cpp | 43 attr->stack_size = PTHREAD_STACK_SIZE_DEFAULT; 91 int pthread_attr_setstacksize(pthread_attr_t* attr, size_t stack_size) { 92 if (stack_size < PTHREAD_STACK_MIN) { 95 attr->stack_size = stack_size; 99 int pthread_attr_getstacksize(const pthread_attr_t* attr, size_t* stack_size) { 101 return pthread_attr_getstack(attr, &unused, stack_size); 104 int pthread_attr_setstack(pthread_attr_t* attr, void* stack_base, size_t stack_size) { 105 if ((stack_size & (PAGE_SIZE - 1) || stack_size < PTHREAD_STACK_MIN)) [all...] |
pthread_exit.cpp | 92 size_t stack_size = thread->attr.stack_size; local 107 thread->attr.stack_size = 0; 134 _exit_with_stack_teardown(stack_base, stack_size);
|
pthread_create.cpp | 108 void* stack = mmap(NULL, thread->attr.stack_size, prot, flags, -1, 0); 113 thread->attr.stack_size, strerror(errno)); 122 munmap(stack, thread->attr.stack_size); 175 thread->attr.stack_size = BIONIC_ALIGN(thread->attr.stack_size, PAGE_SIZE); 195 thread->attr.stack_size - BIONIC_TLS_SLOTS * sizeof(void*)); 231 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_org/mojo/public/cpp/utility/ |
thread.h | 30 size_t stack_size() const { return stack_size_; } function in class:mojo::Thread::Options 31 void set_stack_size(size_t stack_size) { stack_size_ = stack_size; }
|
/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...] |
/bionic/libc/kernel/uapi/linux/ |
flat.h | 32 unsigned long stack_size; member in struct:flat_hdr
|
/development/ndk/platforms/android-L/include/linux/ |
flat.h | 32 unsigned long stack_size; member in struct:flat_hdr
|
/external/clang/test/CodeGen/ |
2002-02-14-EntryNodePreds.c | 25 int stack_size; member in struct:EDGE_STACK
|
/external/kernel-headers/original/uapi/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
flat.h | 41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/ |
flat.h | 32 unsigned long stack_size; member in struct:flat_hdr
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/ |
flat.h | 32 unsigned long stack_size; member in struct:flat_hdr
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/ |
flat.h | 32 unsigned long stack_size; member in struct:flat_hdr
|
/external/chromium_org/base/threading/ |
platform_thread_win.cc | 92 bool CreateThreadInternal(size_t stack_size, 96 if (stack_size > 0 && base::win::GetVersion() >= base::win::VERSION_XP) { 99 stack_size = 0; 112 NULL, stack_size, ThreadFunc, params, flags, NULL); 187 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 190 return CreateThreadInternal(stack_size, delegate, thread_handle); 194 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, 197 bool result = Create(stack_size, delegate, thread_handle); 204 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { 205 return CreateThreadInternal(stack_size, delegate, NULL) [all...] |
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); 203 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, 206 return CreateThread(stack_size, true /* joinable thread */, 211 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, 215 return CreateThread(stack_size, true, // joinable thread 220 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) [all...] |
platform_thread.h | 161 // Creates a new thread. The |stack_size| parameter can be 0 to indicate 169 static bool Create(size_t stack_size, Delegate* delegate, 177 static bool CreateWithPriority(size_t stack_size, Delegate* delegate, 184 static bool CreateNonJoinable(size_t stack_size, Delegate* delegate);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-360733.js | 5 // Flags: --stack_size=150
|
/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;
|
/external/compiler-rt/lib/msan/ |
msan_thread.cc | 24 uptr stack_size = 0; local 25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, local 27 stack_top_ = stack_bottom_ + stack_size;
|
/external/chromium_org/mojo/public/cpp/utility/lib/ |
thread.cc | 39 if (options_.stack_size() != 0) { 40 rv = pthread_attr_setstacksize(&attr, options_.stack_size());
|
/bionic/tests/ |
pthread_test.cpp | 119 size_t stack_size = 128 * 1024; local 120 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); 122 memset(stack, 0xff, stack_size); 126 ASSERT_EQ(0, pthread_attr_setstack(&attr, stack, stack_size)); 135 ASSERT_EQ(0, munmap(stack, stack_size)); 519 size_t stack_size = 64*1024; local 520 void* stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0); 524 pthread_attr_setstack(&a, stack, stack_size); 529 ASSERT_EQ(0, munmap(stack, stack_size)); 601 size_t stack_size; local 837 size_t stack_size; local [all...] |