Home
last modified time | relevance | path

Searched defs:source (Results 1 – 25 of 94) sorted by relevance

1234

/arkcompiler/ets_frontend/ts2panda/tests/expression/
DfunctionExpression.test.ts52 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/
DtypeRelation.cpp22 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/
Dir_builder_test.cpp48 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 …]
Dpanda_runner.h42 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()
Dcall_input_types_test.cpp37 auto source = R"( in TEST_F() local
59 auto source = R"( in TEST_F() local
Daot_test.cpp94 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
Dunit_test.cpp86 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/
DtypeRelation.cpp51 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()
DobjectType.cpp31 …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()
DunionType.cpp33 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/
Dregexp_test.cpp110 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/
DTransformUtil.spec.ts60 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/
Djs_pandafile_test.cpp57 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/
Dassembler_emitter_test.cpp64 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 …]
Demitter_test.cpp54 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 …]
Dassembler_ins_test.cpp41 const auto source = R"( variable
88 const auto source = R"( variable
262 const auto source = R"( variable
Dparser_test.cpp1950 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/
Dlexenv.test.ts66 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/
Doptimize_bytecode_test.cpp52 const auto source = R"( variable
108 const auto source = R"( variable
167 const auto source = R"( variable
Druntime_adapter_test.cpp28 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
Dcommon.h434 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
Dbitops_bitwise_and_test.cpp26 auto source = R"( in TEST_F() local
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DimportExpression.h34 …explicit ImportExpression(Expression *source) : Expression(AstNodeType::IMPORT_EXPRESSION), source… in ImportExpression()
/arkcompiler/toolchain/tooling/base/
Dpt_script.cpp21 …(ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string &source) in PtScript()
/arkcompiler/ets_frontend/es2panda/ir/module/
DexportAllDeclaration.h37 explicit ExportAllDeclaration(StringLiteral *source, Identifier *exported) in ExportAllDeclaration()

1234