| /arkcompiler/runtime_core/cmake/ark-third-party/icu/ |
| D | CMakeLists.txt | 4 ${ICU_ROOT}/icu4c/source/common 5 ${ICU_ROOT}/icu4c/source/i18n 6 ${ICU_ROOT}/icu4c/source 22 ${ICU_ROOT}/icu4c/source/common/appendable.cpp 23 ${ICU_ROOT}/icu4c/source/common/bmpset.cpp 24 ${ICU_ROOT}/icu4c/source/common/brkeng.cpp 25 ${ICU_ROOT}/icu4c/source/common/brkiter.cpp 26 ${ICU_ROOT}/icu4c/source/common/bytesinkutil.cpp 27 ${ICU_ROOT}/icu4c/source/common/bytestream.cpp 28 ${ICU_ROOT}/icu4c/source/common/bytestrie.cpp [all …]
|
| /arkcompiler/toolchain/build/third_party_gn/icu/icu4c/ |
| D | BUILD.gn | 18 "//third_party/icu/icu4c/source/common", 19 "//third_party/icu/icu4c/source/i18n", 20 "//third_party/icu/icu4c/source", 30 sources = [ "//third_party/icu/icu4c/source/stubdata/stubdata.cpp" ] 47 "//third_party/icu/icu4c/source/common/ubiditransform.cpp", 48 "//third_party/icu/icu4c/source/common/locutil.cpp", 49 "//third_party/icu/icu4c/source/common/cstring.cpp", 50 "//third_party/icu/icu4c/source/common/rbbiscan.cpp", 51 "//third_party/icu/icu4c/source/common/utrie.cpp", 52 "//third_party/icu/icu4c/source/common/cwchar.cpp", [all …]
|
| /arkcompiler/runtime_core/gn/ark-third-party/icu/ |
| D | BUILD.gn | 20 "$ark_root/ark-third-party/icu/icu4c/source/common", 21 "$ark_root/ark-third-party/icu/icu4c/source/i18n", 22 "$ark_root/ark-third-party/icu/icu4c/source", 32 [ "$ark_root/ark-third-party/icu/icu4c/source/stubdata/stubdata.cpp" ] 49 source = "$ark_root/ark-third-party/icu/ohos_icu4j/data/icudt67l.dat" 56 "$ark_root/ark-third-party/icu/icu4c/source/common/ubiditransform.cpp", 57 "$ark_root/ark-third-party/icu/icu4c/source/common/locutil.cpp", 58 "$ark_root/ark-third-party/icu/icu4c/source/common/cstring.cpp", 59 "$ark_root/ark-third-party/icu/icu4c/source/common/rbbiscan.cpp", 60 "$ark_root/ark-third-party/icu/icu4c/source/common/utrie.cpp", [all …]
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | typeRelation.cpp | 22 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() argument 24 if (source->TypeFlags() == TypeFlag::UNION) { in IsAllTypesAssignableTo() 25 auto &types = source->AsUnionType()->ConstituentTypes(); in IsAllTypesAssignableTo() 31 return relation_->IsAssignableTo(source, target); in IsAllTypesAssignableTo() 34 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() argument 36 return relation_->IsIdenticalTo(source, target); in IsTypeIdenticalTo() 39 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() argument 42 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo() 49 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() argument 52 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo() [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/ |
| D | BUILD.gn | 18 source = "./api8/bin/linux/js2abc" 24 source = "./api8/bin/win/js2abc.exe" 30 source = "./api8/bin/mac/js2abc" 36 source = "./api8/src/index.js" 42 source = "./api8/src/index.js" 48 source = "./api8/src/index.js" 54 source = "./api8/package.json" 60 source = "./api8/package.json" 66 source = "./api8/package.json" 72 source = "./api8/package-lock.json" [all …]
|
| /arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
| D | regexp_test.cpp | 110 CString source("0{2,1}"); in HWTEST_F_L0() local 111 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 120 CString source("^[z-a]$"); in HWTEST_F_L0() local 121 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 130 CString source("\\"); in HWTEST_F_L0() local 131 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 140 CString source("a**"); in HWTEST_F_L0() local 141 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 150 CString source("a***"); in HWTEST_F_L0() local 151 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | typeRelation.cpp | 51 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() argument 58 RelationKey relationKey {source->Id(), target->Id()}; in CacheLookup() 75 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() argument 77 if (source == target) { in IsIdenticalTo() 82 result_ = CacheLookup(source, target, checker_->IdenticalResults(), RelationType::IDENTICAL); in IsIdenticalTo() 84 checker_->ResolveStructuredTypeMembers(source); in IsIdenticalTo() 87 target->Identical(this, source); in IsIdenticalTo() 88 …checker_->IdenticalResults().cached.insert({{source->Id(), target->Id()}, {result_, RelationType::… in IsIdenticalTo() 94 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() argument 96 if (source == target) { in IsIdenticalTo() [all …]
|
| D | objectType.cpp | 31 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() argument 32 return SignatureRelatedToSomeSignature(relation, source, &targetCopy); in EachSignatureRelatedToSomeSignature() 114 void ObjectType::AssignProperties(TypeRelation *relation, ObjectType *source) in AssignProperties() argument 121 binder::LocalVariable *found = source->GetProperty(it->Name(), true); in AssignProperties() 155 void ObjectType::AssignSignatures(TypeRelation *relation, ObjectType *source, bool assignCallSignat… in AssignSignatures() argument 159 assignCallSignatures ? source->CallSignatures() : source->ConstructSignatures(); in AssignSignatures() 179 void ObjectType::AssignIndexInfo([[maybe_unused]] TypeRelation *relation, ObjectType *source, bool … in AssignIndexInfo() argument 182 … IndexInfo *sourceInfo = assignNumberInfo ? source->NumberIndexInfo() : source->StringIndexInfo(); in AssignIndexInfo() 190 for (auto *it : source->Properties()) { in AssignIndexInfo() 202 void ObjectType::checkExcessProperties(TypeRelation *relation, ObjectType *source) in checkExcessProperties() argument [all …]
|
| D | arrayType.cpp | 43 void ArrayType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() argument 45 if (source->IsArrayType()) { in AssignmentTarget() 46 relation->IsAssignableTo(source->AsArrayType()->ElementType(), element_); in AssignmentTarget() 47 } else if (source->IsObjectType() && source->AsObjectType()->IsTupleType()) { in AssignmentTarget() 48 ObjectType *sourceObj = source->AsObjectType(); in AssignmentTarget()
|
| D | signature.cpp | 102 void Signature::AssignmentTarget(TypeRelation *relation, Signature *source) in AssignmentTarget() argument 105 (source->Params().size() - source->OptionalArgCount()) > signatureInfo_->params.size()) { in AssignmentTarget() 110 for (size_t i = 0; i < source->Params().size(); i++) { in AssignmentTarget() 116 … relation->IsAssignableTo(source->Params()[i]->TsType(), signatureInfo_->restVar->TsType()); in AssignmentTarget() 125 relation->IsAssignableTo(source->Params()[i]->TsType(), Params()[i]->TsType()); in AssignmentTarget() 132 relation->IsAssignableTo(source->ReturnType(), returnType_); in AssignmentTarget() 134 if (relation->IsTrue() && signatureInfo_->restVar && source->RestVar()) { in AssignmentTarget() 135 relation->IsAssignableTo(source->RestVar()->TsType(), signatureInfo_->restVar->TsType()); in AssignmentTarget()
|
| D | typeRelation.h | 90 bool IsIdenticalTo(Type *source, Type *target); 91 bool IsIdenticalTo(Signature *source, Signature *target); 92 bool IsIdenticalTo(IndexInfo *source, IndexInfo *target); 93 bool IsAssignableTo(Type *source, Type *target); 94 bool IsComparableTo(Type *source, Type *target); 105 RelationResult CacheLookup(const Type *source, const Type *target, const RelationHolder &holder,
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | ir_builder_test.cpp | 48 std::string source = ".function " + curr_type + " main("; in CheckSimple() local 49 source += curr_type + " a0){\n"; in CheckSimple() 51 source += "mov" + inst_type + " v0, a0\n"; in CheckSimple() 52 source += "lda" + inst_type + " v0\n"; in CheckSimple() 54 source += "lda" + inst_type + " a0\n"; in CheckSimple() 56 source += "lda" + inst_type + " a0\n"; in CheckSimple() 57 source += "sta" + inst_type + " v0\n"; in CheckSimple() 58 source += "lda" + inst_type + " v0\n"; in CheckSimple() 62 source += "return" + inst_type + "\n"; in CheckSimple() 63 source += "}"; in CheckSimple() [all …]
|
| D | panda_runner.h | 42 void Parse(std::string_view source) in Parse() argument 46 auto res = parser.Parse(source.data()); in Parse() 59 void Run(std::string_view source) in Run() argument 61 return Run(source, std::vector<std::string> {}); in Run() 64 void Run(std::string_view source, Callback hook) in Run() argument 67 return Run(source, ssize_t(0)); in Run() 70 void Run(std::string_view source, ssize_t expected_result) in Run() argument 73 return Run(source, std::vector<std::string> {}); in Run() 76 void Run(std::string_view source, const std::vector<std::string> &args) in Run() argument 86 Run(CreateRuntime(), source, args); in Run() [all …]
|
| /arkcompiler/runtime_core/cmake/ |
| D | CodeStyle.cmake | 55 get_filename_component(source ${src} ABSOLUTE) 56 file(RELATIVE_PATH src ${PANDA_ROOT} ${source}) 59 add_clang_format(${source} ${src}) 60 add_clang_force_format(${source} ${src}) 62 add_check_concurrency_format(${source} ${src}) 63 add_check_atomic_format(${source} ${src}) 68 get_filename_component(source ${src} ABSOLUTE) 69 file(RELATIVE_PATH src ${PANDA_ROOT} ${source}) 72 add_clang_format(${source} ${src}) 73 add_clang_force_format(${source} ${src}) [all …]
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | common.h | 184 …bool ParseToGraph(const std::string &source, const std::string &func_name, const char *file_name =… 187 auto res = parser.Parse(source, file_name); 434 std::string source = ".function " + curr_type + " main("; in CheckSimple() local 435 source += curr_type + " a0){\n"; in CheckSimple() 437 source += "mov" + inst_type + " v0, a0\n"; in CheckSimple() 438 source += "lda" + inst_type + " v0\n"; in CheckSimple() 440 source += "lda" + inst_type + " a0\n"; in CheckSimple() 442 source += "lda" + inst_type + " a0\n"; in CheckSimple() 443 source += "sta" + inst_type + " v0\n"; in CheckSimple() 444 source += "lda" + inst_type + " v0\n"; in CheckSimple() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
| D | js_pandafile_test.cpp | 57 JSPandaFile *CreateJSPandaFile(const char *source, const CString filename) in CreateJSPandaFile() argument 61 auto res = parser.Parse(source, fn); in CreateJSPandaFile() 73 const char *source = R"( in HWTEST_F_L0() local 77 JSPandaFile *pf = CreateJSPandaFile(source, fileName); in HWTEST_F_L0() 84 const char *source = R"( in HWTEST_F_L0() local 88 JSPandaFile *pf = CreateJSPandaFile(source, fileName); in HWTEST_F_L0() 96 const char *source = R"( in HWTEST_F_L0() local 100 JSPandaFile *pf = CreateJSPandaFile(source, fileName); in HWTEST_F_L0() 108 const char *source = R"( in HWTEST_F_L0() local 114 JSPandaFile *pf = CreateJSPandaFile(source, fileName); in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_frontend/ts2panda/tests/expression/ |
| D | functionExpression.test.ts | 52 let source: string = ` variable 57 let pandaGens = compileAllSnippet(source, passes); 84 let source: string = ` variable 88 let pandaGens = compileAllSnippet(source); 111 let source: string = ` variable 116 let pandaGens = compileAllSnippet(source); 140 let source: string = ` variable 145 let pandaGens = compileAllSnippet(source); 168 let source: string = ` variable 171 let pandaGens = compileAllSnippet(source); [all …]
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | stack_walker_test.cpp | 112 void Run(std::string_view source, Callback hook) in Run() argument 130 auto res = parser.Parse(source.data()); in Run() 239 auto source = R"( in TEST_F() local 282 runner.Run(source, [](uintptr_t lr, [[maybe_unused]] uintptr_t fp) -> int { in TEST_F() 361 auto source = R"( in TestModifyManyVregs() local 447 runner.Run(source, [](uintptr_t lr, [[maybe_unused]] uintptr_t fp) -> int { in TestModifyManyVregs() 517 auto source = R"( in TEST_F() local 568 runner.Run(source, nullptr); in TEST_F() 571 runner.Run(source, nullptr); in TEST_F() 574 runner.Run(source, nullptr); in TEST_F() [all …]
|
| /arkcompiler/ets_runtime/ |
| D | LICENSE | 27 "Source" form shall mean the preferred form for making modifications, 28 including but not limited to software source code, documentation 29 source, and configuration files. 32 transformation or translation of a Source form, including but 36 "Work" shall mean the work of authorship, whether in Source or 41 "Derivative Works" shall mean any work, whether in Source or Object 57 communication on electronic mailing lists, source code control systems, 72 Work and such Derivative Works in Source or Object form. 92 modifications, and in Source or Object form, provided that You 101 (c) You must retain, in the Source form of any Derivative Works [all …]
|
| /arkcompiler/toolchain/ |
| D | LICENSE | 27 "Source" form shall mean the preferred form for making modifications, 28 including but not limited to software source code, documentation 29 source, and configuration files. 32 transformation or translation of a Source form, including but 36 "Work" shall mean the work of authorship, whether in Source or 41 "Derivative Works" shall mean any work, whether in Source or Object 57 communication on electronic mailing lists, source code control systems, 72 Work and such Derivative Works in Source or Object form. 92 modifications, and in Source or Object form, provided that You 101 (c) You must retain, in the Source form of any Derivative Works [all …]
|
| /arkcompiler/toolchain/tooling/base/ |
| D | pt_script.h | 32 …ScriptId scriptId, const std::string &fileName, const std::string &url, const std::string &source); 111 std::string url_ {}; // source file name, such as xx.js 112 std::string hash_ {}; // js source file hash code 113 std::string scriptSource_ {}; // js source code 114 std::string sourceMapUrl_ {}; // source map url 115 int32_t endLine_ {0}; // total line number of source file
|
| /arkcompiler/runtime_core/ |
| D | LICENSE | 27 "Source" form shall mean the preferred form for making modifications, 28 including but not limited to software source code, documentation 29 source, and configuration files. 32 transformation or translation of a Source form, including but 36 "Work" shall mean the work of authorship, whether in Source or 41 "Derivative Works" shall mean any work, whether in Source or Object 57 communication on electronic mailing lists, source code control systems, 72 Work and such Derivative Works in Source or Object form. 92 modifications, and in Source or Object form, provided that You 101 (c) You must retain, in the Source form of any Derivative Works [all …]
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | emitter_test.cpp | 54 auto source = R"( # 1 in TEST() local 65 std::string source_filename = "source.pa"; in TEST() 66 auto res = p.Parse(source, source_filename); in TEST() 192 auto source = R"( in TEST() local 211 std::string source_filename = "source.pa"; in TEST() 212 auto res = p.Parse(source, source_filename); in TEST() 277 auto source = R"( in TEST() local 301 auto res = p.Parse(source); in TEST() 355 auto source = R"( in TEST() local 361 auto res = p.Parse(source); in TEST() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_stable_array_test.cpp | 121 …* @tc.desc: Create a source TaggedArray, set value for the elements of the source TaggedArray, cre… 122 …* through calling CreateArrayFromList function with the source TaggedArray, create a del… 123 …* calling Splice function with the source Array, an EcmaRuntimeCallInfo that set Args fr… 125 * deleted Array and the source Array after change are within expectations. 184 …* @tc.desc: Create a source Array, set value for the elements of the source Array, call the Shift … 185 …* source Array 5 times, check whether the returned JSTaggedValue and the changed source … 221 …* @tc.desc: Create a source Array whose elements are Numbers and an EcmaRuntimeCallInfo, check whe… 222 …* returned through calling Join function with the source Array and the EcmaRuntimeCallIn… 251 …* @tc.desc: Create a source Array whose elements are EcmaStrings and an EcmaRuntimeCallInfo, check… 252 …* EcmaString returned through calling Join function with the source Array and the EcmaRu… [all …]
|
| /arkcompiler/ets_frontend/ |
| D | LICENSE | 27 "Source" form shall mean the preferred form for making modifications, 28 including but not limited to software source code, documentation 29 source, and configuration files. 32 transformation or translation of a Source form, including but 36 "Work" shall mean the work of authorship, whether in Source or 41 "Derivative Works" shall mean any work, whether in Source or Object 57 communication on electronic mailing lists, source code control systems, 72 Work and such Derivative Works in Source or Object form. 92 modifications, and in Source or Object form, provided that You 101 (c) You must retain, in the Source form of any Derivative Works [all …]
|