| /arkcompiler/runtime_core/static_core/cmake/third_party/icu/ |
| D | CMakeLists.txt | 4 ${ICU_ROOT}/icu4c/source/common/unistr_case.cpp 5 ${ICU_ROOT}/icu4c/source/common/loclikely.cpp 6 ${ICU_ROOT}/icu4c/source/common/loclikelysubtags.cpp 7 ${ICU_ROOT}/icu4c/source/common/ustrcase_locale.cpp 8 ${ICU_ROOT}/icu4c/source/common/usprep.cpp 9 ${ICU_ROOT}/icu4c/source/common/uhash_us.cpp 10 ${ICU_ROOT}/icu4c/source/common/ucharstriebuilder.cpp 11 ${ICU_ROOT}/icu4c/source/common/uloc.cpp 12 ${ICU_ROOT}/icu4c/source/common/rbbi.cpp 13 ${ICU_ROOT}/icu4c/source/common/locresdata.cpp [all …]
|
| /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 | 17 "//third_party/icu/icu4c/source/common", 18 "//third_party/icu/icu4c/source/i18n", 19 "//third_party/icu/icu4c/source", 24 include_dirs = [ "//third_party/icu/icu4c/source/common" ] 32 sources = [ "//third_party/icu/icu4c/source/stubdata/stubdata.cpp" ] 52 "//third_party/icu/icu4c/source/common/ubiditransform.cpp", 53 "//third_party/icu/icu4c/source/common/locutil.cpp", 54 "//third_party/icu/icu4c/source/common/cstring.cpp", 55 "//third_party/icu/icu4c/source/common/rbbiscan.cpp", 56 "//third_party/icu/icu4c/source/common/utrie.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", 33 [ "$ark_root/ark-third-party/icu/icu4c/source/stubdata/stubdata.cpp" ] 50 source = "$ark_root/ark-third-party/icu/ohos_icu4j/data/icudt67l.dat" 57 "$ark_root/ark-third-party/icu/icu4c/source/common/ubiditransform.cpp", 58 "$ark_root/ark-third-party/icu/icu4c/source/common/locutil.cpp", 59 "$ark_root/ark-third-party/icu/icu4c/source/common/cstring.cpp", 60 "$ark_root/ark-third-party/icu/icu4c/source/common/rbbiscan.cpp", 61 "$ark_root/ark-third-party/icu/icu4c/source/common/utrie.cpp", [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/ |
| D | BUILD.gn | 18 source = "./api8/bin/linux/js2abc" 19 output = "js_linux/${source}" 25 source = "./api8/bin/win/js2abc.exe" 26 output = "js_win/${source}" 32 source = "./api8/bin/mac/js2abc" 33 output = "js_mac/${source}" 39 source = "./api8/src/index.js" 40 output = "js_linux/${source}" 46 source = "./api8/src/index.js" 47 output = "js_win/${source}" [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | regexp_test.cpp | 105 PandaString source("0{2,1}"); in TEST_F() local 106 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in TEST_F() 115 PandaString source("^[z-a]$"); in TEST_F() local 116 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in TEST_F() 125 PandaString source("\\"); in TEST_F() local 126 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in TEST_F() 135 PandaString source("a**"); in TEST_F() local 136 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in TEST_F() 145 PandaString source("a***"); in TEST_F() local 146 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in TEST_F() [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/ets2panda/checker/ets/ |
| D | conversion.cpp | 25 void Identity(TypeRelation *const relation, Type *const source, Type *const target) in Identity() argument 27 relation->IsIdenticalTo(source, target); in Identity() 30 void WideningPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in WideningPrimitive() argument 32 …ASSERT(source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) && target->HasTypeFlag(TypeFlag::ETS_PRIMITIVE… in WideningPrimitive() 34 WideningConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in WideningPrimitive() 37 void NarrowingPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in NarrowingPrimitive() argument 39 …ASSERT(source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) && target->HasTypeFlag(TypeFlag::ETS_PRIMITIVE… in NarrowingPrimitive() 41 NarrowingConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in NarrowingPrimitive() 44 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive() argument 47 WideningPrimitive(relation, source, tempInt); in WideningNarrowingPrimitive() [all …]
|
| D | conversion.h | 23 void Identity(TypeRelation *relation, Type *source, Type *target); 25 void WideningPrimitive(TypeRelation *relation, Type *source, Type *target); 26 void NarrowingPrimitive(TypeRelation *relation, Type *source, Type *target); 27 void WideningNarrowingPrimitive(TypeRelation *relation, ByteType *source, CharType *target); 29 void WideningReference(TypeRelation *relation, ETSObjectType *source, ETSObjectType *target); 30 void WideningReference(TypeRelation *relation, ETSArrayType *source, ETSObjectType *target); 31 void WideningReference(TypeRelation *relation, ETSArrayType *source, ETSArrayType *target); 33 void NarrowingReference(TypeRelation *relation, ETSObjectType *source, ETSObjectType *target); 34 void NarrowingReference(TypeRelation *relation, ETSObjectType *source, ETSArrayType *target); 35 void NarrowingReference(TypeRelation *relation, ETSArrayType *source, ETSArrayType *target); [all …]
|
| D | unboxingConverter.h | 26 UnboxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source) in UnboxingConverter() argument 27 : TypeConverter(checker, relation, nullptr, source) in UnboxingConverter() 29 if (!source->IsETSObjectType()) { in UnboxingConverter() 34 SetResult(GlobalTypeFromSource(checker, source->AsETSObjectType())); in UnboxingConverter() 35 relation->Result(source != Result()); in UnboxingConverter() 38 UnboxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source, Type *target) in UnboxingConverter() argument 39 : TypeConverter(checker, relation, target, source) in UnboxingConverter() 41 SetResult(Source()); in UnboxingConverter() 43 if (!Source()->IsETSObjectType() || relation->IsTrue()) { in UnboxingConverter() 47 SetResult(GlobalTypeFromSource(checker, source->AsETSObjectType())); in UnboxingConverter()
|
| D | boxingConverter.h | 25 BoxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source) in BoxingConverter() argument 26 : TypeConverter(checker, relation, nullptr, source) in BoxingConverter() 28 if (!source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE)) { in BoxingConverter() 33 SetResult(ETSTypeFromSource(checker, source)); in BoxingConverter() 37 BoxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source, Type *target) in BoxingConverter() argument 38 : TypeConverter(checker, relation, target, source) in BoxingConverter() 44 if (!source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE)) { in BoxingConverter() 49 SetResult(ETSTypeFromSource(checker, source)); in BoxingConverter() 54 static checker::ETSObjectType *ETSTypeFromSource(ETSChecker const *checker, Type const *source);
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ |
| D | typeRelation.cpp | 28 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() argument 35 RelationKey relationKey {source->Id(), target->Id()}; in CacheLookup() 52 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() argument 54 if (source == nullptr || target == nullptr) { in IsIdenticalTo() 58 if (source == target) { in IsIdenticalTo() 62 result_ = CacheLookup(source, target, checker_->IdenticalResults(), RelationType::IDENTICAL); in IsIdenticalTo() 64 checker_->ResolveStructuredTypeMembers(source); in IsIdenticalTo() 67 target->Identical(this, source); in IsIdenticalTo() 68 …checker_->IdenticalResults().cached.insert({{source->Id(), target->Id()}, {result_, RelationType::… in IsIdenticalTo() 74 bool TypeRelation::IsCompatibleTo(Signature *source, Signature *target) in IsCompatibleTo() argument [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 CHECK_NOT_NULL(source); in CacheLookup() 60 RelationKey relationKey {source->Id(), target->Id()}; in CacheLookup() 77 bool TypeRelation::IsIdenticalTo(Type *source, Type *target) in IsIdenticalTo() argument 79 if (source == target) { in IsIdenticalTo() 85 result_ = CacheLookup(source, target, checker_->IdenticalResults(), RelationType::IDENTICAL); in IsIdenticalTo() 87 checker_->ResolveStructuredTypeMembers(source); in IsIdenticalTo() 90 target->Identical(this, source); in IsIdenticalTo() 91 …checker_->IdenticalResults().cached.insert({{source->Id(), target->Id()}, {result_, RelationType::… in IsIdenticalTo() 97 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() argument [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/ |
| D | test-key-named-called-func-bound-value.js | 18 "show source"; 22 "show source"; 26 "show source"; 30 "show source"; 34 "show source"; 38 "show source"; 42 "show source"; 46 "show source"; 50 "show source"; 54 "show source"; [all …]
|
| /arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
| D | regexp_test.cpp | 122 CString source("0{2,1}"); in HWTEST_F_L0() local 123 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 132 CString source("^[z-a]$"); in HWTEST_F_L0() local 133 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 142 CString source("\\"); in HWTEST_F_L0() local 143 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 152 CString source("a**"); in HWTEST_F_L0() local 153 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() 162 CString source("a***"); in HWTEST_F_L0() local 163 … parser.Init(const_cast<char *>(reinterpret_cast<const char *>(source.c_str())), source.size(), 0); in HWTEST_F_L0() [all …]
|
| /arkcompiler/toolchain/build/templates/cxx/ |
| D | prebuilt.gni | 17 assert(defined(invoker.source), "source must be defined for ${target_name}.") 22 _copy_output = "${target_out_dir}/${invoker.source}" 52 source_path = rebase_path(invoker.source, root_build_dir) 76 # Open source license related 80 sources = [ invoker.source ] 86 assert(defined(invoker.source), "source must be defined for ${target_name}.") 91 _copy_output = "${target_out_dir}/${invoker.source}" 124 source_path = rebase_path(invoker.source, root_build_dir) 148 # Open source license related 152 sources = [ invoker.source ] [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_typeduarray.j2 | 22 …ferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one param"); 23 …rayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two params"); 25 failures += check(createArrayFromArray(), "Create Array object from source array"); 26 …failures += check(createArrayFromArrayWithOffset(), "Create Array object from source array with gi… 28 …failures += check(createFilteredArrayFromGiven(), "Create Array object from source array with appl… 37 failures += check(createArray_Set_And_Get(), "Create Array from source data"); 70 const source: {{.item.type}}[] = {{.item.data}}; 73 let ss = new ArrayBuffer(source.length as int * {{.item.primitiveSizeBytes}}); 80 for (let i: int = 0; i < source.length as int; i++) { 82 target.set(i, source[i] as {{.item.type}}); [all …]
|
| D | test_core_typedarray.j2 | 22 …rayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two params"); 23 …msZeroLength(),"Create default empty {{.item.objectType}} from non empty source two params with ze… 26 failures += check(createArrayFromArray(), "Create Array object from source array"); 27 …failures += check(createArrayFromArrayWithOffset(), "Create Array object from source array with gi… 29 …failures += check(createFilteredArrayFromGiven(), "Create Array object from source array with appl… 83 const source: {{.item.primitiveType}}[] = {{.item.data}}; 91 let ss = new ArrayBuffer(source.length as int * {{.item.primitiveSizeBytes}}); 98 for (let i: int = 0; i < source.length as int; i++) { 100 target.set(i, source[i] as {{.item.primitiveType}}); 106 for (let i: int = 0; i < source.length as int; i++) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/ |
| D | ets_class_test.cpp | 33 const char *source = R"( in InSamePackagePrologue() local 38 EtsClass *klass = GetTestClass(source, "LTest;"); in InSamePackagePrologue() 117 const char *source = R"( in TEST_F() local 124 EtsClass *klassA = GetTestClass(source, "LA;"); in TEST_F() 125 EtsClass *klassB = GetTestClass(source, "LB;"); in TEST_F() 126 EtsClass *klassC = GetTestClass(source, "LC;"); in TEST_F() 136 const char *source = R"( in TEST_F() local 141 EtsClass *klassItest = GetTestClass(source, "LITest;"); in TEST_F() 152 const char *source = R"( in TEST_F() local 161 EtsClass *klass = GetTestClass(source, "LA;"); in TEST_F() [all …]
|
| D | ets_field_test.cpp | 71 static void TestFieldMethods(const char *source, const char *className, const char *fieldName, in TestFieldMethods() argument 74 EtsClass *klass = GetTestClass(source, className); in TestFieldMethods() 99 const char *source = R"( in TEST_F() local 109 TestFieldMethods(source, "LBall;", "BALL_RADIUS", "F", true); in TEST_F() 110 TestFieldMethods(source, "LBall;", "BALL_SPEED", "I", true); in TEST_F() 111 TestFieldMethods(source, "LBall;", "vx", "F", false); in TEST_F() 112 TestFieldMethods(source, "LBall;", "vy", "I", false); in TEST_F() 114 source = R"( in TEST_F() 125 TestFieldMethods(source, "LDrawer;", "frameWidth", "I", false); in TEST_F() 126 TestFieldMethods(source, "LDrawer;", "frameHeight", "I", false); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/ |
| D | escompat_Array_find.sts | 46 const source: Object[] = {{.item.copySource}} 53 const src = Array.from<object>(source) 54 let match: Object = source[2] 63 const src = Array.from<object>(source) 73 const src = Array.from<object>(source) 74 let match: Object = source[2] 83 const src = Array.from<object>(source) 95 const src = Array.from<object>(source) 96 let match: Object = source[2] 105 const src = Array.from<object>(source) [all …]
|
| D | escompat_Array_modifications.sts | 39 const source: Object[] = {{.item.copySource}} 46 const array = Array.from<object>(source) 57 if (shifted != source[0] as Object) { 64 if (array.at(i) == source[j]) continue 90 const array = Array.from<object>(source) 101 if (popped != source[length as int] as Object) { 107 if (array.at(i) == source[i]) continue 136 let length = array.push(source[0]) 143 const array = Array.from<object>(source) 148 let test = array.push(source[0]) [all …]
|
| D | escompat_Array_methods.sts | 41 const source: Object[] = {{.item.copySource}} 49 let array: Array<Object> = Array.from<Object>(source) 50 if (array.length != source.length) { 54 for (let i: int = 0; i < source.length; i++) { 55 if (array.at(i) == source[i]) continue 63 const sourceArr = Array.from<object>(source) 65 if (array.length != source.length) { 69 for (let i: int = 0; i < source.length; i++) { 70 if (array.at(i) == source[i]) continue 78 const array = Array.from<object>(source) [all …]
|
| D | escompat_Array_misc.sts | 31 …failures += check((): int => { return testJoinEmpty()}, "Test join(0) method with empty source arr… 54 const source: Object[] = {{.item.copySource}} 61 const array = Array.from<object>(source) 63 if (array.length != source.length) { 69 if (array.includes(source[i])) continue 190 if (array.includes(source[i])) return FAILURE 198 const array = Array.from<object>(source) 199 let result = array.indexOf(source[3]) 208 const array = Array.from<object>(source) 220 let result = array.indexOf(source[3]) [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/ |
| D | checker.cpp | 120 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() argument 122 if (source->TypeFlags() == TypeFlag::UNION) { in IsAllTypesAssignableTo() 123 auto &types = source->AsUnionType()->ConstituentTypes(); in IsAllTypesAssignableTo() 129 return relation_->IsAssignableTo(source, target); in IsAllTypesAssignableTo() 132 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() argument 134 return relation_->IsIdenticalTo(source, target); in IsTypeIdenticalTo() 137 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() argument 140 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo() 147 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() argument 150 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo() [all …]
|