| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_array_test.cpp | 73 template <class ClassType, EtsClassRoot ETS_CLASS_ROOT> 74 static void TestEtsPrimitiveArray(uint32_t arrayLength, ClassType element) in TestEtsPrimitiveArray() 76 auto *array = EtsPrimitiveArray<ClassType, ETS_CLASS_ROOT>::Create(arrayLength); in TestEtsPrimitiveArray() 80 ASSERT_EQ(array->GetElementSize(), sizeof(ClassType)); in TestEtsPrimitiveArray()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | TypeClassTypeTest.ets | 88 function findMethodByName(ct: ClassType, name: string): Method | null { 98 function testFields(ct: ClassType): int { 108 function testAllFieldsAreOwn(ct: ClassType): int { 118 function testClassExtendsObject(ct: ClassType): int { 129 let pt = Type.of(new Point()) as ClassType 152 let pt = Type.of(new Point3D(1.0, 2.0, 3.0)) as ClassType 177 let wt = Type.of(new HTMLWriter(1)) as ClassType 199 let pt = Type.of(new Point()) as ClassType 200 let wt = Type.of(new HTMLWriter(0)) as ClassType 201 let p3t = Type.of(new Point3D(10)) as ClassType
|
| D | TypeCreateClassTest.ets | 24 function fooType(): ClassType { 25 return Type.of(new Foo()) as ClassType // Type.resolve("LETSGLOBAL/Foo;") as ClassType
|
| D | TypeCreatePrimitiveNameTest.ets | 21 assert (Type.of(self) as ClassType).getName() == "i32" 30 const CType = Type.of(new C()) as ClassType
|
| D | TypeMethodTest.ets | 74 function findMethodByName(ct: ClassType, name: string): Method | null { 85 let pt = Type.of(new Point()) as ClassType 86 let hwt = Type.of(new HTMLWriter(10)) as ClassType 115 let pt = Type.of(new Point()) as ClassType 116 let hwt = Type.of(new HTMLWriter(10)) as ClassType
|
| D | TypeLambdaTypeTest.ets | 33 let baseType = Type.of(new Base()) as ClassType 34 let derivedType = Type.of(new Derived()) as ClassType
|
| D | TypeMethodResolveConstructor.ets | 23 const BType = Type.of(new B()) as ClassType 24 const CType = Type.of(new C()) as ClassType
|
| D | TypeInterfaceTypeTest.ets | 76 let ict = (Type.of(new InstanceC()) as ClassType).getInterface(0) 87 let idt = (Type.of(new InstanceD()) as ClassType).getInterface(0)
|
| D | TypeMethodInvokeVirt.ets | 27 const a = Type.resolve('LA;') as ClassType
|
| D | TypeMethodInvokeConstructor.ets | 26 const cType = Type.of(c) as ClassType
|
| D | TypeAssignableFromTest.ets | 52 let it = (Type.of(new AI()) as ClassType).getInterface(0) 81 let ait = Type.of(new AI()) as ClassType 82 let ai23t = Type.of(new AI23()) as ClassType
|
| D | TypeResolve.ets | 30 const iType = Type.resolve('LAHAH;') as ClassType
|
| D | TypeMethodResolveConstructorFew.ets | 24 const TestType = Type.of(new Test()) as ClassType
|
| D | TypeCreateVoidTest.ets | 38 .addBaseType(Type.of(new C()) as ClassType)
|
| D | TypeMethodInvoke.ets | 53 const cType = Type.of(c) as ClassType
|
| D | TypeCreateErasedBodyTest.ets | 47 const c = Type.of(new C()) as ClassType
|
| D | TypeCreateInterfaceTest.ets | 30 const c = Type.of(new C()) as ClassType
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | compiler.cpp | 162 compiler::ClassType PandaRuntimeInterface::GetClassType(ClassPtr klassPtr) const in GetClassType() 165 return compiler::ClassType::UNRESOLVED_CLASS; in GetClassType() 169 return compiler::ClassType::UNRESOLVED_CLASS; in GetClassType() 172 return compiler::ClassType::OBJECT_CLASS; in GetClassType() 175 return compiler::ClassType::INTERFACE_CLASS; in GetClassType() 181 return compiler::ClassType::ARRAY_OBJECT_CLASS; in GetClassType() 184 return compiler::ClassType::FINAL_CLASS; in GetClassType() 186 return compiler::ClassType::ARRAY_CLASS; in GetClassType() 189 return compiler::ClassType::FINAL_CLASS; in GetClassType() 191 return compiler::ClassType::OTHER_CLASS; in GetClassType() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
| D | ets_array.h | 211 template <class ClassType, EtsClassRoot ETS_CLASS_ROOT> 214 using ValueType = ClassType; 222 void Set(uint32_t index, ClassType element) in Set() 226 ClassType Get(uint32_t index) in Get() 228 return GetImpl<ClassType>(index); in Get()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | object_type_propagation.cpp | 92 auto isExact = runtime->GetClassType(method, typeId) == ClassType::FINAL_CLASS; in VisitLoadObject() 141 auto isExact = runtime->GetClassType(klass) == ClassType::FINAL_CLASS; in VisitParameter() 157 auto isExact = runtime->GetClassType(method, typeId) == ClassType::FINAL_CLASS; in ProcessManagedCall()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Object.ets | 98 if (t instanceof ClassType) { 99 let ct = t as ClassType 169 if (t instanceof ClassType) { 231 if (t instanceof ClassType) { 296 if (t instanceof ClassType) {
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | typeChecker.ts | 22 ClassType, 141 let classType = new ClassType(classDeclNode, BuiltinType[className]); 384 let classType = new ClassType(classDeclNode, BuiltinType[className]);
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 32 enum class ClassType { enum
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | runtime_interface.h | 39 enum class ClassType { enum 739 …virtual ClassType GetClassType([[maybe_unused]] MethodPtr method, [[maybe_unused]] IdType id) const in GetClassType() 741 return ClassType::UNRESOLVED_CLASS; in GetClassType() 744 virtual ClassType GetClassType([[maybe_unused]] ClassPtr klassPtr) const in GetClassType() 746 return ClassType::UNRESOLVED_CLASS; in GetClassType()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/ |
| D | Reflect.ets | 47 if (t instanceof ClassType) { 130 if (vt instanceof ClassType) {
|