HomeSort by relevance Sort by last modified time
    Searched refs:valobj (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/lldb/examples/summaries/cocoa/
Selector.py 10 def SEL_Summary(valobj,dict):
11 return valobj.Cast(valobj.GetType().GetBasicType(lldb.eBasicTypeChar).GetPointerType()).GetSummary()
13 def SELPointer_Summary(valobj,dict):
14 return valobj.CreateValueFromAddress('text',valobj.GetValueAsUnsigned(0),valobj.GetType().GetBasicType(lldb.eBasicTypeChar)).AddressOf().GetSummary()
CFArray.py 30 def __init__(self, valobj, dict, params):
32 self.valobj = valobj;
42 self.valobj.GetExpressionPath(stream)
43 num_children_vo = self.valobj.CreateValueFromExpression("count","(int)[" + stream.GetData() + " count]");
56 def __init__(self, valobj, dict, params):
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"
    [all...]
NSSet.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
37 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
56 vcount = self.valobj.CreateChildAtOffset("count",
66 def __init__(self, valobj, params):
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream
    [all...]
NSDate.py 62 def __init__(self, valobj, info_bits, data, params):
64 self.valobj = valobj;
91 def __init__(self, valobj, params):
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):
123 self.valobj = valobj
    [all...]
CFBag.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
37 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
56 size = self.valobj.CreateChildAtOffset("count",
66 def __init__(self, valobj, params):
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream
    [all...]
CFBinaryHeap.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
37 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
53 size = self.valobj.CreateChildAtOffset("count",
63 def __init__(self, valobj, params):
65 self.valobj = valobj;
76 self.valobj.GetExpressionPath(stream
    [all...]
NSBundle.py 30 def __init__(self, valobj, params):
32 self.valobj = valobj;
35 self.sys_params.types_cache.NSString = self.valobj.GetTarget().FindFirstType('NSString').GetPointerType()
52 text = self.valobj.CreateChildAtOffset("text",
57 statistics.metric_hit('unknown_class',str(self.valobj.GetName()) + " triggered unkown pointer location")
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):
70 self.valobj = valobj
    [all...]
NSException.py 25 def __init__(self, valobj, params):
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):
60 self.valobj = valobj;
71 self.valobj.GetExpressionPath(stream
    [all...]
NSMachPort.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
37 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
56 vport = self.valobj.CreateChildAtOffset("port",
66 def __init__(self, valobj, params):
68 self.valobj = valobj;
79 self.valobj.GetExpressionPath(stream
    [all...]
CFDictionary.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
37 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedInt)
57 num_children_vo = self.valobj.CreateChildAtOffset("count",
67 def __init__(self, valobj, params):
69 self.valobj = valobj;
73 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong
    [all...]
NSNotification.py 26 def __init__(self, valobj, params):
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):
57 self.valobj = valobj;
68 self.valobj.GetExpressionPath(stream)
69 name_vo = self.valobj.CreateValueFromExpression("name","(NSString*)[" + stream.GetData() + " name]"
    [all...]
NSNumber.py 30 def __init__(self, valobj, info_bits, data, params):
32 self.valobj = valobj;
64 def __init__(self, valobj, params):
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.eBasicTypeUnsignedShort)
75 self.sys_params.types_cache.int = self.valobj.GetType().GetBasicType(lldb.eBasicTypeInt
    [all...]
NSIndexSet.py 29 def __init__(self, valobj, params):
31 self.valobj = valobj;
35 self.sys_params.types_cache.NSUInteger = self.valobj.GetType().GetBasicType(lldb.eBasicTypeUnsignedLong)
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.eBasicTypeUnsignedInt)
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"
    [all...]
  /external/lldb/examples/summaries/
objc.py 4 def BOOL_SummaryProvider (valobj,dict):
5 if not (valobj.IsValid()):
7 if valobj.GetValueAsUnsigned() == 0:
12 def BOOLRef_SummaryProvider (valobj, dict):
13 return BOOL_SummaryProvider (valobj.GetChildAtIndex(0),dict)
15 def BOOLPtr_SummaryProvider (valobj,dict):
16 return BOOL_SummaryProvider (valobj.Dereference(),dict)
sp_cp.py 10 def __init__(self,valobj,dict):
11 self.valobj = valobj
25 return self.valobj.GetChildMemberWithName('_M_ptr')
27 return self.valobj.GetChildMemberWithName('_M_refcount').GetChildMemberWithName('_M_pi').GetChildMemberWithName('_M_use_count')
30 def SharedPtr_SummaryProvider (valobj,dict):
31 return 'use = ' + str(valobj.GetChildMemberWithName("count").GetValueAsUnsigned())
34 def __init__(self,valobj,dict):
35 self.valobj = valobj
    [all...]
  /external/lldb/test/expression_command/issue_11588/
s11588.py 2 def __init__(self, valobj, dict):
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))
  /external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/
fooSynthProvider.py 3 def __init__(self, valobj, dict):
4 self.valobj = valobj;
5 self.int_type = valobj.GetType().GetBasicType(lldb.eBasicTypeInt)
10 child = self.valobj.GetChildMemberWithName('a');
12 child = self.valobj.CreateChildAtOffset ('fake_a', 1, self.int_type);
14 child = self.valobj.GetChildMemberWithName('r');
ftsp.py 6 def __init__(self, valobj, dict):
7 self.valobj = valobj;
18 return self.valobj.CreateValueFromExpression(str(index),'(char)('+str(self.count)+')')
23 self.x = self.valobj.GetChildMemberWithName('x');
24 self.char = self.valobj.GetType().GetBasicType(lldb.eBasicTypeChar)
  /external/lldb/test/functionalities/data-formatter/rdar-10887661/
fooSynthProvider.py 3 def __init__(self, valobj, dict):
4 self.valobj = valobj;
5 self.int_type = valobj.GetType().GetBasicType(lldb.eBasicTypeInt)
10 child = self.valobj.GetChildMemberWithName('a');
12 child = self.valobj.CreateChildAtOffset ('fake_a', 1, self.int_type);
14 child = self.valobj.GetChildMemberWithName('r');
  /external/lldb/examples/synthetic/bitfield/
example.py 6 def __init__(self, valobj, dict):
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"'
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/lldb/
lldb_webkit.py 48 def WTFString_SummaryProvider(valobj, dict):
49 provider = WTFStringProvider(valobj, dict)
53 def WTFStringImpl_SummaryProvider(valobj, dict):
54 provider = WTFStringImplProvider(valobj, dict)
58 def WTFAtomicString_SummaryProvider(valobj, dict):
59 return WTFString_SummaryProvider(valobj.GetChildMemberWithName('m_string'), dict)
62 def WTFVector_SummaryProvider(valobj, dict):
63 provider = WTFVectorProvider(valobj, dict)
67 def WTFHashTable_SummaryProvider(valobj, dict):
68 provider = WTFHashTableProvider(valobj, dict
    [all...]
  /external/lldb/test/python_api/formatters/
jas_synth.py 3 def __init__(self, valobj, dict):
4 self.valobj = valobj;
10 child = self.valobj.GetChildMemberWithName('A');
12 child = self.valobj.CreateValueFromExpression('X', '(int)1')
  /external/lldb/test/expression_command/formatters/
foosynth.py 4 def __init__(self,valobj,dict):
5 self.valobj = valobj;
25 self.lp64 = (self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
26 self.is_little = (self.valobj.GetTarget().GetProcess().GetByteOrder() == lldb.eByteOrderLittle)
27 self.pointer_size = self.valobj.GetTarget().GetProcess().GetAddressByteSize()
28 self.bar = self.valobj.GetChildMemberWithName('b');
formatters.py 1 def foo_SummaryProvider (valobj,dict):
2 a = valobj.GetChildMemberWithName('a');
3 a_ptr = valobj.GetChildMemberWithName('a_ptr');
4 bar = valobj.GetChildMemberWithName('b');
  /external/lldb/source/DataFormatters/
Cocoa.cpp 29 lldb_private::formatters::NSBundleSummaryProvider (ValueObject& valobj, Stream& stream)
31 ProcessSP process_sp = valobj.GetProcessSP();
40 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj));
47 lldb::addr_t valobj_addr = valobj.GetValueAsUnsigned(0);
60 ValueObjectSP text(valobj.GetSyntheticChildAtOffset(offset, valobj.GetClangType().GetBasicTypeFromAST(lldb::eBasicTypeObjCID), true));
72 return ExtractSummaryFromObjCExpression(valobj, "NSString*", "bundlePath", stream);
76 lldb_private::formatters::NSTimeZoneSummaryProvider (ValueObject& valobj, Stream& stream)
78 ProcessSP process_sp = valobj.GetProcessSP();
87 ObjCLanguageRuntime::ClassDescriptorSP descriptor(runtime->GetClassDescriptor(valobj));
    [all...]

Completed in 691 milliseconds

1 2 3