Home
last modified time | relevance | path

Searched refs:GetValueAsUnsigned (Results 1 – 25 of 150) sorted by relevance

123456

/external/llvm-project/lldb/test/API/commands/expression/formatters/
Dformatters.py14 return 'a = ' + str(a.GetValueAsUnsigned(0)) + ', a_ptr = ' + \
15 … str(a_ptr.GetValueAsUnsigned(0)) + ' -> ' + str(a_ptr.Dereference().GetValueAsUnsigned(0)) + \
16 ', i = ' + str(i.GetValueAsUnsigned(0)) + \
17 …', i_ptr = ' + str(i_ptr.GetValueAsUnsigned(0)) + ' -> ' + str(i_ptr.Dereference().GetValueAsUnsig…
18 ', b_ref = ' + str(b_ref.GetValueAsUnsigned(0)) + \
19 ', h = ' + str(h.GetValueAsUnsigned(0)) + ' , k = ' + str(k.GetValueAsUnsigned(0))
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/
DTestDataFormatterStdUniquePtr.py39 self.assertEqual(123, frame.GetValueForVariablePath("iup.object").GetValueAsUnsigned())
40 self.assertEqual(123, frame.GetValueForVariablePath("*iup").GetValueAsUnsigned())
47 self.assertEqual(456, frame.GetValueForVariablePath("idp.object").GetValueAsUnsigned())
48 self.assertEqual(456, frame.GetValueForVariablePath("*idp").GetValueAsUnsigned())
54 self.assertEqual(1, idp_deleter.GetChildMemberWithName("a").GetValueAsUnsigned())
55 self.assertEqual(2, idp_deleter.GetChildMemberWithName("b").GetValueAsUnsigned())
59 self.assertEqual(3, sdp_deleter.GetChildMemberWithName("a").GetValueAsUnsigned())
60 self.assertEqual(4, sdp_deleter.GetChildMemberWithName("b").GetValueAsUnsigned())
89 … self.assertEqual(2, frame.GetValueForVariablePath("f1->fp.object.data").GetValueAsUnsigned())
90 self.assertEqual(2, frame.GetValueForVariablePath("f1->fp->data").GetValueAsUnsigned())
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/member-and-local-vars-with-same-name/
DTestMembersAndLocalsWithSameName.py59 self.assertEqual(val.GetValueAsUnsigned(), 12345)
63 self.assertEqual(val.GetValueAsUnsigned(), 54321)
67 self.assertEqual(val.GetValueAsUnsigned(), 34567)
81 self.assertEqual(val.GetValueAsUnsigned(), 10001)
85 self.assertEqual(val.GetValueAsUnsigned(), 10002)
89 self.assertEqual(val.GetValueAsUnsigned(), 10003)
103 self.assertEqual(val.GetValueAsUnsigned(), 1)
107 self.assertEqual(val.GetValueAsUnsigned(), 2)
111 self.assertEqual(val.GetValueAsUnsigned(), 778899)
163 self.assertEqual(val.GetValueAsUnsigned(), 12345)
[all …]
/external/llvm-project/lldb/test/API/lang/objc/objc-property/
DTestObjCProperty.py63 start_access_count = access_count.GetValueAsUnsigned(123456)
75 nonexistant_int = nonexistant_value.GetValueAsUnsigned(123456)
81 new_access_count = access_count.GetValueAsUnsigned(123456)
95 new_access_count = access_count.GetValueAsUnsigned(123456)
109 self.assertTrue(backed_value.GetValueAsUnsigned(12345)
110 == backing_value.GetValueAsUnsigned(23456))
114 self.assertEqual(value_from_typedef.GetValueAsUnsigned(12345),
115 backing_value.GetValueAsUnsigned(23456))
130 self.assertEquals(value.GetValueAsUnsigned(11111), 123)
139 self.assertEquals(value.GetValueAsUnsigned(11111), 234)
/external/llvm-project/lldb/examples/summaries/
Dunicode_strings.py17 pointer = value.GetChildMemberWithName("first").GetValueAsUnsigned(0)
18 length = value.GetChildMemberWithName("second").GetValueAsUnsigned(0)
29 pointer = value.GetChildMemberWithName("first").GetValueAsUnsigned(0)
30 length = value.GetChildMemberWithName("second").GetValueAsUnsigned(0)
43 pointer = value.GetChildMemberWithName("first").GetValueAsUnsigned(0)
44 length = value.GetChildMemberWithName("second").GetValueAsUnsigned(0)
Dpysummary.py5 if value is None or value.IsValid() == False or value.GetValueAsUnsigned(0) == 0:
9 value.GetValueAsUnsigned(0))
12 refcnt_value = "rc = %d" % (refcnt.GetValueAsUnsigned(0))
/external/llvm-project/lldb/scripts/android/
Dhost_art_bt.py49 if art_method.GetValueAsUnsigned() != 0:
53 art_method_name.GetName() + """.c_str()""").GetValueAsUnsigned()
55 art_method_name.GetName() + """.length()""").GetValueAsUnsigned()
103 if art_method.GetValueAsUnsigned() != 0:
108 art_method_name.GetName() + """.c_str()""").GetValueAsUnsigned()
110 art_method_name.GetName() + """.length()""").GetValueAsUnsigned()
166 if art_method.GetValueAsUnsigned() != 0:
171 art_method_name.GetName() + """.c_str()""").GetValueAsUnsigned()
173 art_method_name.GetName() + """.length()""").GetValueAsUnsigned()
182 """.GetDexPc(true))""").GetValueAsUnsigned()
[all …]
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/TSan/
DInstrumentationRuntimeTSan.cpp222 trace_value_object->GetChildAtIndex(j, true)->GetValueAsUnsigned(0); in CreateStackTrace()
239 ->GetValueAsUnsigned(0); in ConvertToStructuredArray()
258 ->GetValueAsUnsigned(0); in RetrieveString()
273 o->GetValueForExpressionPath(".tid")->GetValueAsUnsigned(0); in GetRenumberedThreadIds()
275 o->GetValueForExpressionPath(".os_id")->GetValueAsUnsigned(0); in GetRenumberedThreadIds()
349 ->GetValueAsUnsigned(0)); in RetrieveReportData()
358 o->GetValueForExpressionPath(".idx")->GetValueAsUnsigned(0)); in RetrieveReportData()
370 o->GetValueForExpressionPath(".idx")->GetValueAsUnsigned(0)); in RetrieveReportData()
374 o->GetValueForExpressionPath(".tid")->GetValueAsUnsigned(0), in RetrieveReportData()
378 o->GetValueForExpressionPath(".size")->GetValueAsUnsigned(0)); in RetrieveReportData()
[all …]
/external/llvm-project/lldb/test/API/functionalities/gdb_remote_client/
DTestNestedRegDefinitions.py218 self.assertEqual(rip_valobj.GetValueAsUnsigned(), 0x00ffff800041120e)
221 self.assertEqual(r15_valobj.GetValueAsUnsigned(), 0xffffff8000c0b778)
224 self.assertEqual(mxcsr_valobj.GetValueAsUnsigned(), 0x00001f80)
236 print("rip is 0x%x" % rip_valobj.GetValueAsUnsigned())
237 print("r15 is 0x%x" % r15_valobj.GetValueAsUnsigned())
238 print("mxcsr is 0x%x" % mxcsr_valobj.GetValueAsUnsigned())
DTestNoGPacketSupported.py83 rax = frame.FindRegister("rax").GetValueAsUnsigned()
84 rbx = frame.FindRegister("rbx").GetValueAsUnsigned()
85 rsi = frame.FindRegister("rsi").GetValueAsUnsigned()
87 rip = frame.FindRegister("rip").GetValueAsUnsigned()
DTestRegDefinitionInParts.py153 self.assertEqual(rip_valobj.GetValueAsUnsigned(), 0x00ffff800041120e)
156 self.assertEqual(ss_valobj.GetValueAsUnsigned(), 0x22222222)
159 print("rip is 0x%x" % rip_valobj.GetValueAsUnsigned())
160 print("ss is 0x%x" % ss_valobj.GetValueAsUnsigned())
DTestJLink6Armv7RegisterDefinition.py175 self.assertEqual(r1_valobj.GetValueAsUnsigned(), 1)
178 self.assertEqual(pc_valobj.GetValueAsUnsigned(), 0x0800269e)
181 self.assertEqual(xpsr_valobj.GetValueAsUnsigned(), 0x61000000)
197 self.assertEqual(r1_valobj.GetValueAsUnsigned(), 0x11223344)
/external/llvm-project/lldb/examples/synthetic/
Dunordered_multi.py42 '__first_').GetValueAsUnsigned(0)
44 '__data_').GetChildMemberWithName('__first_').GetValueAsUnsigned(0)
51 '__p2_').GetChildMemberWithName('__first_').GetValueAsUnsigned(0)
53 '__p3_').GetChildMemberWithName('__first_').GetValueAsUnsigned(0)
106 '__hash_').GetValueAsUnsigned()
110 if not self.next_element.GetValueAsUnsigned(0):
Dgnu_libstdcpp.py36 value = node.GetValueAsUnsigned()
68 self.count = count_child.GetValueAsUnsigned(0)
76 next_val = self.next.GetValueAsUnsigned(0)
77 prev_val = self.prev.GetValueAsUnsigned(0)
91 '_M_next').GetValueAsUnsigned(0) != self.node_address:
144 self.node_address = self.valobj.AddressOf().GetValueAsUnsigned(0)
171 start_val = self.start.GetValueAsUnsigned(0)
172 finish_val = self.finish.GetValueAsUnsigned(0)
173 end_val = self.end.GetValueAsUnsigned(0)
249 start = self.start_p.GetValueAsUnsigned(0)
[all …]
Dlibcxx.py52 size_mode = D20.GetChildAtIndex(0).GetValueAsUnsigned(0)
60 size = size_vo.GetValueAsUnsigned(0) + 1
84 start_val = self.start.GetValueAsUnsigned(0)
85 finish_val = self.finish.GetValueAsUnsigned(0)
173 return self.entry.GetValueAsUnsigned(0)
242 return node.GetValueAsUnsigned()
277 next_val = self.head.GetValueAsUnsigned(0)
278 prev_val = self.tail.GetValueAsUnsigned(0)
343 self.node_address = self.valobj.AddressOf().GetValueAsUnsigned(0)
384 return self.node.GetValueAsUnsigned(0)
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/diamond/
DTestDiamond.py39 self.assertTrue(j1_Derived1_VBase_m_value.GetValueAsUnsigned(
40 … 1) == j1_Derived2_VBase_m_value.GetValueAsUnsigned(2), "ensure m_value in VBase is the same")
42 0).GetValueAsUnsigned(0) == 12345, "ensure Derived2 from j1 is correct")
45 0).GetValueAsUnsigned(0) == 12346, "ensure Derived2 from j2 is correct")
/external/llvm-project/lldb/examples/synthetic/bitfield/
Dexample.py62 "oper").GetValueAsUnsigned()
95 "value").GetValueAsUnsigned()
97 "oper").GetValueAsUnsigned()
99 "mask").GetValueAsUnsigned()
/external/llvm-project/lldb/examples/summaries/cocoa/
DCFString.py41 pointee = valobj.GetValueAsUnsigned(0)
49 child_ptr.GetValueAsUnsigned(),
121 pointer = self.valobj.GetValueAsUnsigned(0) + offset
137 pointer = self.valobj.GetValueAsUnsigned(
147 pointer = self.valobj.GetValueAsUnsigned(
155 pointer = vopointer.GetValueAsUnsigned(0)
167 offset = offset + self.valobj.GetValueAsUnsigned(0)
177 data_value = data.GetValueAsUnsigned(0)
187 offset = self.valobj.GetValueAsUnsigned(
DNSNumber.py123 data_type = ((data_type_vo.GetValueAsUnsigned(0) % 256) & 0x1F)
130 str(ord(ctypes.c_char(chr(data_vo.GetValueAsUnsigned(0))).value))
137 data_vo.GetValueAsUnsigned(0) %
146 return '(int)' + str(ctypes.c_int(data_vo.GetValueAsUnsigned(0) %
156 str(ctypes.c_long(data_vo.GetValueAsUnsigned(0)).value)
164 str(ctypes.c_long(data_vo.GetValueAsUnsigned(0)).value)
169 str(data_vo.GetValueAsUnsigned(0) & 0x00000000FFFFFFFF))
177 data_plain = data_vo.GetValueAsUnsigned(0)
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibCxx.cpp49 engaged_sp->GetValueAsUnsigned(0) == 1 ? "true" : "false"); in LibcxxOptionalSummaryProvider()
119 if (ptr_sp->GetValueAsUnsigned(0) == 0) { in LibcxxSmartPointerSummaryProvider()
135 stream.Printf("ptr = 0x%" PRIx64, ptr_sp->GetValueAsUnsigned(0)); in LibcxxSmartPointerSummaryProvider()
139 stream.Printf(" strong=%" PRIu64, 1 + count_sp->GetValueAsUnsigned(0)); in LibcxxSmartPointerSummaryProvider()
142 stream.Printf(" weak=%" PRIu64, 1 + weakcount_sp->GetValueAsUnsigned(0)); in LibcxxSmartPointerSummaryProvider()
162 if (ptr_sp->GetValueAsUnsigned(0) == 0) { in LibcxxUniquePointerSummaryProvider()
178 stream.Printf("ptr = 0x%" PRIx64, ptr_sp->GetValueAsUnsigned(0)); in LibcxxUniquePointerSummaryProvider()
277 auto addr(m_pair_ptr->GetValueAsUnsigned(LLDB_INVALID_ADDRESS)); in Update()
415 uint64_t count = 1 + shared_owners_sp->GetValueAsUnsigned(0); in GetChildAtIndex()
429 uint64_t count = 1 + shared_weak_owners_sp->GetValueAsUnsigned(0); in GetChildAtIndex()
[all …]
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/list/
DTestDataFormatterLibcxxList.py163 0).GetValueAsUnsigned(0) == 1, "[0] = 1")
209 0).GetValueAsUnsigned(0) == 3141, "list[0] == 3141")
211 1).GetValueAsUnsigned(0) == 3141, "list[1] == 3141")
216 countingList.GetChildAtIndex(0).GetValueAsUnsigned(0) == 3141,
219 countingList.GetChildAtIndex(1).GetValueAsUnsigned(0) == 3142,
/external/llvm/utils/
DlldbDataFormatters.py29 begin = self.begin.GetValueAsUnsigned(0)
30 end = self.end.GetValueAsUnsigned(0)
88 self.length = length_obj.GetValueAsUnsigned(0)
94 if not valobj.GetChildMemberWithName('hasVal').GetValueAsUnsigned(0):
/external/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/
DInstrumentationRuntimeASan.cpp150 ->GetValueAsUnsigned(0); in RetrieveReportData()
155 return_value_sp->GetValueForExpressionPath(".pc")->GetValueAsUnsigned(0); in RetrieveReportData()
163 ->GetValueAsUnsigned(0); in RetrieveReportData()
166 ->GetValueAsUnsigned(0); in RetrieveReportData()
169 ->GetValueAsUnsigned(0); in RetrieveReportData()
172 ->GetValueAsUnsigned(0); in RetrieveReportData()
/external/llvm-project/clang/utils/
DClangDataFormat.py41 self.ID = srcloc.GetChildAtIndex(0).GetValueAsUnsigned()
45 return getValueFromExpression(self.srcloc, ".getOffset()").GetValueAsUnsigned()
51 return getValueFromExpression(self.srcloc, ".isMacroID()").GetValueAsUnsigned()
54 …s).isLocalSourceLocation(%s)" % (srcmgr_path, getExpressionPath(self.srcloc))).GetValueAsUnsigned()
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()
/external/clang/utils/
DClangDataFormat.py41 self.ID = srcloc.GetChildAtIndex(0).GetValueAsUnsigned()
45 return getValueFromExpression(self.srcloc, ".getOffset()").GetValueAsUnsigned()
51 return getValueFromExpression(self.srcloc, ".isMacroID()").GetValueAsUnsigned()
54 …s).isLocalSourceLocation(%s)" % (srcmgr_path, getExpressionPath(self.srcloc))).GetValueAsUnsigned()
86 self.Length = strref.GetChildAtIndex(1).GetValueAsUnsigned()

123456