Searched refs:stack_size (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/third_party/ots/src/
H A Dcff_type2_charstring.cc129 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
[all...]
/external/chromium/base/
H A Dstack_container_unittest.cc33 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 *
[all...]
/external/chromium_org/base/containers/
H A Dstack_container_unittest.cc36 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 *
[all...]
/external/chromium/base/threading/
H A Dplatform_thread_win.cc44 bool CreateThreadInternal(size_t stack_size, argument
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, argument
119 return CreateThreadInternal(stack_size, delegate, thread_handle);
123 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
124 return CreateThreadInternal(stack_size, delegate, NULL);
H A Dplatform_thread_posix.cc55 bool CreateThread(size_t stack_size, bool joinable, argument
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, argument
203 return CreateThread(stack_size, true /* joinable thread */,
208 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
211 bool result = CreateThread(stack_size, fals
[all...]
H A Dplatform_thread.h73 // 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);
H A Dthread.h32 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
H A Dthread.cc74 if (!PlatformThread::Create(options.stack_size, this, &thread_)) {
/external/chromium_org/base/threading/
H A Dplatform_thread_posix.cc90 bool CreateThread(size_t stack_size, bool joinable, argument
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, argument
199 return CreateThread(stack_size, true /* joinable thread */,
204 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
208 return CreateThread(stack_size, true, // joinable thread
213 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegat argument
[all...]
H A Dplatform_thread_win.cc85 bool CreateThreadInternal(size_t stack_size, argument
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, argument
178 return CreateThreadInternal(stack_size, delegate, thread_handle);
182 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
185 bool result = Create(stack_size, delegate, thread_handle);
192 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
193 return CreateThreadInternal(stack_size, delegat
[all...]
H A Dplatform_thread.h121 // 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);
H A Dthread.cc54 stack_size(0) {
60 stack_size(size) {
106 if (!PlatformThread::Create(options.stack_size, this, &thread_)) {
H A Dthread.h56 size_t stack_size; member in struct:base::Thread::Options
/external/clang/test/CodeGen/
H A D2002-02-14-EntryNodePreds.c25 int stack_size; member in struct:EDGE_STACK
/external/chromium_org/native_client_sdk/src/libraries/error_handling/
H A Derror_handling.h58 void *EHRequestExceptionStackOnThread(size_t stack_size);
H A Derror_handling.c217 void *EHRequestExceptionStackOnThread(size_t stack_size) { argument
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/chromium_org/native_client_sdk/src/libraries/xray/
H A Dxray.h42 XRAY_NO_INSTRUMENT struct XRayTraceCapture* XRayInit(int stack_size,
84 inline struct XRayTraceCapture* XRayInit(int stack_size, argument
/external/compiler-rt/lib/asan/
H A Dasan_thread.h65 uptr stack_size() { return stack_top_ - stack_bottom_; } function in class:__asan::AsanThread
81 fake_stack_->Init(stack_size());
H A Dasan_fake_stack.h74 void Init(uptr stack_size);
H A Dasan_thread.cc148 uptr stack_size = 0, tls_size = 0; local
149 GetThreadStackAndTls(tid() == 0, &stack_bottom_, &stack_size, &tls_begin_, local
151 stack_top_ = stack_bottom_ + stack_size;
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dstacktrace_x86-inl.h330 int stack_size; variable
331 shadow_ip_stack = (void**) get_shadow_ip_stack(&stack_size);
332 shadow_sp_stack = (void**) get_shadow_sp_stack(&stack_size);
333 int shadow_index = stack_size - 1;
334 for (int i = stack_size - 1; i >= 0; i--) {
/external/compiler-rt/lib/lsan/
H A Dlsan_thread.cc87 uptr stack_size = 0; local
89 GetThreadStackAndTls(tid == 0, &args.stack_begin, &stack_size,
91 args.stack_end = args.stack_begin + stack_size;
/external/libvpx/libvpx/vp8/encoder/x86/
H A Dquantize_sse4.asm31 %define stack_size 32
32 sub rsp, stack_size
234 add rsp, stack_size
H A Dtemporal_filter_apply_sse2.asm39 %define stack_size 80
40 sub rsp, stack_size
188 add rsp, stack_size
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_temporal_filter_apply_sse2.asm39 %define stack_size 80
40 sub rsp, stack_size
188 add rsp, stack_size

Completed in 2152 milliseconds

123