Home
last modified time | relevance | path

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

12345678910>>...46

/external/llvm-project/lldb/source/Interpreter/
DOptionValue.cpp23 switch (GetType()) { in GetUInt64Value()
47 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
53 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
59 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
65 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
71 if (GetType() == OptionValue::eTypeFileSpec) in GetAsFileSpec()
77 if (GetType() == OptionValue::eTypeFileSpec) in GetAsFileSpec()
83 if (GetType() == OptionValue::eTypeFileSpecList) in GetAsFileSpecList()
89 if (GetType() == OptionValue::eTypeFileSpecList) in GetAsFileSpecList()
95 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
[all …]
/external/libtextclassifier/native/utils/
Dvariant_test.cc25 TEST(VariantTest, GetType) { in TEST() argument
26 EXPECT_EQ(Variant().GetType(), Variant::TYPE_EMPTY); in TEST()
27 EXPECT_EQ(Variant(static_cast<int8_t>(9)).GetType(), in TEST()
29 EXPECT_EQ(Variant(static_cast<uint8_t>(9)).GetType(), in TEST()
31 EXPECT_EQ(Variant(static_cast<int>(9)).GetType(), Variant::TYPE_INT_VALUE); in TEST()
32 EXPECT_EQ(Variant(static_cast<uint>(9)).GetType(), Variant::TYPE_UINT_VALUE); in TEST()
33 EXPECT_EQ(Variant(static_cast<int64>(9)).GetType(), in TEST()
35 EXPECT_EQ(Variant(static_cast<uint64>(9)).GetType(), in TEST()
37 EXPECT_EQ(Variant(static_cast<float>(9)).GetType(), in TEST()
39 EXPECT_EQ(Variant(static_cast<double>(9)).GetType(), in TEST()
[all …]
/external/llvm-project/lldb/test/API/python_api/sbstructureddata/
DTestStructuredDataAPI.py73 if not invalid_struct.GetType() == lldb.eStructuredDataTypeInvalid:
74 self.fail("Wrong type returned: " + str(invalid_struct.GetType()))
84 if not dict_struct.GetType() == lldb.eStructuredDataTypeDictionary:
85 self.fail("Wrong type returned: " + str(dict_struct.GetType()))
99 if not string_struct.GetType() == lldb.eStructuredDataTypeString:
100 self.fail("Wrong type returned: " + str(string_struct.GetType()))
124 if not int_struct.GetType() == lldb.eStructuredDataTypeInteger:
125 self.fail("Wrong type returned: " + str(int_struct.GetType()))
148 if not floating_point_struct.GetType() == lldb.eStructuredDataTypeFloat:
150 str(floating_point_struct.GetType()))
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() != SENode::Negative) in Simplify()
220 if (child->GetType() == SENode::RecurrentAddExpr) { in Simplify()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() != SENode::Negative) in Simplify()
220 if (child->GetType() == SENode::RecurrentAddExpr) { in Simplify()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() != SENode::Negative) in Simplify()
220 if (child->GetType() == SENode::RecurrentAddExpr) { in Simplify()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
304 Type* p100 = manager.GetType(100); in TEST()
305 Type* s150 = manager.GetType(150); in TEST()
348 Type* p100 = manager.GetType(100); in TEST()
349 Type* s150 = manager.GetType(150); in TEST()
350 Type* p200 = manager.GetType(200); in TEST()
351 Type* s250 = manager.GetType(250); in TEST()
398 EXPECT_EQ(manager.GetType(100), manager.GetType(200)); in TEST()
[all …]
Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() == SENode::ValueUnknown || in TEST_F()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
304 Type* p100 = manager.GetType(100); in TEST()
305 Type* s150 = manager.GetType(150); in TEST()
348 Type* p100 = manager.GetType(100); in TEST()
349 Type* s150 = manager.GetType(150); in TEST()
350 Type* p200 = manager.GetType(200); in TEST()
351 Type* s250 = manager.GetType(250); in TEST()
398 EXPECT_EQ(manager.GetType(100), manager.GetType(200)); in TEST()
[all …]
Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() == SENode::ValueUnknown || in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtype_manager_test.cpp268 ASSERT_NE(nullptr, manager.GetType(p.first)); in TEST()
269 EXPECT_EQ(p.second, manager.GetType(p.first)->str()) in TEST()
271 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
304 Type* p100 = manager.GetType(100); in TEST()
305 Type* s150 = manager.GetType(150); in TEST()
348 Type* p100 = manager.GetType(100); in TEST()
349 Type* s150 = manager.GetType(150); in TEST()
350 Type* p200 = manager.GetType(200); in TEST()
351 Type* s250 = manager.GetType(250); in TEST()
398 EXPECT_EQ(manager.GetType(100), manager.GetType(200)); in TEST()
[all …]
Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() == SENode::ValueUnknown || in TEST_F()
[all …]
/external/llvm-project/lldb/test/API/lang/cpp/template/
DTestTemplateArgs.py57 self.assertEquals(testpos.GetType().GetName(), 'TestObj<1>')
65 expr_result.GetType().GetName() == "int",
72 self.assertEquals(testneg.GetType().GetName(), 'TestObj<-1>')
82 expr_result.GetType().GetName() == "int",
93 self.assertEquals(c1.GetType().GetName(), 'C<float, T1>')
95 self.assertEquals(f1.GetType().GetName(), 'float')
102 self.assertEquals(c2.GetType().GetName(), 'C<double, T1, T2>')
104 self.assertEquals(f2.GetType().GetName(), 'double')
107 self.assertEquals(f3.GetType().GetName(), 'double')
110 self.assertEquals(f4.GetType().GetName(), 'int')
[all …]
/external/llvm-project/flang/unittests/Evaluate/
Dintrinsics.cpp165 .DoCall(Int4::GetType()); in TestIntrinsics()
168 .DoCall(Int4::GetType()); in TestIntrinsics()
187 .DoCall(Int1::GetType()); in TestIntrinsics()
190 .DoCall(Int4::GetType()); in TestIntrinsics()
193 .DoCall(Int8::GetType()); in TestIntrinsics()
196 .DoCall(Real4::GetType()); in TestIntrinsics()
199 .DoCall(Real8::GetType()); in TestIntrinsics()
202 .DoCall(Real4::GetType()); in TestIntrinsics()
205 .DoCall(Real8::GetType()); in TestIntrinsics()
225 maxCallR.DoCall(Real4::GetType()); in TestIntrinsics()
[all …]
/external/skia/modules/particles/include/
DSkReflected.h67 static const Type* GetType() { in GetType() function
107 static const Type* GetType() { \
108 static Type gType{ #TYPE, BASE::GetType(), CreateProc }; \
112 const Type* getType() const override { return GetType(); }
115 static const Type* GetType() { \
116 static Type gType{ #TYPE, BASE::GetType(), nullptr }; \
120 const Type* getType() const override { return GetType(); }
122 #define REGISTER_REFLECTED(TYPE) TYPE::GetType()
177 this->visit(newObj, T::GetType()); in visit()
179 if (!newObj || newObj->isOfType(T::GetType())) { in visit()
/external/llvm-project/lldb/test/API/functionalities/type_completion/
DTestTypeCompletion.py49 p_type = p_vector.GetType()
58 p_type = p_vector.GetType()
69 p_type = p_vector.GetType()
87 p_type = p_vector.GetType()
102 string = field0.GetType().GetPointeeType()
111 p_type = p_vector.GetType()
126 string = field0.GetType().GetPointeeType()
136 p_type = p_vector.GetType()
151 string = field0.GetType().GetPointeeType()
/external/pdfium/core/fpdfdoc/
Dcpdf_formcontrol.cpp43 ASSERT(GetType() == CPDF_FormField::kCheckBox || in GetOnStateName()
44 GetType() == CPDF_FormField::kRadioButton); in GetOnStateName()
63 ASSERT(GetType() == CPDF_FormField::kCheckBox || in GetCheckedAPState()
64 GetType() == CPDF_FormField::kRadioButton); in GetCheckedAPState()
74 ASSERT(GetType() == CPDF_FormField::kCheckBox || in GetExportValue()
75 GetType() == CPDF_FormField::kRadioButton); in GetExportValue()
87 ASSERT(GetType() == CPDF_FormField::kCheckBox || in IsChecked()
88 GetType() == CPDF_FormField::kRadioButton); in IsChecked()
95 ASSERT(GetType() == CPDF_FormField::kCheckBox || in IsDefaultChecked()
96 GetType() == CPDF_FormField::kRadioButton); in IsDefaultChecked()
[all …]
/external/llvm-project/lldb/test/API/macosx/dyld-trie-symbols/
DTestDyldTrieSymbols.py101 if sym1.GetType() == lldb.eSymbolTypeObjCMetaClass:
102 self.assertEqual(sym2.GetType(), lldb.eSymbolTypeObjCClass)
104 if sym1.GetType() == lldb.eSymbolTypeObjCClass:
105 self.assertEqual(sym2.GetType(), lldb.eSymbolTypeObjCMetaClass)
107 …self.assertTrue(sym1.GetType() == lldb.eSymbolTypeObjCMetaClass or sym1.GetType() == lldb.eSymbolT…
112 self.assertEqual(sym.GetType(), lldb.eSymbolTypeObjCIVar)
/external/pdfium/fxbarcode/
Dcfx_barcode.cpp68 BC_TYPE CFX_Barcode::GetType() { in GetType() function in CFX_Barcode
69 return m_pBCEngine ? m_pBCEngine->GetType() : BC_UNKNOWN; in GetType()
93 switch (GetType()) { in SetPrintChecksum()
112 switch (GetType()) { in SetDataLength()
131 switch (GetType()) { in SetCalChecksum()
150 switch (GetType()) { in SetFont()
168 switch (GetType()) { in SetFontSize()
187 switch (GetType()) { in SetFontColor()
/external/libbrillo/brillo/
Dflag_helper.cc38 const char* GetType() const override { return "bool"; } in GetType() function in brillo::HelpFlag
69 const char* BoolFlag::GetType() const { in GetType() function in brillo::BoolFlag
85 const char* Int32Flag::GetType() const { in GetType() function in brillo::Int32Flag
101 const char* UInt32Flag::GetType() const { in GetType() function in brillo::UInt32Flag
117 const char* Int64Flag::GetType() const { in GetType() function in brillo::Int64Flag
133 const char* UInt64Flag::GetType() const { in GetType() function in brillo::UInt64Flag
149 const char* DoubleFlag::GetType() const { in GetType() function in brillo::DoubleFlag
167 const char* StringFlag::GetType() const { in GetType() function in brillo::StringFlag
243 flag->GetType(), in UpdateFlagValues()
278 flag->GetType(), in GetHelpMessage()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp122 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
126 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
138 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
150 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
168 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
173 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
188 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
192 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
210 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
215 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
[all …]
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp123 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
127 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
139 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
151 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
169 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
174 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
189 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
193 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
211 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
216 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_linear_algebra_instruction.cpp123 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
127 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
139 ->GetType(ir_context->get_def_use_mgr() in GetRequiredFreshIdCount()
151 ir_context->get_type_mgr()->GetType(matrix_instruction->type_id()); in GetRequiredFreshIdCount()
169 ->GetType(vector_instruction->type_id()) in GetRequiredFreshIdCount()
174 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
189 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
193 ->GetType(matrix_instruction->type_id()) in GetRequiredFreshIdCount()
211 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
216 ->GetType(matrix_1_instruction->type_id()) in GetRequiredFreshIdCount()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DPlatformApis.cs66 isMono = Type.GetType("Mono.Runtime") != null; in PlatformApis()
69 var unityApplicationClass = Type.GetType(UnityEngineApplicationClassName); in PlatformApis()
86 isXamarinIOS = Type.GetType(XamarinIOSObjectClassName) != null; in PlatformApis()
87 isXamarinAndroid = Type.GetType(XamarinAndroidObjectClassName) != null; in PlatformApis()
175 …return Type.GetType(UnityEngineApplicationClassName).GetTypeInfo().GetProperty("platform").GetValu… in GetUnityRuntimePlatform()
177 …return Type.GetType(UnityEngineApplicationClassName).GetProperty("platform").GetValue(null).ToStri… in GetUnityRuntimePlatform()
/external/llvm-project/lldb/test/API/python_api/class_members/
DTestSBTypeClassMembers.py58 Derived = variable.GetType()
59 Base = Derived.GetDirectBaseClassAtIndex(0).GetType()
64 self.assertEquals("int", Derived.GetMemberFunctionAtIndex(0).GetType(
71 self.assertEquals(3, Base.GetMemberFunctionAtIndex(3).GetType(
79 self.assertEquals(0, Base.GetMemberFunctionAtIndex(2).GetType(
83 Base.GetMemberFunctionAtIndex(1).GetType().GetFunctionArgumentTypes(
90 Thingy = variable.GetType()

12345678910>>...46