| /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() 117 bool IsAllowedNarrowingReferenceConversion(TypeRelation *const relation, Type *const source, Type *… in IsAllowedNarrowingReferenceConversion() 188 … [[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 | 20 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() 32 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() 37 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() 47 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() 57 bool Checker::IsTypeAssignableTo(Type *source, Type *target) in IsTypeAssignableTo() 62 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeAssignableTo() 72 bool Checker::IsTypeAssignableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeAssignableTo() 82 bool Checker::IsTypeComparableTo(Type *source, Type *target) in IsTypeComparableTo() 87 bool Checker::IsTypeComparableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeComparableTo() 97 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()
|
| /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/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() 86 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 100 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 134 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo() 159 bool TypeRelation::IsCastableTo(Type *const source, Type *const target) in IsCastableTo()
|
| /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/ |
| D | checker.cpp | 107 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() 119 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() 124 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() 134 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() 144 bool Checker::IsTypeAssignableTo(Type *source, Type *target) in IsTypeAssignableTo() 149 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeAssignableTo() 159 bool Checker::IsTypeAssignableTo(Type *source, Type *target, std::initializer_list<TypeErrorMessage… in IsTypeAssignableTo() 169 bool Checker::IsTypeComparableTo(Type *source, Type *target) in IsTypeComparableTo() 174 bool Checker::IsTypeComparableTo(Type *source, Type *target, const std::string &errMsg, in IsTypeComparableTo() 184 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_file_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 | 49 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() 75 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() 96 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() 109 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 122 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 143 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo()
|
| D | objectType.cpp | 28 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() 122 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() 224 void ObjectType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
|
| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | SourceMapMergingUtil.spec.ts | 78 let source: Source; variable 133 let source: Source = new Source('filename1', 'content1'); variable 145 let source: Source = new Source('filename2', 'content2'); variable 159 const source = new Source('example.js', 'console.log("Hello, World!");'); constant 176 const source = new Source('example.js', 'console.log("Hello, World!");'); constant 194 let source: Source = new Source('', null); variable 249 let source: Source = new Source('filename', '// traceSegment'); variable
|
| D | TypeUtils.spec.ts | 109 const source = ` constant 125 const source = ` constant 151 const source = ` constant 169 const source = ` constant
|
| /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/ets/ |
| D | etsStringType.cpp | 22 bool AreStringTypesAssignable(Type *source, Type *target) in AreStringTypesAssignable() 57 void ETSStringType::AssignmentTarget([[maybe_unused]] TypeRelation *relation, Type *source) in AssignmentTarget() 68 void ETSStringType::IsSupertypeOf(TypeRelation *relation, Type *source) in IsSupertypeOf() 78 void ETSStringType::IsSubtypeOf(TypeRelation *relation, Type *source) in IsSubtypeOf()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | std_core_Runtime.cpp | 35 uint8_t StdCoreRuntimeIsSameReference([[maybe_unused]] ObjectHeader *header, EtsObject *source, Ets… in StdCoreRuntimeIsSameReference() 40 EtsInt StdCoreRuntimeGetHashCode([[maybe_unused]] ObjectHeader *header, EtsObject *source) in StdCoreRuntimeGetHashCode() 57 ObjectHeader *StdCoreRuntimeFailedTypeCastException(EtsObject *source, EtsString *target) in StdCoreRuntimeFailedTypeCastException()
|
| /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/ets_frontend/ets2panda/checker/types/ts/ |
| D | objectType.cpp | 30 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() 129 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() 171 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() 195 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() 218 void ObjectType::CheckExcessProperties(TypeRelation *relation, ObjectType *source) in CheckExcessProperties() 233 void ObjectType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
|