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

123

/external/chromium_org/cc/test/
H A Dtest_occlusion_tracker.h32 size_t stack_size = OcclusionTracker<LayerType>::stack_.size(); local
33 if (stack_size < 2)
35 return OcclusionTracker<LayerType>::stack_[stack_size - 2]
40 size_t stack_size = OcclusionTracker<LayerType>::stack_.size(); local
41 if (stack_size < 2)
43 return OcclusionTracker<LayerType>::stack_[stack_size - 2]
58 size_t stack_size = OcclusionTracker<LayerType>::stack_.size(); local
59 DCHECK_GE(stack_size, 2u);
60 OcclusionTracker<LayerType>::stack_[stack_size - 2]
65 size_t stack_size local
[all...]
/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_org/mojo/public/cpp/utility/
H A Dthread.h30 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; } argument
/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_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);
203 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
206 return CreateThread(stack_size, true /* joinable thread */,
211 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
215 return CreateThread(stack_size, true, // joinable thread
220 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegat argument
[all...]
H A Dplatform_thread_win.cc92 bool CreateThreadInternal(size_t stack_size, argument
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, argument
190 return CreateThreadInternal(stack_size, delegate, thread_handle);
194 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, argument
197 bool result = Create(stack_size, delegate, thread_handle);
204 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
205 return CreateThreadInternal(stack_size, delegat
[all...]
H A Dplatform_thread.h161 // 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);
H A Dthread.cc55 stack_size(0) {
62 stack_size(size) {
108 if (!PlatformThread::Create(options.stack_size, this, &thread_)) {
H A Dthread.h60 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/kernel-headers/original/uapi/linux/
H A Dflat.h41 unsigned long stack_size; /* Size of stack, in bytes */ member in struct:flat_hdr
/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/compiler-rt/lib/msan/
H A Dmsan_thread.cc24 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/
H A Dthread.cc39 if (options_.stack_size() != 0) {
40 rv = pthread_attr_setstacksize(&attr, options_.stack_size());
/external/chromium_org/v8/src/
H A Dbackground-parsing-task.cc12 int stack_size, Isolate* isolate)
13 : source_(source), options_(options), stack_size_(stack_size) {
10 BackgroundParsingTask( StreamedSource* source, ScriptCompiler::CompileOptions options, int stack_size, Isolate* isolate) argument
H A Dbackground-parsing-task.h54 ScriptCompiler::CompileOptions options, int stack_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/tests/
H A Dasan_fake_stack_test.cc48 uptr stack_size = 1UL << stack_size_log; local
53 uptr num_flags = stack_size / frame_size;
95 const uptr stack_size = 1 << stack_size_log; local
100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U));
101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U));
102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U));
/external/lldb/source/Target/
H A DThread.cpp1153 int stack_size = m_completed_plan_stack.size(); local
1154 for (int i = stack_size - 1; i > 0; i--)
1160 if (stack_size > 0 && m_completed_plan_stack[0].get() == current_plan)
1168 stack_size = m_plan_stack.size();
1169 for (int i = stack_size - 1; i > 0; i--)
1190 int stack_size = m_plan_stack.size(); local
1191 for (int i = 0; i < stack_size; i++)
1204 int stack_size = m_plan_stack.size(); local
1205 for (int i = 0; i < stack_size; i++)
1224 int stack_size local
1267 int stack_size = m_plan_stack.size(); local
1335 int stack_size = m_plan_stack.size(); local
1517 uint32_t stack_size = m_plan_stack.size(); local
[all...]
/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/compiler-rt/lib/asan/
H A Dasan_thread.cc117 uptr stack_size = this->stack_size(); local
118 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack.
130 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size));
145 CHECK_EQ(this->stack_size(), 0U);
147 CHECK_GT(this->stack_size(), 0U);
/external/strace/test/
H A Dthreaded_execve.c55 size_t stack_size, int flags, void *arg, ...);
/external/chromium_org/v8/src/base/platform/
H A Dplatform.h421 explicit Options(const char* name, int stack_size = 0)
422 : name_(name), stack_size_(stack_size) {}
425 int stack_size() const { return stack_size_; } function in class:v8::base::Thread::Options

Completed in 933 milliseconds

123