Home
last modified time | relevance | path

Searched refs:valobj (Results 1 – 25 of 122) sorted by relevance

12345

/openbsd-src/gnu/llvm/llvm/utils/
H A DlldbDataFormatters.py55 def __init__(self, valobj, internal_dict): argument
56 self.valobj = valobj;
80 self.begin = self.valobj.GetChildMemberWithName('BeginX')
81 self.size = self.valobj.GetChildMemberWithName('Size')
82 the_type = self.valobj.GetType()
94 def __init__(self, valobj, internal_dict): argument
95 self.valobj = valobj;
115 self.data = self.valobj.GetChildMemberWithName('Data')
116 length_obj = self.valobj.GetChildMemberWithName('Length')
122 def GetOptionalValue(valobj): argument
[all …]
/openbsd-src/gnu/llvm/lldb/examples/summaries/cocoa/
H A DNSSet.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
41 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
61 vcount = self.valobj.CreateChildAtOffset(
71 def __init__(self, valobj, params): argument
73 self.valobj = valobj
84 self.valobj.GetExpressionPath(stream)
86 num_children_vo = self.valobj.CreateValueFromExpression("count", expr)
97 def __init__(self, valobj, params): argument
[all …]
H A DNSNumber.py34 def __init__(self, valobj, info_bits, data, params): argument
36 self.valobj = valobj
73 def __init__(self, valobj, params): argument
75 self.valobj = valobj
78 self.sys_params.types_cache.char = self.valobj.GetType(
81 self.sys_params.types_cache.short = self.valobj.GetType(
84 self.sys_params.types_cache.ushort = self.valobj.GetType(
87 self.sys_params.types_cache.int = self.valobj.GetType().GetBasicType(lldb.eBasicTypeInt)
89 self.sys_params.types_cache.long = self.valobj.GetType(
92 self.sys_params.types_cache.ulong = self.valobj.GetType(
[all …]
H A DNSDate.py71 def __init__(self, valobj, info_bits, data, params): argument
73 self.valobj = valobj
101 def __init__(self, valobj, params): argument
103 self.valobj = valobj
106 self.sys_params.types_cache.double = self.valobj.GetType(
120 value = self.valobj.CreateChildAtOffset(
135 def __init__(self, valobj, params): argument
137 self.valobj = valobj
140 self.sys_params.types_cache.double = self.valobj.GetType(
154 value = self.valobj.CreateChildAtOffset(
[all …]
H A DCFDictionary.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
41 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
62 num_children_vo = self.valobj.CreateChildAtOffset(
72 def __init__(self, valobj, params): argument
74 self.valobj = valobj
78 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
81 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
96 num_children_vo = self.valobj.CreateChildAtOffset(
[all …]
H A DCFArray.py32 def __init__(self, valobj, dict, params): argument
34 self.valobj = valobj
44 self.valobj.GetExpressionPath(stream)
45 num_children_vo = self.valobj.CreateValueFromExpression(
61 def __init__(self, valobj, dict, params): argument
63 self.valobj = valobj
66 self.sys_params.types_cache.ulong = self.valobj.GetType(
76 num_children_vo = self.valobj.CreateChildAtOffset(
86 def __init__(self, valobj, dict, params): argument
88 self.valobj = valobj
[all …]
H A DCFString.py19 def CFString_SummaryProvider(valobj, dict): argument
21 provider = CFStringSynthProvider(valobj, dict)
38 def CFAttributedString_SummaryProvider(valobj, dict): argument
40 offset = valobj.GetTarget().GetProcess().GetAddressByteSize()
41 pointee = valobj.GetValueAsUnsigned(0)
45 child_ptr = valobj.CreateValueFromAddress(
46 "string_ptr", pointee, valobj.GetType())
50 valobj.GetType()).AddressOf()
72 def __init__(self, valobj, dict): argument
74 self.valobj = valobj
[all …]
H A DNSIndexSet.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
40 self.sys_params.types_cache.uint32 = self.valobj.GetType(
43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
45 self.sys_params.types_cache.uint32 = self.valobj.GetType(
48 self.sys_params.types_cache.uint32 = self.valobj.GetType(
64 mode_chooser_vo = self.valobj.CreateChildAtOffset(
81 count_vo = self.valobj.CreateChildAtOffset(
86 count_ptr = self.valobj.CreateChildAtOffset(
[all …]
H A DNSBundle.py33 def __init__(self, valobj, params): argument
35 self.valobj = valobj
38 self.sys_params.types_cache.NSString = self.valobj.GetTarget(
56 text = self.valobj.CreateChildAtOffset(
62 self.valobj.GetName()) + " triggered unknown pointer location")
64 self.valobj, self.sys_params).url_text()
66 statistics.metric_hit('code_notrun', self.valobj)
75 def __init__(self, valobj, params): argument
77 self.valobj = valobj
88 self.valobj.GetExpressionPath(stream)
[all …]
H A DNSData.py32 def __init__(self, valobj, params): argument
35 self.valobj = valobj
39 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
42 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
60 size = self.valobj.CreateChildAtOffset(
72 def __init__(self, valobj, params): argument
75 self.valobj = valobj
86 self.valobj.GetExpressionPath(stream)
88 num_children_vo = self.valobj.CreateValueFromExpression(
99 def GetSummary_Impl(valobj): argument
[all …]
H A DNSException.py27 def __init__(self, valobj, params): argument
29 self.valobj = valobj
32 self.sys_params.types_cache.id = self.valobj.GetType(
50 name_ptr = self.valobj.CreateChildAtOffset(
52 reason_ptr = self.valobj.CreateChildAtOffset(
63 def __init__(self, valobj, params): argument
65 self.valobj = valobj
76 self.valobj.GetExpressionPath(stream)
77 name_vo = self.valobj.CreateValueFromExpression(
79 reason_vo = self.valobj.CreateValueFromExpression(
[all …]
H A DNSMachPort.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
41 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
61 vport = self.valobj.CreateChildAtOffset(
71 def __init__(self, valobj, params): argument
73 self.valobj = valobj
84 self.valobj.GetExpressionPath(stream)
85 num_children_vo = self.valobj.CreateValueFromExpression(
92 def GetSummary_Impl(valobj): argument
[all …]
H A DCFBinaryHeap.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
41 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
58 size = self.valobj.CreateChildAtOffset(
68 def __init__(self, valobj, params): argument
70 self.valobj = valobj
81 self.valobj.GetExpressionPath(stream)
82 num_children_vo = self.valobj.CreateValueFromExpression(
89 def GetSummary_Impl(valobj): argument
[all …]
H A DNSURL.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
37 self.sys_params.types_cache.NSString = self.valobj.GetTarget(
40 self.sys_params.types_cache.NSURL = self.valobj.GetTarget(
65 text = self.valobj.CreateChildAtOffset(
67 base = self.valobj.CreateChildAtOffset(
87 def __init__(self, valobj, params): argument
89 self.valobj = valobj
100 self.valobj.GetExpressionPath(stream)
101 url_text_vo = self.valobj.CreateValueFromExpression(
[all …]
H A DCFBag.py32 def __init__(self, valobj, params): argument
34 self.valobj = valobj
38 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
41 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
61 size = self.valobj.CreateChildAtOffset(
71 def __init__(self, valobj, params): argument
73 self.valobj = valobj
84 self.valobj.GetExpressionPath(stream)
85 num_children_vo = self.valobj.CreateValueFromExpression(
92 def GetSummary_Impl(valobj): argument
[all …]
H A DNSNotification.py28 def __init__(self, valobj, params): argument
30 self.valobj = valobj
33 self.sys_params.types_cache.id = self.valobj.GetType(
48 string_ptr = self.valobj.CreateChildAtOffset(
58 def __init__(self, valobj, params): argument
60 self.valobj = valobj
71 self.valobj.GetExpressionPath(stream)
72 name_vo = self.valobj.CreateValueFromExpression(
79 def GetSummary_Impl(valobj): argument
83 valobj, statistics)
[all …]
H A DCFBitVector.py58 def __init__(self, valobj, params): argument
60 self.valobj = valobj
64 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
67 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
70 self.sys_params.types_cache.charptr = self.valobj.GetType(
85 count_vo = self.valobj.CreateChildAtOffset(
93 array_vo = self.valobj.CreateChildAtOffset(
129 def __init__(self, valobj, params): argument
131 self.valobj = valobj
144 def GetSummary_Impl(valobj): argument
[all …]
/openbsd-src/gnu/llvm/lldb/examples/synthetic/bitfield/
H A Dexample.py10 def __init__(self, valobj, dict): argument
13 self.valobj = valobj
55 if self.valobj.IsValid() == False:
58 return self.valobj.GetChildMemberWithName("value")
61 op_chosen = self.valobj.GetChildMemberWithName(
68 return self.valobj.CreateValueFromExpression(
71 return self.valobj.CreateValueFromExpression(
74 return self.valobj.CreateValueFromExpression(
77 return self.valobj.CreateValueFromExpression(
80 return self.valobj.CreateValueFromExpression(
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/
H A DCxxStringTypes.cpp53 static bool CharStringSummaryProvider(ValueObject &valobj, Stream &stream) { in CharStringSummaryProvider() argument
54 Address valobj_addr = GetArrayAddressOrPointerValue(valobj); in CharStringSummaryProvider()
58 StringPrinter::ReadStringAndDumpToStreamOptions options(valobj); in CharStringSummaryProvider()
60 options.SetTargetSP(valobj.GetTargetSP()); in CharStringSummaryProvider()
71 static bool CharSummaryProvider(ValueObject &valobj, Stream &stream) { in CharSummaryProvider() argument
74 valobj.GetData(data, error); in CharSummaryProvider()
80 StringPrinter::ReadBufferAndDumpToStreamOptions options(valobj); in CharSummaryProvider()
83 valobj.GetValueAsCString(ElemTraits.second, value); in CharSummaryProvider()
99 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char8StringSummaryProvider() argument
100 return CharStringSummaryProvider<StringElementType::UTF8>(valobj, stream); in Char8StringSummaryProvider()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp41 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSBundleSummaryProvider() argument
42 ProcessSP process_sp = valobj.GetProcessSP(); in NSBundleSummaryProvider()
52 runtime->GetClassDescriptor(valobj)); in NSBundleSummaryProvider()
59 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSBundleSummaryProvider()
71 ValueObjectSP text(valobj.GetSyntheticChildAtOffset( in NSBundleSummaryProvider()
73 valobj.GetCompilerType().GetBasicTypeFromAST(lldb::eBasicTypeObjCID), in NSBundleSummaryProvider()
92 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSTimeZoneSummaryProvider() argument
93 ProcessSP process_sp = valobj.GetProcessSP(); in NSTimeZoneSummaryProvider()
103 runtime->GetClassDescriptor(valobj)); in NSTimeZoneSummaryProvider()
110 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSTimeZoneSummaryProvider()
[all …]
H A DCocoa.h22 bool NSIndexSetSummaryProvider(ValueObject &valobj, Stream &stream,
25 bool NSArraySummaryProvider(ValueObject &valobj, Stream &stream,
29 bool NSDataSummaryProvider(ValueObject &valobj, Stream &stream,
32 bool NSNumberSummaryProvider(ValueObject &valobj, Stream &stream,
35 bool NSDecimalNumberSummaryProvider(ValueObject &valobj, Stream &stream,
38 bool NSNotificationSummaryProvider(ValueObject &valobj, Stream &stream,
41 bool NSTimeZoneSummaryProvider(ValueObject &valobj, Stream &stream,
44 bool NSMachPortSummaryProvider(ValueObject &valobj, Stream &stream,
47 bool NSDateSummaryProvider(ValueObject &valobj, Stream &stream,
50 bool NSBundleSummaryProvider(ValueObject &valobj, Stream &stream,
[all …]
H A DCF.cpp30 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in CFAbsoluteTimeSummaryProvider() argument
32 epoch = epoch + (time_t)valobj.GetValueAsSigned(0); in CFAbsoluteTimeSummaryProvider()
46 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in CFBagSummaryProvider() argument
49 ProcessSP process_sp = valobj.GetProcessSP(); in CFBagSummaryProvider()
59 runtime->GetClassDescriptor(valobj)); in CFBagSummaryProvider()
66 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in CFBagSummaryProvider()
75 ConstString type_name(valobj.GetTypeName()); in CFBagSummaryProvider()
81 if (valobj.IsPointerType()) in CFBagSummaryProvider()
97 if (!language->GetFormatterPrefixSuffix(valobj, g_TypeHint, prefix, in CFBagSummaryProvider()
110 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in CFBitVectorSummaryProvider() argument
[all …]
/openbsd-src/gnu/llvm/lldb/examples/summaries/
H A Dsp_cp.py12 def __init__(self, valobj, dict): argument
13 self.valobj = valobj
31 return self.valobj.GetChildMemberWithName('_M_ptr')
33 return self.valobj.GetChildMemberWithName('_M_refcount').GetChildMemberWithName(
38 def SharedPtr_SummaryProvider(valobj, dict): argument
40 str(valobj.GetChildMemberWithName("count").GetValueAsUnsigned())
45 def __init__(self, valobj, dict): argument
46 self.valobj = valobj
64 return self.valobj.GetChildMemberWithName('ptr_')
66 return self.valobj.GetChildMemberWithName(
[all …]
/openbsd-src/gnu/llvm/lldb/examples/synthetic/
H A Dgnu_libstdcpp.py8 def ForwardListSummaryProvider(valobj, dict): argument
9 list_capping_size = valobj.GetTarget().GetMaximumNumberOfChildrenToDisplay()
10 text = "size=" + str(valobj.GetNumChildren())
11 if valobj.GetNumChildren() > list_capping_size:
16 def StdOptionalSummaryProvider(valobj, dict): argument
17 has_value = valobj.GetNumChildren() > 0
23 def __init__(self, valobj, dict): argument
24 self.valobj = valobj
28 self.payload = self.valobj.GetChildMemberWithName('_M_payload')
54 def __init__(self, valobj, dict): argument
[all …]
/openbsd-src/gnu/llvm/lldb/source/DataFormatters/
H A DTypeFormat.cpp41 bool TypeFormatImpl_Format::FormatObject(ValueObject *valobj, in FormatObject() argument
43 if (!valobj) in FormatObject()
45 if (valobj->CanProvideValue()) { in FormatObject()
46 Value &value(valobj->GetValue()); in FormatObject()
48 ExecutionContext exe_ctx(valobj->GetExecutionContextRef()); in FormatObject()
55 valobj->GetData(data, error); in FormatObject()
77 TargetSP target_sp(valobj->GetTargetSP()); in FormatObject()
83 Address address(valobj->GetPointerValue()); in FormatObject()
92 valobj->GetData(data, error); in FormatObject()
109 valobj->GetBitfieldBitSize(), // Bitfield bit size in FormatObject()
[all …]

12345