| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | conversion.cpp | 25 void Identity(TypeRelation *const relation, Type *const source, Type *const target) in Identity() 30 void WideningPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in WideningPrimitive() 37 void NarrowingPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in NarrowingPrimitive() 44 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive() 54 void WideningReference(TypeRelation *const relation, ETSObjectType *const source, ETSObjectType *co… in WideningReference() 59 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSObjectType *con… in WideningReference() 64 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSArrayType *cons… in WideningReference() 71 …NarrowingReferenceConversionObjectObject(TypeRelation *const relation, ETSObjectType *const source, in IsAllowedNarrowingReferenceConversionObjectObject() 112 bool IsAllowedNarrowingReferenceConversion(TypeRelation *const relation, Type *const source, Type *… in IsAllowedNarrowingReferenceConversion() 183 … [[maybe_unused]] Type *const source, [[maybe_unused]] Type *const target) in IsUncheckedNarrowingReferenceConversion() [all …]
|
| D | boxingConverter.h | 25 BoxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source) in BoxingConverter() 37 BoxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source, Type *target) in BoxingConverter()
|
| D | unboxingConverter.h | 26 UnboxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source) in UnboxingConverter() 38 UnboxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source, Type *target) in UnboxingConverter()
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | typeRelation.cpp | 22 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() 34 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() 39 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() 49 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() 59 bool Checker::IsTypeAssignableTo(Type *source, Type *target) in IsTypeAssignableTo() 64 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeAssignableTo() 74 bool Checker::IsTypeAssignableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeAssignableTo() 84 bool Checker::IsTypeComparableTo(Type *source, Type *target) in IsTypeComparableTo() 89 bool Checker::IsTypeComparableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeComparableTo() 99 bool Checker::IsTypeComparableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeComparableTo() [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | ir_builder_test.cpp | 48 std::string source = ".function " + curr_type + " main("; in CheckSimple() local 87 std::string source = ".function " + curr_type + " main(){\n"; in CheckSimpleWithImm() local 132 std::string source = ".function i32 main("; in CheckCmp() local 164 std::string source = ".function i32 main("; in CheckFloatCmp() local 227 std::string source = ".function void main("; in CheckCondJump() local 294 std::string source = ".function void main("; in CheckCondJumpWithZero() local 331 auto source = R"( in TEST_F() local 368 auto source = R"( in TEST_F() local 405 auto source = R"( in TEST_F() local 433 auto source = R"( in TEST_F() local [all …]
|
| D | panda_runner.h | 42 void Parse(std::string_view source) in Parse() 59 void Run(std::string_view source) in Run() 64 void Run(std::string_view source, Callback hook) in Run() 70 void Run(std::string_view source, ssize_t expected_result) in Run() 76 void Run(std::string_view source, const std::vector<std::string> &args) in Run() 89 void Run(Runtime *runtime, std::string_view source, const std::vector<std::string> &args) in Run()
|
| D | call_input_types_test.cpp | 37 auto source = R"( in TEST_F() local 59 auto source = R"( in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | ir_builder_test.cpp | 59 std::string source = ".function " + currType + " main("; in CheckSimple() local 98 std::string source = ".function " + currType + " main() {\n"; in CheckSimpleWithImm() local 143 std::string source = ".function i32 main("; in CheckCmp() local 175 std::string source = ".function i32 main("; in CheckFloatCmp() local 262 std::string source = ".function void main("; in CheckCondJump() local 315 std::string source = ".function void main("; in CheckCondJumpWithZero() local 357 auto source = R"( in TEST_F() local 394 auto source = R"( in TEST_F() local 427 auto source = R"( in TEST_F() local 455 auto source = R"( in TEST_F() local [all …]
|
| D | inlining_test.cpp | 96 auto source = R"( in TEST_F() local 125 auto source = R"( in TEST_F() local 166 auto source = R"( in TEST_F() local 190 auto source = R"( in TEST_F() local 229 auto source = R"( in TEST_F() local 265 auto source = R"( in TEST_F() local 292 auto source = R"(.function u1 main() { in TEST_F() local 329 auto source = R"(.function u1 main() { in TEST_F() local 384 auto source = R"( in TEST_F() local 416 auto source = R"( in TEST_F() local [all …]
|
| D | panda_runner.h | 48 void Parse(std::string_view source) in Parse() 68 void Run(std::string_view source) in Run() 73 void Run(std::string_view source, Callback hook) in Run() 79 void Run(std::string_view source, ssize_t expectedResult) in Run() 85 void Run(std::string_view source, const std::vector<std::string> &args) in Run() 98 void Run(Runtime *runtime, std::string_view source, const std::vector<std::string> &args) in Run()
|
| D | call_input_types_test.cpp | 37 auto source = R"( in TEST_F() local 59 auto source = R"( in TEST_F() local 78 auto source = R"( in TEST_F() local
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | regexp_test.cpp | 105 PandaString source("0{2,1}"); in TEST_F() local 115 PandaString source("^[z-a]$"); in TEST_F() local 125 PandaString source("\\"); in TEST_F() local 135 PandaString source("a**"); in TEST_F() local 145 PandaString source("a***"); in TEST_F() local 155 PandaString source("a**"); in TEST_F() local 165 PandaString source("a++"); in TEST_F() local 175 PandaString source("a+++"); in TEST_F() local 185 PandaString source("a???"); in TEST_F() local 195 PandaString source("a????"); in TEST_F() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeRelation.cpp | 28 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() 52 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() 74 bool TypeRelation::IsCompatibleTo(Signature *source, Signature *target) in IsCompatibleTo() 87 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 101 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 124 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo() 149 bool TypeRelation::IsCastableTo(Type *const source, Type *const target) in IsCastableTo()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | checker.cpp | 120 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() 132 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() 137 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() 147 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() 157 bool Checker::IsTypeAssignableTo(Type *source, Type *target) in IsTypeAssignableTo() 162 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeAssignableTo() 172 bool Checker::IsTypeAssignableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeAssignableTo() 182 bool Checker::IsTypeComparableTo(Type *source, Type *target) in IsTypeComparableTo() 187 bool Checker::IsTypeComparableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeComparableTo() 197 bool Checker::IsTypeComparableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeComparableTo() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_class_test.cpp | 33 const char *source = R"( in InSamePackagePrologue() local 117 const char *source = R"( in TEST_F() local 136 const char *source = R"( in TEST_F() local 152 const char *source = R"( in TEST_F() local 167 const char *source = R"( in TEST_F() local 182 const char *source = R"( in TEST_F() local 199 const char *source = R"( in TEST_F() local 215 const char *source = R"( in TEST_F() local 239 const char *source = R"( in TEST_F() local 269 const char *source = R"( in TEST_F() local [all …]
|
| D | ets_method_test.cpp | 84 const char *source = R"( in TEST_F() local 125 const char *source = R"( in TEST_F() local 167 const char *source = R"( in TEST_F() local 195 const char *source = R"( in TEST_F() local 234 const char *source = R"( in TEST_F() local 269 const char *source = R"( # line 1 in TEST_F() local 308 const char *source = R"( in TEST_F() local 343 const char *source = R"( in TEST_F() local 378 const char *source = R"( in TEST_F() local 415 const char *source = R"( in TEST_F() local
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | typeRelation.cpp | 51 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() 77 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() 97 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() 110 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 123 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 144 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo()
|
| D | objectType.cpp | 31 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() 125 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() 166 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() 190 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() 213 void ObjectType::checkExcessProperties(TypeRelation *relation, ObjectType *source) in checkExcessProperties() 227 void ObjectType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
|
| /arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
| D | regexp_test.cpp | 122 CString source("0{2,1}"); in HWTEST_F_L0() local 132 CString source("^[z-a]$"); in HWTEST_F_L0() local 142 CString source("\\"); in HWTEST_F_L0() local 152 CString source("a**"); in HWTEST_F_L0() local 162 CString source("a***"); in HWTEST_F_L0() local 172 CString source("a**"); in HWTEST_F_L0() local 182 CString source("a++"); in HWTEST_F_L0() local 192 CString source("a+++"); in HWTEST_F_L0() local 202 CString source("a???"); in HWTEST_F_L0() local 212 CString source("a????"); in HWTEST_F_L0() local [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
| D | irbuilder_test.cpp | 22 auto source = R"( in TEST_F() local 62 auto source = R"( in TEST_F() local 104 auto source = R"( in TEST_F() local
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
| D | objectType.cpp | 30 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() 121 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() 163 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() 187 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() 210 void ObjectType::CheckExcessProperties(TypeRelation *relation, ObjectType *source) in CheckExcessProperties() 225 void ObjectType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
| D | js_pandafile_test.cpp | 58 std::shared_ptr<JSPandaFile> CreateJSPandaFile(const char *source, const CString filename) in CreateJSPandaFile() 74 const char *source = R"( in HWTEST_F_L0() local 84 const char *source = R"( in HWTEST_F_L0() local 95 const char *source = R"( in HWTEST_F_L0() local 106 const char *source = R"( in HWTEST_F_L0() local 122 const char *source = R"( in HWTEST_F_L0() local 156 const char *source = R"( in HWTEST_F_L0() local 207 const char *source = R"( in HWTEST_F_L0() local 241 const char *source = R"( in HWTEST_F_L0() local 275 const char *source = R"( in HWTEST_F_L0() local [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_Runtime.cpp | 34 uint8_t StdCoreRuntimeIsSameReference([[maybe_unused]] ObjectHeader *header, EtsObject *source, Ets… in StdCoreRuntimeIsSameReference() 39 EtsInt StdCoreRuntimeGetHashCode([[maybe_unused]] ObjectHeader *header, EtsObject *source) in StdCoreRuntimeGetHashCode() 61 ObjectHeader *StdCoreRuntimeFailedTypeCastException(EtsObject *source, EtsString *target) in StdCoreRuntimeFailedTypeCastException()
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | assembler_emitter_test.cpp | 64 auto source = R"( variable 98 auto source = R"( # 1 variable 221 auto source = R"( variable 310 auto source = R"( variable 415 auto source = R"( variable 431 auto source = R"( variable 445 auto source = R"( variable 459 auto source = R"( variable 473 auto source = R"( variable 496 auto source = R"( variable [all …]
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | optimize_bytecode_test.cpp | 52 const auto source = R"( variable 108 const auto source = R"( variable 167 const auto source = R"( variable
|