Definition at line 86 of file skia.py.
◆ __init__()
def skia.AutoTArray_SynthProvider.__init__ |
( |
|
self, |
|
|
|
valobj, |
|
|
|
dict |
|
) |
| |
Definition at line 88 of file skia.py.
88 def __init__(self, valobj, dict):
89 self.valobj = valobj
90
◆ get_child_at_index()
def skia.AutoTArray_SynthProvider.get_child_at_index |
( |
|
self, |
|
|
|
index |
|
) |
| |
Definition at line 106 of file skia.py.
106 def get_child_at_index(self, index):
107 if index < 0:
108 return None
109 if index >= self.num_children():
110 return None
111
112 try:
113 offset = index * self.dataSize
114 return self.fValue.CreateChildAtOffset('[' + str(index) + ']',
115 offset, self.dataType)
116 except:
117 return None
118
◆ get_child_index()
def skia.AutoTArray_SynthProvider.get_child_index |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 100 of file skia.py.
100 def get_child_index(self, name):
101 try:
102 return int(name.lstrip(
'[').rstrip(
']'))
103 except:
104 return -1
105
◆ has_children()
def skia.AutoTArray_SynthProvider.has_children |
( |
|
self | ) |
|
Definition at line 131 of file skia.py.
131 def has_children(self):
132 return True
133
134
◆ num_children()
def skia.AutoTArray_SynthProvider.num_children |
( |
|
self | ) |
|
Definition at line 91 of file skia.py.
91 def num_children(self):
92 try:
93 count = self.fCount.GetValueAsSigned(0)
95 count =
min(count, 10000)
96 return count
97 except:
98 return 0
99
static float max(float r, float g, float b)
static float min(float r, float g, float b)
◆ update()
def skia.AutoTArray_SynthProvider.update |
( |
|
self | ) |
|
Definition at line 119 of file skia.py.
120 try:
121 self.fCount = self.valobj.GetChildMemberWithName('fCount')
122 fArray = self.valobj.GetChildMemberWithName('fArray')
123
124 ptr = fArray.GetChildMemberWithName('__ptr_')
125 self.fValue = ptr.GetChildMemberWithName('__value_')
126 self.dataType = self.fValue.
GetType().GetPointeeType()
127 self.dataSize = self.dataType.GetByteSize()
128 except:
129 pass
130
static Dart_TypedData_Type GetType(intptr_t class_id)
◆ dataSize
skia.AutoTArray_SynthProvider.dataSize |
◆ dataType
skia.AutoTArray_SynthProvider.dataType |
◆ fCount
skia.AutoTArray_SynthProvider.fCount |
◆ fValue
skia.AutoTArray_SynthProvider.fValue |
◆ valobj
skia.AutoTArray_SynthProvider.valobj |
The documentation for this class was generated from the following file:
- third_party/skia/platform_tools/debugging/lldb/skia.py