/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
D | conversion.cpp | 24 void Identity(TypeRelation *const relation, Type *const source, Type *const target) in Identity() 29 void WideningPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in WideningPrimitive() 36 void NarrowingPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in NarrowingPrimitive() 43 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive() 53 void WideningReference(TypeRelation *const relation, ETSObjectType *const source, ETSObjectType *co… in WideningReference() 58 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSObjectType *con… in WideningReference() 63 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSArrayType *cons… in WideningReference() 70 …NarrowingReferenceConversionObjectObject(TypeRelation *const relation, ETSObjectType *const source, in IsAllowedNarrowingReferenceConversionObjectObject() 111 bool IsAllowedNarrowingReferenceConversion(TypeRelation *const relation, Type *const source, Type *… in IsAllowedNarrowingReferenceConversion() 182 … [[maybe_unused]] Type *const source, [[maybe_unused]] Type *const target) in IsUncheckedNarrowingReferenceConversion() [all …]
|
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()
|
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()
|
/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 238 std::string source = ".function void main("; in CheckCondJump() local 310 std::string source = ".function void main("; in CheckCondJumpWithZero() local 352 auto source = R"( in TEST_F() local 389 auto source = R"( in TEST_F() local 422 auto source = R"( in TEST_F() local 450 auto source = R"( in TEST_F() local [all …]
|
D | inlining_test.cpp | 73 auto source = R"( in TEST_F() local 102 auto source = R"( in TEST_F() local 143 auto source = R"( in TEST_F() local 167 auto source = R"( in TEST_F() local 206 auto source = R"( in TEST_F() local 242 auto source = R"( in TEST_F() local 269 auto source = R"(.function u1 main() { in TEST_F() local 306 auto source = R"(.function u1 main() { in TEST_F() local 361 auto source = R"( in TEST_F() local 393 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/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/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/ets_frontend/ts2panda/tests/expression/ |
D | functionExpression.test.ts | 52 let source: string = ` variable 84 let source: string = ` variable 111 let source: string = ` variable 140 let source: string = ` variable 168 let source: string = ` variable 206 let source: string = ` variable 221 let source: string = ` variable 311 let source: string = ` variable 375 let source: string = `function func(...a,)`; variable
|
/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() 71 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() 84 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 98 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 121 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo() 146 bool TypeRelation::IsCastableTo(Type *const source, Type *const target) in IsCastableTo()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
D | ets_class_test.cpp | 75 const char *source = R"( in TEST_F() local 94 const char *source = R"( in TEST_F() local 110 const char *source = R"( in TEST_F() local 125 const char *source = R"( in TEST_F() local 140 const char *source = R"( in TEST_F() local 157 const char *source = R"( in TEST_F() local 173 const char *source = R"( in TEST_F() local 203 const char *source = R"( in TEST_F() local 233 const char *source = R"( in TEST_F() local 261 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/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/ets_frontend/es2panda/typescript/types/ |
D | typeRelation.cpp | 51 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() 75 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() 94 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() 107 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 120 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 141 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() 114 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() 155 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() 179 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() 202 void ObjectType::checkExcessProperties(TypeRelation *relation, ObjectType *source) in checkExcessProperties() 216 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() 113 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() 155 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() 179 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() 202 void ObjectType::CheckExcessProperties(TypeRelation *relation, ObjectType *source) in CheckExcessProperties() 217 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/assembler/tests/ |
D | assembler_emitter_test.cpp | 64 auto source = R"( variable 98 auto source = R"( # 1 variable 223 auto source = R"( variable 312 auto source = R"( variable 417 auto source = R"( variable 433 auto source = R"( variable 447 auto source = R"( variable 461 auto source = R"( variable 475 auto source = R"( variable 498 auto source = R"( variable [all …]
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
D | std_core_Runtime.cpp | 23 uint8_t StdCoreRuntimeIsSameReference([[maybe_unused]] ObjectHeader *header, EtsObject *source, Ets… in StdCoreRuntimeIsSameReference() 28 EtsInt StdCoreRuntimeGetHashCode([[maybe_unused]] ObjectHeader *header, EtsObject *source) in StdCoreRuntimeGetHashCode()
|
/arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
D | TransformUtil.spec.ts | 60 const source = createSourceFile('demo2.js', fileContent, ScriptTarget.ES2015, true); constant 69 const source = createSourceFile('demo2.js', fileContent, ScriptTarget.ES2015, true); constant
|