Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/WebKit/Tools/lldb/
Dlldb_webkit.py48 def WTFString_SummaryProvider(valobj, dict): argument
49 provider = WTFStringProvider(valobj, dict)
53 def WTFStringImpl_SummaryProvider(valobj, dict): argument
54 provider = WTFStringImplProvider(valobj, dict)
58 def WTFAtomicString_SummaryProvider(valobj, dict): argument
59 return WTFString_SummaryProvider(valobj.GetChildMemberWithName('m_string'), dict)
62 def WTFVector_SummaryProvider(valobj, dict): argument
63 provider = WTFVectorProvider(valobj, dict)
67 def WTFHashTable_SummaryProvider(valobj, dict): argument
68 provider = WTFHashTableProvider(valobj, dict)
[all …]
/external/lldb/examples/summaries/cocoa/
DNSSet.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
37 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
56 vcount = self.valobj.CreateChildAtOffset("count",
66 def __init__(self, valobj, params): argument
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream)
81 num_children_vo = self.valobj.CreateValueFromExpression("count",expr)
90 def __init__(self, valobj, params): argument
[all …]
DNSNumber.py30 def __init__(self, valobj, info_bits, data, params): argument
32 self.valobj = valobj;
64 def __init__(self, valobj, params): argument
66 self.valobj = valobj;
69 self.sys_params.types_cache.char = self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)
71 self.sys_params.types_cache.short = self.valobj.GetType().GetBasicType(lldb.eBasicTypeShort)
73 …self.sys_params.types_cache.ushort = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedSho…
75 self.sys_params.types_cache.int = self.valobj.GetType().GetBasicType(lldb.eBasicTypeInt)
77 self.sys_params.types_cache.long = self.valobj.GetType().GetBasicType(lldb.eBasicTypeLong)
79 …self.sys_params.types_cache.ulong = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
[all …]
DNSDate.py62 def __init__(self, valobj, info_bits, data, params): argument
64 self.valobj = valobj;
91 def __init__(self, valobj, params): argument
93 self.valobj = valobj;
96 self.sys_params.types_cache.double = self.valobj.GetType().GetBasicType(lldb.eBasicTypeDouble)
109 value = self.valobj.CreateChildAtOffset("value",
121 def __init__(self, valobj, params): argument
123 self.valobj = valobj;
126 self.sys_params.types_cache.double = self.valobj.GetType().GetBasicType(lldb.eBasicTypeDouble)
139 value = self.valobj.CreateChildAtOffset("value",
[all …]
DCFDictionary.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
37 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
57 num_children_vo = self.valobj.CreateChildAtOffset("count",
67 def __init__(self, valobj, params): argument
69 self.valobj = valobj;
73 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
75 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
89 num_children_vo = self.valobj.CreateChildAtOffset("count",
[all …]
DCFArray.py30 def __init__(self, valobj, dict, params): argument
32 self.valobj = valobj;
42 self.valobj.GetExpressionPath(stream)
43 …num_children_vo = self.valobj.CreateValueFromExpression("count","(int)[" + stream.GetData() + " co…
56 def __init__(self, valobj, dict, params): argument
58 self.valobj = valobj;
61 …self.sys_params.types_cache.ulong = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
70 num_children_vo = self.valobj.CreateChildAtOffset("count",
79 def __init__(self, valobj, dict, params): argument
81 self.valobj = valobj;
[all …]
DCFString.py14 def CFString_SummaryProvider (valobj,dict): argument
16 provider = CFStringSynthProvider(valobj,dict);
31 def CFAttributedString_SummaryProvider (valobj,dict): argument
33 offset = valobj.GetTarget().GetProcess().GetAddressByteSize()
34 pointee = valobj.GetValueAsUnsigned(0)
38 child_ptr = valobj.CreateValueFromAddress("string_ptr",pointee,valobj.GetType())
39 …child = child_ptr.CreateValueFromAddress("string_data",child_ptr.GetValueAsUnsigned(),valobj.GetTy…
56 def __init__(self,valobj,dict): argument
58 self.valobj = valobj;
70 process = self.valobj.GetTarget().GetProcess()
[all …]
DNSIndexSet.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
36 …self.sys_params.types_cache.uint32 = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
38 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
39 …self.sys_params.types_cache.uint32 = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
41 …self.sys_params.types_cache.uint32 = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
55 mode_chooser_vo = self.valobj.CreateChildAtOffset("mode_chooser",
71 count_vo = self.valobj.CreateChildAtOffset("count",
75 count_ptr = self.valobj.CreateChildAtOffset("count_ptr",
[all …]
DNSBundle.py30 def __init__(self, valobj, params): argument
32 self.valobj = valobj;
35 …self.sys_params.types_cache.NSString = self.valobj.GetTarget().FindFirstType('NSString').GetPointe…
52 text = self.valobj.CreateChildAtOffset("text",
57 …statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " triggered unkown pointer loca…
58 return NSBundleUnknown_SummaryProvider(self.valobj, self.sys_params).url_text()
60 statistics.metric_hit('code_notrun',self.valobj)
68 def __init__(self, valobj, params): argument
70 self.valobj = valobj;
81 self.valobj.GetExpressionPath(stream)
[all …]
DNSData.py29 def __init__(self, valobj, params): argument
32 self.valobj = valobj;
36 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
38 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
55 size = self.valobj.CreateChildAtOffset("count",
67 def __init__(self, valobj, params): argument
70 self.valobj = valobj;
81 self.valobj.GetExpressionPath(stream)
83 …num_children_vo = self.valobj.CreateValueFromExpression("count","(int)[" + stream.GetData() + " le…
92 def GetSummary_Impl(valobj): argument
[all …]
DNSException.py25 def __init__(self, valobj, params): argument
27 self.valobj = valobj;
30 self.sys_params.types_cache.id = self.valobj.GetType().GetBasicType(lldb.eBasicTypeObjCID)
46 name_ptr = self.valobj.CreateChildAtOffset("name",
49 reason_ptr = self.valobj.CreateChildAtOffset("reason",
58 def __init__(self, valobj, params): argument
60 self.valobj = valobj;
71 self.valobj.GetExpressionPath(stream)
72 …name_vo = self.valobj.CreateValueFromExpression("name","(NSString*)[" + stream.GetData() + " name]…
73 …reason_vo = self.valobj.CreateValueFromExpression("reason","(NSString*)[" + stream.GetData() + " r…
[all …]
DNSMachPort.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
37 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
56 vport = self.valobj.CreateChildAtOffset("port",
66 def __init__(self, valobj, params): argument
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream)
80 …num_children_vo = self.valobj.CreateValueFromExpression("port","(int)[" + stream.GetData() + " mac…
86 def GetSummary_Impl(valobj): argument
[all …]
DCFBag.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
37 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
56 size = self.valobj.CreateChildAtOffset("count",
66 def __init__(self, valobj, params): argument
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream)
80 …num_children_vo = self.valobj.CreateValueFromExpression("count","(int)CFBagGetCount(" + stream.Get…
86 def GetSummary_Impl(valobj): argument
[all …]
DNSURL.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
34 …self.sys_params.types_cache.NSString = self.valobj.GetTarget().FindFirstType('NSString').GetPointe…
36 …self.sys_params.types_cache.NSURL = self.valobj.GetTarget().FindFirstType('NSURL').GetPointerType()
59 text = self.valobj.CreateChildAtOffset("text",
62 base = self.valobj.CreateChildAtOffset("base",
82 def __init__(self, valobj, params): argument
84 self.valobj = valobj;
95 self.valobj.GetExpressionPath(stream)
96 …url_text_vo = self.valobj.CreateValueFromExpression("url","(NSString*)[" + stream.GetData() + " de…
[all …]
DCFBinaryHeap.py29 def __init__(self, valobj, params): argument
31 self.valobj = valobj;
35 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
37 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
53 size = self.valobj.CreateChildAtOffset("count",
63 def __init__(self, valobj, params): argument
65 self.valobj = valobj;
76 self.valobj.GetExpressionPath(stream)
77 …num_children_vo = self.valobj.CreateValueFromExpression("count","(int)CFBinaryHeapGetCount(" + str…
83 def GetSummary_Impl(valobj): argument
[all …]
DNSNotification.py26 def __init__(self, valobj, params): argument
28 self.valobj = valobj;
31 self.sys_params.types_cache.id = self.valobj.GetType().GetBasicType(lldb.eBasicTypeObjCID)
45 string_ptr = self.valobj.CreateChildAtOffset("name",
55 def __init__(self, valobj, params): argument
57 self.valobj = valobj;
68 self.valobj.GetExpressionPath(stream)
69 …name_vo = self.valobj.CreateValueFromExpression("name","(NSString*)[" + stream.GetData() + " name]…
75 def GetSummary_Impl(valobj): argument
78 …class_data,wrapper =lldb.runtime.objc.objc_runtime.Utilities.prepare_class_detection(valobj,statis…
[all …]
DCFBitVector.py49 def __init__(self, valobj, params): argument
51 self.valobj = valobj;
55 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
57 …self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsigne…
59 …self.sys_params.types_cache.charptr = self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar).GetP…
73 count_vo = self.valobj.CreateChildAtOffset("count",self.sys_params.cfruntime_size,
79 array_vo = self.valobj.CreateChildAtOffset("data",
111 def __init__(self, valobj, params): argument
113 self.valobj = valobj;
126 def GetSummary_Impl(valobj): argument
[all …]
DSelector.py10 def SEL_Summary(valobj,dict): argument
11 …return valobj.Cast(valobj.GetType().GetBasicType(lldb.eBasicTypeChar).GetPointerType()).GetSummary…
13 def SELPointer_Summary(valobj,dict): argument
14 …return valobj.CreateValueFromAddress('text',valobj.GetValueAsUnsigned(0),valobj.GetType().GetBasic…
/external/lldb/examples/synthetic/bitfield/
Dexample.py6 def __init__(self, valobj, dict): argument
7 self.valobj = valobj # remember the SBValue since you will not have another chance to get it :-)
47 if self.valobj.IsValid() == False:
50 return self.valobj.GetChildMemberWithName("value")
53 op_chosen = self.valobj.GetChildMemberWithName("oper").GetValueAsUnsigned()
58 return self.valobj.CreateValueFromExpression("operator",'(const char*)"none"')
60 return self.valobj.CreateValueFromExpression("operator",'(const char*)"AND"')
62 return self.valobj.CreateValueFromExpression("operator",'(const char*)"OR"')
64 return self.valobj.CreateValueFromExpression("operator",'(const char*)"XOR"')
66 return self.valobj.CreateValueFromExpression("operator",'(const char*)"NAND"')
[all …]
/external/lldb/source/DataFormatters/
DCocoa.cpp29 lldb_private::formatters::NSBundleSummaryProvider (ValueObject& valobj, Stream& stream) in NSBundleSummaryProvider() argument
31 ProcessSP process_sp = valobj.GetProcessSP(); in NSBundleSummaryProvider()
40 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj)); in NSBundleSummaryProvider()
47 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSBundleSummaryProvider()
60 …ValueObjectSP text(valobj.GetSyntheticChildAtOffset(offset, valobj.GetClangType().GetBasicTypeFrom… in NSBundleSummaryProvider()
72 return ExtractSummaryFromObjCExpression(valobj, "NSString*", "bundlePath", stream); in NSBundleSummaryProvider()
76 lldb_private::formatters::NSTimeZoneSummaryProvider (ValueObject& valobj, Stream& stream) in NSTimeZoneSummaryProvider() argument
78 ProcessSP process_sp = valobj.GetProcessSP(); in NSTimeZoneSummaryProvider()
87 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj)); in NSTimeZoneSummaryProvider()
94 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in NSTimeZoneSummaryProvider()
[all …]
DCF.cpp29 lldb_private::formatters::CFAbsoluteTimeSummaryProvider (ValueObject& valobj, Stream& stream) in CFAbsoluteTimeSummaryProvider() argument
32 epoch = epoch + (time_t)valobj.GetValueAsUnsigned(0); in CFAbsoluteTimeSummaryProvider()
44 lldb_private::formatters::CFBagSummaryProvider (ValueObject& valobj, Stream& stream) in CFBagSummaryProvider() argument
46 ProcessSP process_sp = valobj.GetProcessSP(); in CFBagSummaryProvider()
55 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj)); in CFBagSummaryProvider()
62 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0); in CFBagSummaryProvider()
72 ConstString type_name(valobj.GetTypeName()); in CFBagSummaryProvider()
75 if (valobj.IsPointerType()) in CFBagSummaryProvider()
82 StackFrameSP frame_sp(valobj.GetFrameSP()); in CFBagSummaryProvider()
87 expr.Printf("(int)CFBagGetCount((void*)0x%" PRIx64 ")",valobj.GetPointerValue()); in CFBagSummaryProvider()
[all …]
DCXXFormatterFunctions.cpp33 lldb_private::formatters::ExtractValueFromObjCExpression (ValueObject &valobj, in ExtractValueFromObjCExpression() argument
43 expr.Printf("(%s)[(id)0x%" PRIx64 " %s]",target_type,valobj.GetPointerValue(),selector); in ExtractValueFromObjCExpression()
44 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in ExtractValueFromObjCExpression()
67 lldb_private::formatters::ExtractSummaryFromObjCExpression (ValueObject &valobj, in ExtractSummaryFromObjCExpression() argument
77 expr.Printf("(%s)[(id)0x%" PRIx64 " %s]",target_type,valobj.GetPointerValue(),selector); in ExtractSummaryFromObjCExpression()
78 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in ExtractSummaryFromObjCExpression()
102 lldb_private::formatters::CallSelectorOnObject (ValueObject &valobj, in CallSelectorOnObject() argument
113 valobj.GetExpressionPath(expr_path_stream, false); in CallSelectorOnObject()
116 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in CallSelectorOnObject()
137 lldb_private::formatters::CallSelectorOnObject (ValueObject &valobj, in CallSelectorOnObject() argument
[all …]
/external/lldb/examples/summaries/
Dsp_cp.py10 def __init__(self,valobj,dict): argument
11 self.valobj = valobj
25 return self.valobj.GetChildMemberWithName('_M_ptr')
27 …return self.valobj.GetChildMemberWithName('_M_refcount').GetChildMemberWithName('_M_pi').GetChildM…
30 def SharedPtr_SummaryProvider (valobj,dict): argument
31 return 'use = ' + str(valobj.GetChildMemberWithName("count").GetValueAsUnsigned())
34 def __init__(self,valobj,dict): argument
35 self.valobj = valobj
49 return self.valobj.GetChildMemberWithName('ptr_')
51 return self.valobj.GetChildMemberWithName('cntrl_').GetChildMemberWithName('shared_owners_')
[all …]
Dobjc.py4 def BOOL_SummaryProvider (valobj,dict): argument
5 if not (valobj.IsValid()):
7 if valobj.GetValueAsUnsigned() == 0:
12 def BOOLRef_SummaryProvider (valobj, dict): argument
13 return BOOL_SummaryProvider (valobj.GetChildAtIndex(0),dict)
15 def BOOLPtr_SummaryProvider (valobj,dict): argument
16 return BOOL_SummaryProvider (valobj.Dereference(),dict)
/external/lldb/test/expression_command/issue_11588/
Ds11588.py2 def __init__(self, valobj, dict): argument
3 self.valobj = valobj
4 self.addrOf = valobj.AddressOf()
5 self.addr = valobj.GetAddress()
6 self.load_address = valobj.GetLoadAddress()
15 return self.valobj.CreateValueFromExpression("addr", str(self.addr))
17 return self.valobj.CreateValueFromExpression("load_address", str(self.load_address))

123