| /arkcompiler/ets_frontend/ets2panda/bindings/src/ |
| D | lsp_helper.ts | 133 const source = this.getFileSource(filePath); constant 153 const source = this.getFileSource(filePath); constant 172 const source = this.getFileSource(filePath); constant 191 const source = this.getFileSource(filePath); constant 210 const source = this.getFileSource(searchFilePath); constant 228 const source = this.getFileSource(filePath); constant 254 const source = this.getFileSource(searchFilePath); constant 272 const source = this.getFileSource(filePath); constant 294 const source = this.getFileSource(filePath); constant 316 const source = this.getFileSource(filePath); constant [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | conversion.cpp | 26 void Identity(TypeRelation *const relation, Type *const source, Type *const target) in Identity() 31 void WideningPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in WideningPrimitive() 38 void NarrowingPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in NarrowingPrimitive() 45 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive() 55 void WideningReference(TypeRelation *const relation, ETSObjectType *const source, ETSObjectType *co… in WideningReference() 60 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSObjectType *con… in WideningReference() 65 void WideningReference(TypeRelation *const relation, ETSArrayType *const source, ETSArrayType *cons… in WideningReference() 72 …NarrowingReferenceConversionObjectObject(TypeRelation *const relation, ETSObjectType *const source, in IsAllowedNarrowingReferenceConversionObjectObject() 111 bool IsAllowedNarrowingReferenceConversion(TypeRelation *const relation, Type *const source, Type *… in IsAllowedNarrowingReferenceConversion() 189 … [[maybe_unused]] Type *const source, [[maybe_unused]] Type *const target) in IsUncheckedNarrowingReferenceConversion() [all …]
|
| D | typeConverter.h | 38 static TargetType *ConvertConstant(SourceType *source, ArenaAllocator *allocator) in ConvertConstant() 63 static Type *ConvertConstantType(Type *source, ArenaAllocator *allocator) in ConvertConstantType() 94 static Type *ConvertConstantTypes(Type *source, Type *target, ArenaAllocator *allocator) in ConvertConstantTypes()
|
| /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/runtime_core/static_core/runtime/tests/ |
| D | regexp_test.cpp | 106 PandaString source = u8"A"; // u8前缀确保UTF-8编码 in TEST_F() local 113 PandaString source = u8"¢"; // u8前缀确保UTF-8编码 in TEST_F() local 120 PandaString source = u8"€"; // u8前缀确保UTF-8编码 in TEST_F() local 127 PandaString source = u8""; // u8前缀确保UTF-8编码 in TEST_F() local 138 PandaString source("0{2,1}"); in TEST_F() local 148 PandaString source("^[z-a]$"); in TEST_F() local 158 PandaString source("\\"); in TEST_F() local 168 PandaString source("a**"); in TEST_F() local 178 PandaString source("a***"); in TEST_F() local 188 PandaString source("a**"); in TEST_F() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeRelation.cpp | 29 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() 56 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() 78 bool TypeRelation::SignatureIsIdenticalTo(Signature *source, Signature *target) in SignatureIsIdenticalTo() 104 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo() 118 bool TypeRelation::IsAssignableTo(Type *source, Type *target) in IsAssignableTo() 159 bool TypeRelation::IsComparableTo(Type *source, Type *target) in IsComparableTo() 186 bool TypeRelation::IsCastableTo(Type *const source, Type *const target) in IsCastableTo() 216 bool TypeRelation::IsLegalBoxedPrimitiveConversion(Type *target, Type *source) in IsLegalBoxedPrimitiveConversion()
|
| /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/ets2panda/checker/ |
| D | checker.cpp | 62 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() 74 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() 79 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const diagnostic::DiagnosticKind &diagK… in IsTypeIdenticalTo() 90 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const diagnostic::DiagnosticKind &diagK… in IsTypeIdenticalTo() 96 bool Checker::IsTypeAssignableTo(Type *source, Type *target) in IsTypeAssignableTo() 101 bool Checker::IsTypeAssignableTo(Type *source, Type *target, const diagnostic::DiagnosticKind &diag… in IsTypeAssignableTo() 111 bool Checker::IsTypeComparableTo(Type *source, Type *target) in IsTypeComparableTo() 116 bool Checker::IsTypeComparableTo(Type *source, Type *target, const diagnostic::DiagnosticKind &diag… in IsTypeComparableTo() 126 bool Checker::AreTypesComparable(Type *source, Type *target) in AreTypesComparable() 131 bool Checker::IsTypeEqualityComparableTo(Type *source, Type *target) in IsTypeEqualityComparableTo()
|
| /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()
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | suggestion_diagnostics_test_1.cpp | 28 const char *source = in TEST_F() local 41 const char *source = in TEST_F() local 54 const char *source = in TEST_F() local 68 const char *source = in TEST_F() local 82 const char *source = in TEST_F() local 95 const char *source = in TEST_F() local 108 const char *source = in TEST_F() local 121 const char *source = in TEST_F() local 134 const char *source = in TEST_F() local 147 const char *source = in TEST_F() local [all …]
|
| D | get_adjusted_location_test.cpp | 48 const char *source = R"( in TEST_F() local 72 const char *source = R"( in TEST_F() local 90 const char *source = R"( in TEST_F() local 116 const char *source = R"( in TEST_F() local 142 const char *source = R"( in TEST_F() local 181 const char *source = R"( in TEST_F() local 220 const char *source = in TEST_F() local 254 const char *source = R"( in TEST_F() local 275 const char *source = R"( in TEST_F() local 296 const char *source = R"( in TEST_F() local [all …]
|
| /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
|
| /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/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsStringType.cpp | 22 bool AreStringTypesAssignable(Type *source, Type *target) in AreStringTypesAssignable() 47 void ETSStringType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() 58 void ETSStringType::IsSupertypeOf(TypeRelation *relation, Type *source) in IsSupertypeOf() 68 void ETSStringType::IsSubtypeOf(TypeRelation *relation, Type *source) in IsSubtypeOf()
|
| D | etsEnumType.cpp | 46 void ETSStringEnumType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() 64 void ETSStringEnumType::CastTarget(TypeRelation *relation, Type *source) in CastTarget() 100 void ETSIntEnumType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() 119 void ETSIntEnumType::CastTarget(TypeRelation *relation, Type *source) in CastTarget()
|
| /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/runtime_core/static_core/runtime/tooling/inspector/types/ |
| D | script_source_response.h | 28 explicit ScriptSourceResponse(std::string_view source) : scriptSource_(source) {} in ScriptSourceResponse() 29 explicit ScriptSourceResponse(std::string &&source) : scriptSource_(std::move(source)) {} in ScriptSourceResponse()
|
| /arkcompiler/toolchain/tooling/static/types/ |
| D | script_source_response.h | 28 explicit ScriptSourceResponse(std::string_view source) : scriptSource_(source) {} in ScriptSourceResponse() 29 explicit ScriptSourceResponse(std::string &&source) : scriptSource_(std::move(source)) {} in ScriptSourceResponse()
|