Home
last modified time | relevance | path

Searched refs:stack_len (Results 1 – 10 of 10) 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/syslinux/memdisk/
Dsetup.c770 unsigned int cmdline_len, stack_len, e820_len; in setup() local
1001 stack_len = stack_needed(); in setup()
1002 total_size += stack_len; /* Stack */ in setup()
1004 hptr->total_size, e820_len, cmdline_len, stack_len); in setup()
/external/selinux/libsepol/src/
Dservices.c86 static int stack_len; variable
91 if (next_stack_entry >= stack_len) { in push()
95 if (stack_len == 0) in push()
98 new_stack_len = stack_len * 2; in push()
105 stack_len = new_stack_len; in push()
/external/protobuf/php/ext/google/protobuf/
Dupb.c5870 int stack_len; member
5966 assert(r->stack_len > 1); in upb_descreader_top()
5967 index = r->stack[r->stack_len-1].start - 1; in upb_descreader_top()
5979 upb_descreader_frame *f = &r->stack[r->stack_len++]; in upb_descreader_startcontainer()
5985 upb_descreader_frame *f = &r->stack[--r->stack_len]; in upb_descreader_endcontainer()
5992 upb_descreader_frame *f = &r->stack[r->stack_len-1]; in upb_descreader_setscopename()
6433 while (r->stack_len > 0) { in descreader_cleanup()
6434 upb_descreader_frame *f = &r->stack[--r->stack_len]; in descreader_cleanup()
6450 r->stack_len = 0; in upb_descreader_create()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c6438 int stack_len; member
6501 assert(r->stack_len > 1); in upb_descreader_top()
6502 index = r->stack[r->stack_len-1].start - 1; in upb_descreader_top()
6514 upb_descreader_frame *f = &r->stack[r->stack_len++]; in upb_descreader_startcontainer()
6520 upb_descreader_frame *f = &r->stack[--r->stack_len]; in upb_descreader_endcontainer()
6530 upb_descreader_frame *f = &r->stack[r->stack_len-1]; in upb_descreader_setscopename()
7100 while (r->stack_len > 0) { in descreader_cleanup()
7101 upb_descreader_frame *f = &r->stack[--r->stack_len]; in descreader_cleanup()
7117 r->stack_len = 0; in upb_descreader_create()