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

12

/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/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_)) {
H A Dsimple_thread.cc31 bool success = PlatformThread::Create(options_.stack_size(), this, &thread_);
H A Dsimple_thread.h69 size_t stack_size() const { return stack_size_; } function in class:base::SimpleThread::Options
H A Dthread_unittest.cc165 options.stack_size = 12*1024;
/external/clang/test/CodeGen/
H A D2002-02-14-EntryNodePreds.c25 int stack_size; member in struct:EDGE_STACK
/external/compiler-rt/lib/asan/
H A Dasan_thread.h83 uptr stack_size() { return stack_top_ - stack_bottom_; } function in class:__asan::AsanThread
H A Dasan_thread.cc85 fake_stack_.Init(stack_size());
H A Dasan_fake_stack.cc80 void FakeStack::Init(uptr stack_size) {
81 stack_size_ = stack_size;
H A Dasan_allocator.h167 void Init(uptr 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
H A Dquantize_sse2.asm41 %define stack_size 104
42 sub rsp, stack_size
223 add rsp, stack_size
/external/v8/src/
H A Dplatform.h433 Options(const char* name, int stack_size = 0)
434 : name_(name), stack_size_(stack_size) {}
437 int stack_size() const { return stack_size_; } function in class:v8::internal::Thread::Options
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-death-test.cc575 const size_t stack_size = getpagesize(); local
576 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
580 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
585 GTEST_DEATH_TEST_CHECK(munmap(stack, stack_size) != -1);
/external/open-vcdiff/gtest/src/
H A Dgtest-death-test.cc909 const size_t stack_size = getpagesize(); local
911 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
915 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
919 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc909 const size_t stack_size = getpagesize(); local
911 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
915 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
919 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);
/external/valgrind/main/coregrind/
H A Dm_translate.c912 Int stack_size = VEX_GUEST_PPC64_REDIR_STACK_SIZE; local
926 Int stack_size = VEX_GUEST_PPC32_REDIR_STACK_SIZE; local
945 descr = mkIRRegArray( offB_REDIR_STACK, ty_Word, stack_size );
960 /* Bomb out if t1 >=s stack_size, that is, (stack_size-1)-t1 <s 0.
976 IRExpr_Binop(op_Sub,mkU(stack_size-1),IRExpr_RdTmp(t1)),
1006 Int stack_size = VEX_GUEST_PPC64_REDIR_STACK_SIZE; local
1018 Int stack_size = VEX_GUEST_PPC32_REDIR_STACK_SIZE;
1031 IRRegArray* descr = mkIRRegArray( offB_REDIR_STACK, ty_Word, stack_size );
/external/valgrind/main/drd/
H A Ddrd_main.c671 const SizeT stack_size = DRD_(thread_get_stack_size)(drd_tid); local
681 used_stack, stack_size, stack_size - used_stack);
/external/chromium/testing/gtest/src/
H A Dgtest-death-test.cc957 const size_t stack_size = getpagesize(); local
959 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
963 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
967 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);
/external/gtest/src/
H A Dgtest-death-test.cc962 const size_t stack_size = getpagesize(); local
964 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
968 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
972 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);

Completed in 1021 milliseconds

12