Home
last modified time | relevance | path

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

/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc204 size_t stack_len; in CrashingThreadReferencesPrincipalMapping() local
206 if (!dumper_->GetStackInfo(&stack, &stack_len, stack_pointer)) in CrashingThreadReferencesPrincipalMapping()
209 stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in CrashingThreadReferencesPrincipalMapping()
210 dumper_->CopyFromProcess(stack_copy, GetCrashThread(), stack, stack_len); in CrashingThreadReferencesPrincipalMapping()
216 stack_copy, stack_len, stack_pointer_offset, *principal_mapping_); in CrashingThreadReferencesPrincipalMapping()
322 size_t stack_len; in FillThreadStack() local
328 if (dumper_->GetStackInfo(&stack, &stack_len, stack_pointer)) { in FillThreadStack()
330 stack_len > static_cast<unsigned int>(max_stack_len)) { in FillThreadStack()
331 stack_len = max_stack_len; in FillThreadStack()
341 *stack_copy = reinterpret_cast<uint8_t*>(Alloc(stack_len)); in FillThreadStack()
[all …]
Dlinux_dumper.h127 bool GetStackInfo(const void** stack, size_t* stack_len, uintptr_t stack_top);
139 void SanitizeStackCopy(uint8_t* stack_copy, size_t stack_len,
151 bool StackHasPointerToMapping(const uint8_t* stack_copy, size_t stack_len,
Dlinux_dumper.cc759 bool LinuxDumper::GetStackInfo(const void** stack, size_t* stack_len, in GetStackInfo() argument
777 *stack_len = distance_to_end > kStackToCapture ? in GetStackInfo()
783 void LinuxDumper::SanitizeStackCopy(uint8_t* stack_copy, size_t stack_len, in SanitizeStackCopy() argument
848 sp <= stack_copy + stack_len - sizeof(uintptr_t); in SanitizeStackCopy()
873 if (sp < stack_copy + stack_len) { in SanitizeStackCopy()
874 my_memset(sp, 0, stack_copy + stack_len - sp); in SanitizeStackCopy()
879 size_t stack_len, in StackHasPointerToMapping() argument
893 sp <= stack_copy + stack_len - sizeof(uintptr_t); in StackHasPointerToMapping()
Dlinux_core_dumper_unittest.cc128 size_t stack_len; in TEST() local
129 EXPECT_TRUE(dumper.GetStackInfo(&stack, &stack_len, info.stack_pointer)); in TEST()
Dlinux_ptrace_dumper_unittest.cc449 size_t stack_len; in TEST() local
450 EXPECT_TRUE(dumper.GetStackInfo(&stack, &stack_len, in TEST()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dpyperf.h52 int16_t stack_len; member
238 event->stack_len = i + 1; in __on_event()
/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/ruby/ext/google/protobuf_c/
Dupb.c8635 int stack_len; member
8699 UPB_ASSERT(r->stack_len > 1); in upb_descreader_top()
8700 index = r->stack[r->stack_len-1].start - 1; in upb_descreader_top()
8712 upb_descreader_frame *f = &r->stack[r->stack_len++]; in upb_descreader_startcontainer()
8720 upb_descreader_frame *f = &r->stack[r->stack_len - 1]; in upb_descreader_endcontainer()
8734 r->stack_len--; in upb_descreader_endcontainer()
8739 upb_descreader_frame *f = &r->stack[r->stack_len-1]; in upb_descreader_setscopename()
8748 upb_descreader_frame *f = &r->stack[r->stack_len-1]; in upb_descreader_getoneof()
9233 upb_descreader_frame *f = &r->stack[r->stack_len-1]; in oneof_name()
9453 while (r->stack_len > 0) { in descreader_cleanup()
[all …]