Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 307) sorted by relevance

12345678910>>...13

/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValue.cpp23 switch (GetType()) { in GetUInt64Value()
59 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
65 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
95 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
101 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
107 if (GetType() == OptionValue::eTypeArray) in GetAsArray()
113 if (GetType() == OptionValue::eTypeArray) in GetAsArray()
119 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
125 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
143 if (GetType() == OptionValue::eTypeEnum) in GetAsEnumeration()
[all …]
/llvm-project-15.0.7/lldb/test/API/python_api/sbstructureddata/
H A DTestStructuredDataAPI.py70 if not invalid_struct.GetType() == lldb.eStructuredDataTypeInvalid:
81 if not dict_struct.GetType() == lldb.eStructuredDataTypeDictionary:
82 self.fail("Wrong type returned: " + str(dict_struct.GetType()))
96 if not string_struct.GetType() == lldb.eStructuredDataTypeString:
121 if not int_struct.GetType() == lldb.eStructuredDataTypeInteger:
122 self.fail("Wrong type returned: " + str(int_struct.GetType()))
147 str(floating_point_struct.GetType()))
161 if not bool_struct.GetType() == lldb.eStructuredDataTypeBoolean:
177 if not array_struct.GetType() == lldb.eStructuredDataTypeArray:
190 if not string_struct.GetType() == lldb.eStructuredDataTypeString:
[all …]
/llvm-project-15.0.7/lldb/test/API/lang/cpp/template/
H A DTestTemplateArgs.py63 expr_result.GetType().GetName(), "int",
80 expr_result.GetType().GetName(), "int",
91 self.assertEquals(c1.GetType().GetName(), 'C<float, T1>')
93 self.assertEquals(f1.GetType().GetName(), 'float')
102 self.assertEquals(f2.GetType().GetName(), 'double')
105 self.assertEquals(f3.GetType().GetName(), 'double')
108 self.assertEquals(f4.GetType().GetName(), 'int')
124 self.assertEqual(member.GetType().GetName(),
135 expr_result.GetType().GetName(), "int",
144 self.assertEqual(subclass.GetType().GetName(),
[all …]
/llvm-project-15.0.7/flang/unittests/Evaluate/
H A Dintrinsics.cpp167 .DoCall(Int4::GetType()); in TestIntrinsics()
170 .DoCall(Int4::GetType()); in TestIntrinsics()
189 .DoCall(Int1::GetType()); in TestIntrinsics()
192 .DoCall(Int4::GetType()); in TestIntrinsics()
195 .DoCall(Int8::GetType()); in TestIntrinsics()
253 .DoCall(Int4::GetType()); in TestIntrinsics()
261 .DoCall(Int4::GetType()); in TestIntrinsics()
266 .DoCall(Int4::GetType()); in TestIntrinsics()
269 .DoCall(Int4::GetType()); in TestIntrinsics()
272 .DoCall(Int4::GetType()); in TestIntrinsics()
[all …]
/llvm-project-15.0.7/lldb/test/API/macosx/dyld-trie-symbols/
H A DTestDyldTrieSymbols.py92 if sym1.GetType() == lldb.eSymbolTypeObjCMetaClass:
93 self.assertEqual(sym2.GetType(), lldb.eSymbolTypeObjCClass)
95 if sym1.GetType() == lldb.eSymbolTypeObjCClass:
96 self.assertEqual(sym2.GetType(), lldb.eSymbolTypeObjCMetaClass)
98 …self.assertTrue(sym1.GetType() == lldb.eSymbolTypeObjCMetaClass or sym1.GetType() == lldb.eSymbolT…
103 self.assertEqual(sym.GetType(), lldb.eSymbolTypeObjCIVar)
/llvm-project-15.0.7/lldb/test/API/lang/cpp/class-template-parameter-pack/
H A DTestTemplatePackArgs.py28 self.assertEqual(only_pack.GetType().GetNumberOfTemplateArguments(), 4)
29 self.assertEqual(only_pack.GetType().GetTemplateArgumentType(0).GetName(), 'int')
30 self.assertEqual(only_pack.GetType().GetTemplateArgumentType(1).GetName(), 'char')
31 self.assertEqual(only_pack.GetType().GetTemplateArgumentType(2).GetName(), 'double')
33 nested_template = only_pack.GetType().GetTemplateArgumentType(3)
/llvm-project-15.0.7/lldb/test/API/python_api/class_members/
H A DTestSBTypeClassMembers.py55 Derived = variable.GetType()
56 Base = Derived.GetDirectBaseClassAtIndex(0).GetType()
61 self.assertEquals("int", Derived.GetMemberFunctionAtIndex(0).GetType(
68 self.assertEquals(3, Base.GetMemberFunctionAtIndex(3).GetType(
76 self.assertEquals(0, Base.GetMemberFunctionAtIndex(2).GetType(
80 Base.GetMemberFunctionAtIndex(1).GetType().GetFunctionArgumentTypes(
87 Thingy = variable.GetType()
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DXcodeSDKTest.cpp22 EXPECT_EQ(XcodeSDK::GetAnyMacOS().GetType(), XcodeSDK::MacOSX); in TEST()
23 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetType(), XcodeSDK::MacOSX); in TEST()
24 EXPECT_EQ(XcodeSDK("iPhoneSimulator.sdk").GetType(), XcodeSDK::iPhoneSimulator); in TEST()
25 EXPECT_EQ(XcodeSDK("iPhoneOS.sdk").GetType(), XcodeSDK::iPhoneOS); in TEST()
27 EXPECT_EQ(XcodeSDK("AppleTVOS.sdk").GetType(), XcodeSDK::AppleTVOS); in TEST()
28 EXPECT_EQ(XcodeSDK("WatchSimulator.sdk").GetType(), XcodeSDK::WatchSimulator); in TEST()
29 EXPECT_EQ(XcodeSDK("WatchOS.sdk").GetType(), XcodeSDK::watchOS); in TEST()
30 EXPECT_EQ(XcodeSDK("Linux.sdk").GetType(), XcodeSDK::Linux); in TEST()
35 EXPECT_EQ(XcodeSDK("MacOSX10.15.Internal.sdk").GetType(), XcodeSDK::MacOSX); in TEST()
39 EXPECT_EQ(XcodeSDK().GetType(), XcodeSDK::unknown); in TEST()
[all …]
H A DBroadcasterTest.cpp33 EXPECT_EQ(event_mask1, event_sp->GetType()); in TEST()
43 EXPECT_EQ(event_mask2, event_sp->GetType()); in TEST()
48 EXPECT_EQ(event_mask1, event_sp->GetType()); in TEST()
50 EXPECT_EQ(event_mask2, event_sp->GetType()); in TEST()
56 EXPECT_EQ(event_mask1, event_sp->GetType()); in TEST()
/llvm-project-15.0.7/lldb/examples/summaries/cocoa/
H A DNSNumber.py80 self.sys_params.types_cache.char = self.valobj.GetType(
83 self.sys_params.types_cache.short = self.valobj.GetType(
86 self.sys_params.types_cache.ushort = self.valobj.GetType(
89 self.sys_params.types_cache.int = self.valobj.GetType().GetBasicType(lldb.eBasicTypeInt)
91 self.sys_params.types_cache.long = self.valobj.GetType(
94 self.sys_params.types_cache.ulong = self.valobj.GetType(
97 self.sys_params.types_cache.longlong = self.valobj.GetType(
100 self.sys_params.types_cache.ulonglong = self.valobj.GetType(
103 self.sys_params.types_cache.float = self.valobj.GetType(
106 self.sys_params.types_cache.double = self.valobj.GetType(
H A DNSIndexSet.py43 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.NSUInteger = self.valobj.GetType(
50 self.sys_params.types_cache.uint32 = self.valobj.GetType(
53 self.sys_params.types_cache.uint32 = self.valobj.GetType(
H A DNSSet.py43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
46 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
108 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
111 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
152 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
155 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
185 self.sys_params.types_cache.voidptr = self.valobj.GetType(
H A DCFDictionary.py43 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
46 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
83 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
86 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
126 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
129 self.sys_params.types_cache.NSUInteger = self.valobj.GetType(
H A DCFString.py46 "string_ptr", pointee, valobj.GetType())
50 valobj.GetType()).AddressOf()
151 char_type = self.valobj.GetType().GetBasicType(
175 "content", offset, self.valobj.GetType().GetBasicType(
192 "content", offset, self.valobj.GetType().GetBasicType(
199 "content", offset, self.valobj.GetType().GetBasicType(
290 self.valobj.GetType().GetBasicType(
/llvm-project-15.0.7/lldb/test/API/lang/objc/objc-dyn-sbtype/
H A DTestObjCDynamicSBType.py53 object_type = v_object.GetType()
54 base_type = v_base.GetType()
77 …self.assertTrue(object_pointee_type.GetDirectBaseClassAtIndex(0).GetType().GetDirectBaseClassAtInd…
79 …self.assertTrue(base_pointee_type.GetDirectBaseClassAtIndex(0).GetType().GetDirectBaseClassAtIndex(
/llvm-project-15.0.7/lldb/test/API/lang/cpp/dereferencing_references/
H A DTestCPPDereferencingReferences.py17 self.assertEqual(lref_val.Dereference().GetType().GetName(), "TTT")
21 self.assertEqual(rref_val.Dereference().GetType().GetName(), "TTT")
25 self.assertEqual(td_val.Dereference().GetType().GetName(), "int")
/llvm-project-15.0.7/lldb/unittests/API/
H A DSBStructuredDataTest.cpp23 EXPECT_EQ(data.GetType(), eStructuredDataTypeInvalid); in TEST_F()
27 EXPECT_EQ(data.GetValueForKey("key").GetType(), eStructuredDataTypeInvalid); in TEST_F()
28 EXPECT_EQ(data.GetItemAtIndex(0).GetType(), eStructuredDataTypeInvalid); in TEST_F()
/llvm-project-15.0.7/lldb/source/API/
H A DSBTypeFormat.cpp53 if (IsValid() && m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeFormat) in GetFormat()
61 if (IsValid() && m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeEnum) in GetTypeName()
163 m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeFormat) || in CopyOnWrite_Impl()
165 m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeEnum))) in CopyOnWrite_Impl()
169 if (m_opaque_sp->GetType() == TypeFormatImpl::Type::eTypeFormat) in CopyOnWrite_Impl()
H A DSBStructuredData.cpp65 if (!json_obj || json_obj->GetType() != eStructuredDataTypeDictionary) in SetFromJSON()
111 StructuredDataType SBStructuredData::GetType() const { in GetType() function in SBStructuredData
114 return m_impl_up->GetType(); in GetType()
126 if (GetType() != eStructuredDataTypeDictionary) in GetKeys()
/llvm-project-15.0.7/lldb/test/API/lang/objc/complete-type-check/
H A DTestObjCIsTypeComplete.py19 incomplete_class = incomplete.GetType().GetPointeeType()
26 complete_class = complete.GetType().GetPointeeType()
35 complete_class_with_impl = complete_with_impl.GetType().GetPointeeType()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp825 return GetType(ast.IntTy); in GetBuiltinTypeForEncodingAndBitSize()
827 return GetType(ast.LongTy); in GetBuiltinTypeForEncodingAndBitSize()
842 return GetType(ast.HalfTy); in GetBuiltinTypeForEncodingAndBitSize()
971 return GetType( in GetBuiltinTypeForDWARFEncodingAndBitSize()
992 return GetType( in GetBuiltinTypeForDWARFEncodingAndBitSize()
1055 return GetType(ast.IntTy); in GetBuiltinTypeForDWARFEncodingAndBitSize()
2239 return GetType(block_type); in CreateBlockPointerType()
4294 return GetType( in GetFullyUnqualifiedType()
4580 return GetType(result); in AddConstModifier()
4590 return GetType(result); in AddVolatileModifier()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DStructuredDataImpl.h94 lldb::StructuredDataType GetType() const { in GetType() function
95 return (m_data_sp ? m_data_sp->GetType() : in GetType()
103 if (m_data_sp->GetType() == lldb::eStructuredDataTypeDictionary) { in GetSize()
106 } else if (m_data_sp->GetType() == lldb::eStructuredDataTypeArray) { in GetSize()
/llvm-project-15.0.7/llvm/utils/
H A DlldbDataFormatters.py82 the_type = self.valobj.GetType()
118 self.data_type = self.data.GetType().GetPointeeType()
135 underlying_type = storage.GetType().GetTemplateArgumentType(0)
238 self.pointer_ty = self.valobj.GetType().GetTemplateArgumentType(0)
239 self.int_ty = self.valobj.GetType().GetTemplateArgumentType(2)
293 self.template_args = parse_template_parameters(self.valobj.GetType().name)
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dexpression.cpp83 std::optional<DynamicType> ExpressionBase<A>::GetType() const { in GetType() function in Fortran::evaluate::ExpressionBase
85 return Result::GetType(); in GetType()
90 return x.GetType(); in GetType()
110 DynamicType Parentheses<SomeDerived>::GetType() const { in GetType() function in Fortran::evaluate::Parentheses
111 return left().GetType().value(); in GetType()
222 DynamicType StructureConstructor::GetType() const { return result_.GetType(); } in GetType() function in Fortran::evaluate::StructureConstructor
/llvm-project-15.0.7/lldb/include/lldb/Breakpoint/
H A DBreakpointSite.h187 lldbassert(BreakpointSite::Type::eHardware == GetType() || in IsHardware()
189 return BreakpointSite::Type::eHardware == GetType(); in IsHardware()
192 BreakpointSite::Type GetType() const { return m_type; } in GetType() function

12345678910>>...13