Home
last modified time | relevance | path

Searched refs:child_sp (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lldb/source/DataFormatters/
DVectorType.cpp208 ValueObjectSP child_sp(m_backend.GetSyntheticChildAtOffset( in GetChildAtIndex() local
210 if (!child_sp) in GetChildAtIndex()
211 return child_sp; in GetChildAtIndex()
213 child_sp->SetFormat(m_item_format); in GetChildAtIndex()
215 return child_sp; in GetChildAtIndex()
277 auto child_sp = synthetic_children->GetChildAtIndex(idx); in VectorTypeSummaryProvider() local
278 if (!child_sp) in VectorTypeSummaryProvider()
280 child_sp = child_sp->GetQualifiedRepresentationIfAvailable( in VectorTypeSummaryProvider()
283 const char *child_value = child_sp->GetValueAsCString(); in VectorTypeSummaryProvider()
DValueObjectPrinter.cpp561 ValueObjectSP child_sp, in PrintChild() argument
580 if (child_sp.get()) { in PrintChild()
582 child_sp.get(), m_stream, child_options, in PrintChild()
675 if (ValueObjectSP child_sp = GenerateChild(synth_m_valobj, idx)) { in PrintChildren() local
680 PrintChild(child_sp, curr_ptr_depth); in PrintChildren()
725 lldb::ValueObjectSP child_sp(synth_m_valobj->GetChildAtIndex(idx, true)); in PrintChildrenOneLiner() local
726 if (child_sp) in PrintChildrenOneLiner()
727 child_sp = child_sp->GetQualifiedRepresentationIfAvailable( in PrintChildrenOneLiner()
729 if (child_sp) { in PrintChildrenOneLiner()
733 const char *name = child_sp.get()->GetName().AsCString(); in PrintChildrenOneLiner()
[all …]
DFormatManager.cpp490 ValueObjectSP child_sp(valobj.GetChildAtIndex(idx, true)); in ShouldPrintAsOneLiner() local
492 if (!child_sp) in ShouldPrintAsOneLiner()
496 CompilerType child_compiler_type(child_sp->GetCompilerType()); in ShouldPrintAsOneLiner()
498 switch (child_compiler_type.ShouldPrintAsOneLiner(child_sp.get())) { in ShouldPrintAsOneLiner()
511 if (child_sp->GetSyntheticChildren().get() != nullptr) { in ShouldPrintAsOneLiner()
512 ValueObjectSP synth_sp(child_sp->GetSyntheticValue()); in ShouldPrintAsOneLiner()
524 total_children_name_len += child_sp->GetName().GetLength(); in ShouldPrintAsOneLiner()
533 if (child_sp->GetSummaryFormat()) { in ShouldPrintAsOneLiner()
535 if (child_sp->GetSummaryFormat()->DoesPrintChildren(child_sp.get())) in ShouldPrintAsOneLiner()
540 if (child_sp->GetNumChildren()) { in ShouldPrintAsOneLiner()
[all …]
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibStdcppTuple.cpp70 ValueObjectSP child_sp = current_child->GetChildAtIndex(i, true); in Update() local
71 llvm::StringRef name_str = child_sp->GetName().GetStringRef(); in Update()
73 next_child_sp = child_sp; in Update()
76 child_sp->GetChildMemberWithName(ConstString("_M_head_impl"), true); in Update()
DBlockPointer.cpp146 ValueObjectSP child_sp(struct_sp->GetSyntheticChildAtOffset( in GetChildAtIndex() local
150 return child_sp; in GetChildAtIndex()
188 lldb::ValueObjectSP child_sp = synthetic_children->GetChildAtIndex( in BlockPointerSummaryProvider() local
191 if (!child_sp) { in BlockPointerSummaryProvider()
196 child_sp->GetQualifiedRepresentationIfAvailable( in BlockPointerSummaryProvider()
DLibCxxMap.cpp371 auto child_sp = iterated_sp->GetChildMemberWithName(g___value_, true); in GetChildAtIndex() local
372 if (child_sp) in GetChildAtIndex()
373 iterated_sp = child_sp; in GetChildAtIndex()
/external/llvm-project/lldb/source/Plugins/Language/ObjC/
DNSString.cpp318 ValueObjectSP child_sp(child_ptr_sp->CreateValueObjectFromData( in NSAttributedStringSummaryProvider() local
320 child_sp->GetValueAsUnsigned(0); in NSAttributedStringSummaryProvider()
321 if (child_sp) in NSAttributedStringSummaryProvider()
322 return NSStringSummaryProvider(*child_sp, stream, options); in NSAttributedStringSummaryProvider()
/external/llvm-project/lldb/source/API/
DSBValue.cpp695 lldb::ValueObjectSP child_sp; in GetChildAtIndex() local
701 child_sp = value_sp->GetChildAtIndex(idx, can_create); in GetChildAtIndex()
702 if (can_create_synthetic && !child_sp) { in GetChildAtIndex()
703 child_sp = value_sp->GetSyntheticArrayMember(idx, can_create); in GetChildAtIndex()
708 sb_value.SetSP(child_sp, use_dynamic, GetPreferSyntheticValue()); in GetChildAtIndex()
747 lldb::ValueObjectSP child_sp; in GetChildMemberWithName() local
753 child_sp = value_sp->GetChildMemberWithName(str_name, true); in GetChildMemberWithName()
757 sb_value.SetSP(child_sp, use_dynamic_value, GetPreferSyntheticValue()); in GetChildMemberWithName()
876 lldb::ValueObjectSP child_sp; in GetValueForExpressionPath() local
881 child_sp = value_sp->GetValueForExpressionPath(expr_path); in GetValueForExpressionPath()
[all …]
/external/llvm-project/lldb/include/lldb/DataFormatters/
DValueObjectPrinter.h107 void PrintChild(lldb::ValueObjectSP child_sp,
/external/llvm-project/lldb/source/Core/
DValueObject.cpp429 ValueObjectSP child_sp; in GetChildAtIndex() local
445 return child_sp; in GetChildAtIndex()
542 ValueObjectSP child_sp = GetSP(); in GetChildMemberWithName() local
544 if (child_sp) in GetChildMemberWithName()
545 child_sp = child_sp->GetChildAtIndex(idx, can_create); in GetChildMemberWithName()
546 return child_sp; in GetChildMemberWithName()
749 ValueObjectSP child_sp = GetChildAtIndex(0, true); in GetPointeeData() local
750 if (child_sp.get() == nullptr) in GetPointeeData()
753 return child_sp->GetData(data, error); in GetPointeeData()
/external/llvm-project/lldb/source/Target/
DStackFrame.cpp1399 ValueObjectSP child_sp = parent->GetChildAtIndex(ci, can_create); in GetValueForOffset() local
1401 if (!child_sp) { in GetValueForOffset()
1405 int64_t child_offset = child_sp->GetByteOffset(); in GetValueForOffset()
1406 int64_t child_size = child_sp->GetByteSize().getValueOr(0); in GetValueForOffset()
1409 return GetValueForOffset(frame, child_sp, offset - child_offset); in GetValueForOffset()