Searched defs:stack_size (Results 1 - 13 of 13) sorted by relevance

/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...]
H A Dplatform_thread_posix.cc76 bool CreateThread(size_t stack_size, bool joinable, argument
93 if (stack_size > 0)
94 pthread_attr_setstacksize(&attributes, stack_size);
105 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
107 return CreateThread(stack_size, true /* joinable thread */,
112 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
115 bool result = CreateThread(stack_size, false /* non-joinable thread */,
H A Dplatform_thread_win.cc68 bool PlatformThread::Create(size_t stack_size, Delegate* delegate, argument
71 if (stack_size > 0 && win_util::GetWinVersion() >= win_util::WINVERSION_XP) {
74 stack_size = 0;
83 NULL, stack_size, ThreadFunc, delegate, flags, NULL);
88 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { argument
90 bool result = Create(stack_size, delegate, &thread_handle);
H A Dthread.h29 size_t stack_size; member in struct:base::Thread::Options
31 Options() : message_loop_type(MessageLoop::TYPE_DEFAULT), stack_size(0) {}
33 : message_loop_type(type), stack_size(size) {}
H A Dsimple_thread.h67 size_t stack_size() const { return stack_size_; } function in class:base::SimpleThread::Options
/external/bluetooth/glib/gthread/
H A Dgthread-posix.c304 gulong stack_size,
321 if (stack_size)
323 stack_size = MAX (g_thread_min_stack_size, stack_size);
326 pthread_attr_setstacksize (&attr, stack_size);
302 g_thread_create_posix_impl(GThreadFunc thread_func, gpointer arg, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error) argument
H A Dgthread-win32.c490 gulong stack_size,
510 retval->thread = (HANDLE) _beginthreadex (NULL, stack_size, g_thread_proxy,
488 g_thread_create_win32_impl(GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error) argument
/external/bluetooth/glib/glib/
H A Dgthread.c643 gulong stack_size,
664 stack_size, joinable, bound, priority,
641 g_thread_create_full(GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, GError **error) argument
/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/gtest/src/
H A Dgtest-death-test.cc1049 const size_t stack_size = getpagesize(); local
1051 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
1055 static_cast<char*>(stack) + (stack_grows_down ? stack_size : 0);
1059 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/v8/src/mips/
H A Dsimulator-mips.cc491 size_t stack_size = 1 * 1024*1024; // allocate 1MB for stack local
492 stack_ = reinterpret_cast<char*>(malloc(stack_size));
507 registers_[sp] = reinterpret_cast<int32_t>(stack_) + stack_size - 64;
/external/v8/src/arm/
H A Dsimulator-arm.cc426 size_t stack_size = 1 * 1024*1024; // allocate 1MB for stack local
427 stack_ = reinterpret_cast<char*>(malloc(stack_size));
464 registers_[sp] = reinterpret_cast<int32_t>(stack_) + stack_size - 64;

Completed in 155 milliseconds