| /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/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
|
| D | aot_test.cpp | 94 auto source = R"( in TEST_F() local 130 auto source = R"( in TEST_F() local 287 auto source = R"( in TEST_F() local 355 auto source = R"( in TEST_F() local 369 auto source = R"( in TEST_F() local 417 auto source = R"( in TEST_F() local 469 auto source = R"( in TEST_F() local 658 auto source = R"( in TEST_F() local 763 auto source = R"( in TEST_F() local 778 auto source = R"( in TEST_F() local
|
| D | unit_test.cpp | 86 std::unique_ptr<const panda_file::File> AsmTest::ParseToFile(const char *source, const char *file_n… in ParseToFile() 99 bool AsmTest::Parse(const char *source, const char *file_name) in Parse()
|
| /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()
|
| D | unionType.cpp | 33 bool UnionType::EachTypeRelatedToSomeType(TypeRelation *relation, UnionType *source, UnionType *tar… in EachTypeRelatedToSomeType() 39 bool UnionType::TypeRelatedToSomeType(TypeRelation *relation, Type *source, UnionType *target) in TypeRelatedToSomeType() 70 void UnionType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget()
|
| /arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
| D | regexp_test.cpp | 110 CString source("0{2,1}"); in HWTEST_F_L0() local 120 CString source("^[z-a]$"); in HWTEST_F_L0() local 130 CString source("\\"); in HWTEST_F_L0() local 140 CString source("a**"); in HWTEST_F_L0() local 150 CString source("a***"); in HWTEST_F_L0() local 160 CString source("a**"); in HWTEST_F_L0() local 170 CString source("a++"); in HWTEST_F_L0() local 180 CString source("a+++"); in HWTEST_F_L0() local 190 CString source("a???"); in HWTEST_F_L0() local 200 CString source("a????"); in HWTEST_F_L0() local [all …]
|
| /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
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
| D | js_pandafile_test.cpp | 57 std::shared_ptr<JSPandaFile> CreateJSPandaFile(const char *source, const CString filename) in CreateJSPandaFile() 73 const char *source = R"( in HWTEST_F_L0() local 83 const char *source = R"( in HWTEST_F_L0() local 94 const char *source = R"( in HWTEST_F_L0() local 105 const char *source = R"( in HWTEST_F_L0() local 121 const char *source = R"( in HWTEST_F_L0() local 155 const char *source = R"( in HWTEST_F_L0() local 206 const char *source = R"( in HWTEST_F_L0() local 240 const char *source = R"( in HWTEST_F_L0() local 274 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 …]
|
| D | emitter_test.cpp | 54 auto source = R"( # 1 in TEST() local 192 auto source = R"( in TEST() local 277 auto source = R"( in TEST() local 355 auto source = R"( in TEST() local 371 auto source = R"( in TEST() local 385 auto source = R"( in TEST() local 399 auto source = R"( in TEST() local 413 auto source = R"( in TEST() local 431 auto source = R"( in TEST() local 458 auto source = R"( in TEST() local [all …]
|
| D | assembler_ins_test.cpp | 41 const auto source = R"( variable 88 const auto source = R"( variable 262 const auto source = R"( variable
|
| D | parser_test.cpp | 1950 std::string source = R"( in TEST() local 1972 std::string source = R"( in TEST() local 1991 std::string source = R"( in TEST() local 2014 std::string source = R"( in TEST() local 2037 std::string source = R"( in TEST() local 2057 std::string source = R"( in TEST() local 2077 std::string source = R"( in TEST() local 2102 std::string source = R"( in TEST() local 2124 std::string source = R"( in TEST() local 2145 std::string source = R"( in TEST() local [all …]
|
| /arkcompiler/ets_frontend/ts2panda/tests/ |
| D | lexenv.test.ts | 66 let source: string = ``; variable 81 let source: string = ` variable 140 let source: string = ` variable 155 let source: string = ` variable 207 let source: string = ` variable 348 let source: string = ` variable 384 let source: string = ` variable 428 let source: string = ` variable
|
| /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
|
| D | runtime_adapter_test.cpp | 28 std::unique_ptr<const panda_file::File> ParseAndEmit(const std::string &source) in ParseAndEmit() 79 auto source = std::string(R"( in TEST() local 118 auto source = std::string(R"( in TEST() local 154 auto source = std::string(R"( in TEST() local 205 auto source = std::string(R"( in TEST() local
|
| D | common.h | 434 std::string source = ".function " + curr_type + " main("; in CheckSimple() local 473 std::string source = ".function " + curr_type + " main(){\n"; in CheckSimpleWithImm() local 517 std::string source = ".function i32 main("; in CheckCmp() local 549 std::string source = ".function i32 main("; in CheckFloatCmp() local 612 std::string source = ".function void main("; in CheckCondJumpWithZero() local 681 std::string source = ".function void main("; in CheckCondJump() local
|
| D | bitops_bitwise_and_test.cpp | 26 auto source = R"( in TEST_F() local
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | importExpression.h | 34 …explicit ImportExpression(Expression *source) : Expression(AstNodeType::IMPORT_EXPRESSION), source… in ImportExpression()
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_script.cpp | 21 …(ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string &source) in PtScript()
|
| /arkcompiler/ets_frontend/es2panda/ir/module/ |
| D | exportAllDeclaration.h | 37 explicit ExportAllDeclaration(StringLiteral *source, Identifier *exported) in ExportAllDeclaration()
|