Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DVectorType.cpp245 ValueObjectSP child_sp(m_backend.GetSyntheticChildAtOffset( in GetChildAtIndex() local
247 if (!child_sp) in GetChildAtIndex()
248 return child_sp; in GetChildAtIndex()
250 child_sp->SetFormat(m_item_format); in GetChildAtIndex()
252 return child_sp; in GetChildAtIndex()
307 auto child_sp = synthetic_children->GetChildAtIndex(idx); in VectorTypeSummaryProvider() local
308 if (!child_sp) in VectorTypeSummaryProvider()
310 child_sp = child_sp->GetQualifiedRepresentationIfAvailable( in VectorTypeSummaryProvider()
313 const char *child_value = child_sp->GetValueAsCString(); in VectorTypeSummaryProvider()
H A DValueObjectPrinter.cpp604 ValueObjectSP child_sp, in PrintChild() argument
623 if (child_sp.get()) { in PrintChild()
628 ValueObjectPrinter child_printer(*(child_sp.get()), m_stream, child_options, in PrintChild()
737 if (ValueObjectSP child_sp = GenerateChild(synth_valobj, idx)) { in PrintChildren() local
739 !m_options.m_child_printing_decider(child_sp->GetName())) in PrintChildren()
745 PrintChild(child_sp, curr_ptr_depth); in PrintChildren()
793 lldb::ValueObjectSP child_sp(synth_valobj.GetChildAtIndex(idx)); in PrintChildrenOneLiner() local
794 if (child_sp) in PrintChildrenOneLiner()
795 child_sp = child_sp->GetQualifiedRepresentationIfAvailable( in PrintChildrenOneLiner()
797 if (child_sp) { in PrintChildrenOneLiner()
[all …]
H A DFormatManager.cpp491 ValueObjectSP child_sp(valobj.GetChildAtIndex(idx)); in ShouldPrintAsOneLiner() local
493 if (!child_sp) in ShouldPrintAsOneLiner()
497 CompilerType child_compiler_type(child_sp->GetCompilerType()); in ShouldPrintAsOneLiner()
499 switch (child_compiler_type.ShouldPrintAsOneLiner(child_sp.get())) { in ShouldPrintAsOneLiner()
512 if (child_sp->GetSyntheticChildren().get() != nullptr) { in ShouldPrintAsOneLiner()
513 ValueObjectSP synth_sp(child_sp->GetSyntheticValue()); in ShouldPrintAsOneLiner()
525 total_children_name_len += child_sp->GetName().GetLength(); in ShouldPrintAsOneLiner()
534 if (child_sp->GetSummaryFormat()) { in ShouldPrintAsOneLiner()
536 if (child_sp->GetSummaryFormat()->DoesPrintChildren(child_sp.get())) in ShouldPrintAsOneLiner()
541 if (child_sp->HasChildren()) { in ShouldPrintAsOneLiner()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibStdcppTuple.cpp70 ValueObjectSP child_sp = current_child->GetChildAtIndex(i); 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("_M_head_impl"); in Update()
H A DBlockPointer.cpp134 ValueObjectSP child_sp(struct_sp->GetSyntheticChildAtOffset( in GetChildAtIndex() local
138 return child_sp; in GetChildAtIndex()
178 lldb::ValueObjectSP child_sp = synthetic_children->GetChildAtIndex( in BlockPointerSummaryProvider() local
181 if (!child_sp) { in BlockPointerSummaryProvider()
186 child_sp->GetQualifiedRepresentationIfAvailable( in BlockPointerSummaryProvider()
H A DLibCxx.cpp40 lldb::ValueObjectSP child_sp = obj.GetChildMemberWithName(name); in GetChildMemberWithName() local
42 if (child_sp) in GetChildMemberWithName()
43 return child_sp; in GetChildMemberWithName()
/freebsd/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_spawnattr.c112 struct sched_param sp, child_sp; in ATF_TC_BODY() local
152 sched_getparam(pid, &child_sp); in ATF_TC_BODY()
153 ATF_REQUIRE_MSG(child_sp.sched_priority == sp.sched_priority, in ATF_TC_BODY()
155 child_sp.sched_priority, sp.sched_priority); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSString.cpp299 ValueObjectSP child_sp(child_ptr_sp->CreateValueObjectFromData( in NSAttributedStringSummaryProvider() local
301 child_sp->GetValueAsUnsigned(0); in NSAttributedStringSummaryProvider()
302 if (child_sp) in NSAttributedStringSummaryProvider()
303 return NSStringSummaryProvider(*child_sp, stream, options); in NSAttributedStringSummaryProvider()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp668 lldb::ValueObjectSP child_sp; in GetChildAtIndex() local
674 child_sp = value_sp->GetChildAtIndex(idx); in GetChildAtIndex()
675 if (can_create_synthetic && !child_sp) { in GetChildAtIndex()
676 child_sp = value_sp->GetSyntheticArrayMember(idx, can_create); in GetChildAtIndex()
681 sb_value.SetSP(child_sp, use_dynamic, GetPreferSyntheticValue()); in GetChildAtIndex()
716 lldb::ValueObjectSP child_sp; in GetChildMemberWithName() local
721 child_sp = value_sp->GetChildMemberWithName(name); in GetChildMemberWithName()
725 sb_value.SetSP(child_sp, use_dynamic_value, GetPreferSyntheticValue()); in GetChildMemberWithName()
854 lldb::ValueObjectSP child_sp; in GetValueForExpressionPath() local
859 child_sp = value_sp->GetValueForExpressionPath(expr_path); in GetValueForExpressionPath()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DValueObjectPrinter.h127 void PrintChild(lldb::ValueObjectSP child_sp,
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp376 ValueObjectSP child_sp; in GetChildAtIndex() local
392 return child_sp; in GetChildAtIndex()
436 ValueObjectSP child_sp = GetSP(); in GetChildMemberWithName() local
438 if (child_sp) in GetChildMemberWithName()
439 child_sp = child_sp->GetChildAtIndex(idx, can_create); in GetChildMemberWithName()
440 return child_sp; in GetChildMemberWithName()
689 ValueObjectSP child_sp = GetChildAtIndex(0); in GetPointeeData() local
690 if (child_sp.get() == nullptr) in GetPointeeData()
693 return child_sp->GetData(data, error); in GetPointeeData()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrame.cpp1394 ValueObjectSP child_sp = parent->GetChildAtIndex(ci); in GetValueForOffset() local
1396 if (!child_sp) { in GetValueForOffset()
1400 int64_t child_offset = child_sp->GetByteOffset(); in GetValueForOffset()
1401 int64_t child_size = child_sp->GetByteSize().value_or(0); in GetValueForOffset()
1404 return GetValueForOffset(frame, child_sp, offset - child_offset); in GetValueForOffset()