Home
last modified time | relevance | path

Searched refs:stack_len (Results 1 – 7 of 7) sorted by relevance

/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc196 size_t stack_len; in DumpThreadStack() local
198 if (!dumper_->GetStackInfo(&stack, &stack_len, stack_pointer)) { in DumpThreadStack()
209 LogAppend(stack_len); in DumpThreadStack()
213 stack_len > static_cast<unsigned int>(max_stack_len)) { in DumpThreadStack()
214 stack_len = max_stack_len; in DumpThreadStack()
217 *stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in DumpThreadStack()
218 dumper_->CopyFromProcess(*stack_copy, thread_id, stack, stack_len); in DumpThreadStack()
223 for (size_t stack_off = 0; stack_off < stack_len; in DumpThreadStack()
229 std::min(STACK_DUMP_CHUNK_SIZE, stack_len - stack_off)); in DumpThreadStack()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper_unittest.cc114 size_t stack_len; in TEST() local
115 EXPECT_TRUE(dumper.GetStackInfo(&stack, &stack_len, info.stack_pointer)); in TEST()
Dminidump_writer.cc264 size_t stack_len; in FillThreadStack() local
265 if (dumper_->GetStackInfo(&stack, &stack_len, stack_pointer)) { in FillThreadStack()
268 stack_len > static_cast<unsigned int>(max_stack_len)) { in FillThreadStack()
269 stack_len = max_stack_len; in FillThreadStack()
271 if (!memory.Allocate(stack_len)) in FillThreadStack()
273 *stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in FillThreadStack()
275 stack_len); in FillThreadStack()
276 memory.Copy(*stack_copy, stack_len); in FillThreadStack()
Dlinux_dumper.h100 bool GetStackInfo(const void** stack, size_t* stack_len, uintptr_t stack_top);
Dlinux_dumper.cc401 bool LinuxDumper::GetStackInfo(const void** stack, size_t* stack_len, in GetStackInfo() argument
419 *stack_len = distance_to_end > kStackToCapture ? in GetStackInfo()
Dlinux_ptrace_dumper_unittest.cc433 size_t stack_len;
434 EXPECT_TRUE(dumper.GetStackInfo(&stack, &stack_len,
/external/selinux/libsepol/src/
Dservices.c85 static int stack_len; variable
90 if (next_stack_entry >= stack_len) { in push()
94 if (stack_len == 0) in push()
97 new_stack_len = stack_len * 2; in push()
104 stack_len = new_stack_len; in push()