Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 25 of 64) sorted by relevance

123

/external/libchrome/base/threading/
Dplatform_thread_posix.cc77 bool CreateThread(size_t stack_size, in CreateThread() argument
94 if (stack_size == 0) in CreateThread()
95 stack_size = base::GetDefaultThreadStackSize(attributes); in CreateThread()
97 if (stack_size > 0) in CreateThread()
98 pthread_attr_setstacksize(&attributes, stack_size); in CreateThread()
184 bool PlatformThread::CreateWithPriority(size_t stack_size, Delegate* delegate, in CreateWithPriority() argument
187 return CreateThread(stack_size, true, // joinable thread in CreateWithPriority()
192 bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) { in CreateNonJoinable() argument
195 bool result = CreateThread(stack_size, false /* non-joinable thread */, in CreateNonJoinable()
Dplatform_thread.h160 static bool Create(size_t stack_size, in Create() argument
163 return CreateWithPriority(stack_size, delegate, thread_handle, in Create()
169 static bool CreateWithPriority(size_t stack_size, Delegate* delegate,
176 static bool CreateNonJoinable(size_t stack_size, Delegate* delegate);
Dthread.cc42 stack_size(0), in Options()
50 stack_size(size), in Options()
113 if (!PlatformThread::CreateWithPriority(options.stack_size, this, &thread_, in StartWithOptions()
Dsimple_thread.cc34 success = PlatformThread::Create(options_.stack_size(), this, &thread_); in Start()
36 success = PlatformThread::CreateWithPriority(options_.stack_size(), this, in Start()
Dthread_unittest.cc147 options.stack_size = 24*1024; in TEST_F()
149 options.stack_size = 12*1024; in TEST_F()
/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc48 uptr stack_size = 1UL << stack_size_log; in TEST() local
53 uptr num_flags = stack_size / frame_size; in TEST()
95 const uptr stack_size = 1 << stack_size_log; in TEST() local
100 EXPECT_EQ(base + 0*stack_size + 64 * 7, fs->GetFrame(stack_size_log, 0, 7U)); in TEST()
101 EXPECT_EQ(base + 1*stack_size + 128 * 3, fs->GetFrame(stack_size_log, 1, 3U)); in TEST()
102 EXPECT_EQ(base + 2*stack_size + 256 * 5, fs->GetFrame(stack_size_log, 2, 5U)); in TEST()
/external/lldb/source/Target/
DThread.cpp1153 int stack_size = m_completed_plan_stack.size(); in GetPreviousPlan() local
1154 for (int i = stack_size - 1; i > 0; i--) in GetPreviousPlan()
1160 if (stack_size > 0 && m_completed_plan_stack[0].get() == current_plan) in GetPreviousPlan()
1168 stack_size = m_plan_stack.size(); in GetPreviousPlan()
1169 for (int i = stack_size - 1; i > 0; i--) in GetPreviousPlan()
1190 int stack_size = m_plan_stack.size(); in EnableTracer() local
1191 for (int i = 0; i < stack_size; i++) in EnableTracer()
1204 int stack_size = m_plan_stack.size(); in SetTracer() local
1205 for (int i = 0; i < stack_size; i++) in SetTracer()
1224 int stack_size = m_plan_stack.size(); in DiscardThreadPlansUpToPlan() local
[all …]
/external/valgrind/none/tests/linux/
Dpthread-stack.c89 const size_t stack_size = 256 * 1024; in main() local
90 assert(stack_size < file_size); in main()
91 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, in main()
96 r = pthread_attr_setstack(&attr, stack, stack_size); in main()
/external/valgrind/none/tests/solaris/
Dpthread-stack.c83 const size_t stack_size = 256 * 1024; in main() local
84 assert(stack_size < file_size); in main()
85 void *stack = mmap(NULL, stack_size, PROT_READ|PROT_WRITE, in main()
90 int r = pthread_attr_setstack(&attr, stack, stack_size); in main()
/external/compiler-rt/lib/msan/
Dmsan_thread.cc24 uptr stack_size = 0; in SetThreadStackAndTls() local
25 GetThreadStackAndTls(IsMainThread(), &stack_bottom_, &stack_size, in SetThreadStackAndTls()
27 stack_top_ = stack_bottom_ + stack_size; in SetThreadStackAndTls()
/external/compiler-rt/lib/asan/
Dasan_thread.cc126 uptr stack_size = this->stack_size(); in AsyncSignalSafeLazyInitFakeStack() local
127 if (stack_size == 0) // stack_size is not yet available, don't use FakeStack. in AsyncSignalSafeLazyInitFakeStack()
139 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
154 CHECK_EQ(this->stack_size(), 0U); in Init()
156 CHECK_GT(this->stack_size(), 0U); in Init()
Dasan_win.cc87 void* security, uptr stack_size, in INTERCEPTOR_WINAPI() argument
100 return REAL(CreateThread)(security, stack_size, in INTERCEPTOR_WINAPI()
/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.cpp23 stack_size = 0; in InitTable()
38 stack_size = 0; in DecodeString()
44 stack[GIF_MAX_LZW_CODE - 1 - stack_size++] = code_table[code].suffix; in DecodeString()
47 stack[GIF_MAX_LZW_CODE - 1 - stack_size++] = (uint8_t)code; in DecodeString()
67 if (stack_size != 0) { in Decode()
68 if (des_size < stack_size) { in Decode()
69 FXSYS_memcpy(des_buf, &stack[GIF_MAX_LZW_CODE - stack_size], des_size); in Decode()
70 stack_size -= (FX_WORD)des_size; in Decode()
73 FXSYS_memcpy(des_buf, &stack[GIF_MAX_LZW_CODE - stack_size], stack_size); in Decode()
74 des_buf += stack_size; in Decode()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/lzw/
Dftzopen.c113 if ( state->stack_top >= state->stack_size ) in ft_lzwstate_stack_grow()
117 FT_Offset old_size = state->stack_size; in ft_lzwstate_stack_grow()
140 state->stack_size = new_size; in ft_lzwstate_stack_grow()
213 state->stack_size = sizeof ( state->stack_0 ); in ft_lzwstate_init()
239 if ( state->stack_top >= state->stack_size && \
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc87 uptr stack_size = 0; in ThreadStart() local
89 GetThreadStackAndTls(tid == 0, &args.stack_begin, &stack_size, in ThreadStart()
91 args.stack_end = args.stack_begin + stack_size; in ThreadStart()
/external/google-breakpad/src/client/ios/handler/
Dios_exception_minidump_generator.mm174 size_t stack_size = frame_record_size * (frame_count - 1) + pointer_size;
175 if (!memory.Allocate(stack_size))
177 scoped_array<uint8_t> stack_memory(new uint8_t[stack_size]);
178 uintptr_t sp = stack_size - pointer_size;
191 if (!memory.Copy(stack_memory.get(), stack_size))
/external/v8/src/
Dbackground-parsing-task.cc13 int stack_size, Isolate* isolate) in BackgroundParsingTask() argument
14 : source_(source), stack_size_(stack_size) { in BackgroundParsingTask()
Dbackground-parsing-task.h48 ScriptCompiler::CompileOptions options, int stack_size,
/external/libvpx/libvpx/vp8/encoder/x86/
Dtemporal_filter_apply_sse2.asm39 %define stack_size 80
40 sub rsp, stack_size
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_temporal_filter_apply_sse2.asm41 %define stack_size 96
42 sub rsp, stack_size
/external/v8/src/base/platform/
Dplatform-posix.cc551 stack_size_(options.stack_size()), in Thread()
619 size_t stack_size = stack_size_; in Start() local
621 if (stack_size == 0) { in Start()
623 stack_size = 2 * 1024 * 1024; in Start()
626 if (stack_size > 0) { in Start()
627 result = pthread_attr_setstacksize(&attr, stack_size); in Start()
Dplatform.h406 explicit Options(const char* name, int stack_size = 0)
407 : name_(name), stack_size_(stack_size) {} in name_()
410 int stack_size() const { return stack_size_; } in stack_size() function
/external/google-breakpad/src/common/windows/
Dpdb_source_line_writer.cc712 DWORD stack_size = 8; // minimal stack size is 8 for RIP in PrintFrameDataUsingEXE() local
719 stack_size += 8; in PrintFrameDataUsingEXE()
726 stack_size += (unwind_code + 1)->frame_offset * 8; in PrintFrameDataUsingEXE()
730 stack_size += (unwind_code + 1)->frame_offset | in PrintFrameDataUsingEXE()
736 stack_size += unwind_code->operation_info * 8 + 8; in PrintFrameDataUsingEXE()
755 stack_size += 88; in PrintFrameDataUsingEXE()
757 stack_size += 80; in PrintFrameDataUsingEXE()
783 funcs[i].BeginAddress, stack_size); in PrintFrameDataUsingEXE()
/external/kernel-headers/original/uapi/linux/
Dflat.h41 unsigned long stack_size; /* Size of stack, in bytes */ member
/external/clang/test/CodeGen/
D2002-02-14-EntryNodePreds.c25 int stack_size; member

123