Home
last modified time | relevance | path

Searched full:source (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/arkcompiler/runtime_core/static_core/cmake/third_party/icu/
DCMakeLists.txt4 ${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/
DCMakeLists.txt4 ${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/
DBUILD.gn17 "//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/
DBUILD.gn20 "$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/
DBUILD.gn18 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/ets_frontend/es2panda/test/compiler/js/language/arguments-object/
Dtest-key-named-called-func-bound-value-expected.txt2 "show source"
6 "show source"
10 "show source"
14 "show source"
18 "show source"
22 "show source"
26 "show source"
30 "show source"
34 "show source"
38 "show source"
[all …]
Dtest-key-named-called-func-bound-value.js18 "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/runtime_core/static_core/runtime/tests/
Dregexp_test.cpp105 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/
DtypeRelation.cpp22 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/
Dconversion.cpp24 void Identity(TypeRelation *const relation, Type *const source, Type *const target) in Identity() argument
26 relation->IsIdenticalTo(source, target); in Identity()
29 void WideningPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in WideningPrimitive() argument
31 …ASSERT(source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) && target->HasTypeFlag(TypeFlag::ETS_PRIMITIVE… in WideningPrimitive()
33 WideningConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in WideningPrimitive()
36 void NarrowingPrimitive(TypeRelation *const relation, Type *const source, Type *const target) in NarrowingPrimitive() argument
38 …ASSERT(source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) && target->HasTypeFlag(TypeFlag::ETS_PRIMITIVE… in NarrowingPrimitive()
40 NarrowingConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in NarrowingPrimitive()
43 void WideningNarrowingPrimitive(TypeRelation *const relation, ByteType *const source, CharType *con… in WideningNarrowingPrimitive() argument
46 WideningPrimitive(relation, source, tempInt); in WideningNarrowingPrimitive()
[all …]
Dconversion.h23 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 …]
DunboxingConverter.h26 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(source->AsETSObjectType()->BuiltInKind())); 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(Source()->AsETSObjectType()->BuiltInKind())); in UnboxingConverter()
DboxingConverter.h25 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/
DtypeRelation.cpp28 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 == target) { in IsIdenticalTo()
59 result_ = CacheLookup(source, target, checker_->IdenticalResults(), RelationType::IDENTICAL); in IsIdenticalTo()
61 checker_->ResolveStructuredTypeMembers(source); in IsIdenticalTo()
64 target->Identical(this, source); in IsIdenticalTo()
65 …checker_->IdenticalResults().cached.insert({{source->Id(), target->Id()}, {result_, RelationType::… in IsIdenticalTo()
71 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo() argument
73 if (source == target) { in IsIdenticalTo()
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeRelation.cpp51 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 …]
/arkcompiler/ets_runtime/ecmascript/regexp/tests/
Dregexp_test.cpp122 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/
Dprebuilt.gni17 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/ets_frontend/ets2panda/checker/
Dchecker.cpp107 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() argument
109 if (source->TypeFlags() == TypeFlag::UNION) { in IsAllTypesAssignableTo()
110 auto &types = source->AsUnionType()->ConstituentTypes(); in IsAllTypesAssignableTo()
116 return relation_->IsAssignableTo(source, target); in IsAllTypesAssignableTo()
119 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() argument
121 return relation_->IsIdenticalTo(source, target); in IsTypeIdenticalTo()
124 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() argument
127 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo()
134 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() argument
137 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typeduarray.j224 …heck(createTAFromEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from empty source");
25 …yBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from empty source one param");
26 …tyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from empty source two params");
28 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
29 …ferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one param");
30 …rayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two params");
32 …neParamWithOffset(),"Create default empty {{.item.objectType}} from non empty source with offset");
33 …ffsetAndSize(),"Create default empty {{.item.objectType}} from non empty source with offset and si…
36 failures += check(createArrayFromArray(), "Create Array object from source array");
37 …failures += check(createArrayFromArrayWithOffset(), "Create Array object from source array with gi…
[all …]
Dtest_core_typedarray.j224 …heck(createTAFromEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from empty source");
25 …yBufferOneParamNoOffset(),"Create default empty {{.item.objectType}} from empty source one param");
26 …tyArrayBufferTwoParams(),"Create default empty {{.item.objectType}} from empty source two params");
28 …eateTAFromNonEmptyArrayBuffer(),"Create default empty {{.item.objectType}} from non empty source");
29 …ferOneParamNoOffset(),"Create default empty {{.item.objectType}} from non empty source one param");
30 …rayBufferTwoParams(),"Create default empty {{.item.objectType}} from non empty source two params");
32 …neParamWithOffset(),"Create default empty {{.item.objectType}} from non empty source with offset");
33 …ffsetAndSize(),"Create default empty {{.item.objectType}} from non empty source with offset and si…
36 failures += check(createArrayFromArray(), "Create Array object from source array");
37 …failures += check(createArrayFromArrayWithOffset(), "Create Array object from source array with gi…
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_class_test.cpp75 const char *source = R"( in TEST_F() local
82 EtsClass *klassA = GetTestClass(source, "LA;"); in TEST_F()
83 EtsClass *klassB = GetTestClass(source, "LB;"); in TEST_F()
84 EtsClass *klassC = GetTestClass(source, "LC;"); in TEST_F()
94 const char *source = R"( in TEST_F() local
99 EtsClass *klassItest = GetTestClass(source, "LITest;"); in TEST_F()
110 const char *source = R"( in TEST_F() local
119 EtsClass *klass = GetTestClass(source, "LA;"); in TEST_F()
125 const char *source = R"( in TEST_F() local
130 EtsClass *klass = GetTestClass(source, "LB;"); in TEST_F()
[all …]
Dets_field_test.cpp71 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/
Descompat_Array.ets58 …failures += check((): int => { return testJoinEmpty()}, "Test join(0) method with empty source arr…
110 const source: Object[] = {{.item.copySource}};
115 let array: Array<Object> = new Array<Object>(source);
126 if(shifted != source[0] as Object) {
133 if(array.at(i) == source[j]) continue;
159 let array: Array<Object> = new Array<Object>(source);
170 if(popped != source[length] as Object) {
176 if(array.at(i) == source[i]) continue;
205 let length: int = array.push(source[0]);
212 let array: Array<Object> = new Array<Object>(source);
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsUnionType.cpp52 bool ETSUnionType::EachTypeRelatedToSomeType(TypeRelation *relation, ETSUnionType *source, ETSUnion… in EachTypeRelatedToSomeType() argument
54 return std::all_of(source->constituentTypes_.begin(), source->constituentTypes_.end(), in EachTypeRelatedToSomeType()
58 bool ETSUnionType::TypeRelatedToSomeType(TypeRelation *relation, Type *source, ETSUnionType *target) in TypeRelatedToSomeType() argument
61 [relation, source](auto *t) { return relation->IsIdenticalTo(source, t); }); in TypeRelatedToSomeType()
103 void ETSUnionType::AssignmentTarget(TypeRelation *relation, Type *source) in AssignmentTarget() argument
107source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) ? checker->PrimitiveTypeAsETSBuiltinType(source) : so… in AssignmentTarget()
109 …constituentTypes_.begin(), constituentTypes_.end(), [checker, relation, source, refSource](Type *c… in AssignmentTarget()
110 … if (ct == refSource && source->HasTypeFlag(TypeFlag::ETS_PRIMITIVE) && ct->IsETSObjectType() && in AssignmentTarget()
123 if (refSource != source) { in AssignmentTarget()
124 relation->IsAssignableTo(source, it); in AssignmentTarget()
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_test.cpp58 std::shared_ptr<JSPandaFile> CreateJSPandaFile(const char *source, const CString filename) in CreateJSPandaFile() argument
62 auto res = parser.Parse(source, fn); in CreateJSPandaFile()
74 const char *source = R"( in HWTEST_F_L0() local
78 std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, fileName); in HWTEST_F_L0()
84 const char *source = R"( in HWTEST_F_L0() local
88 std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, fileName);; in HWTEST_F_L0()
95 const char *source = R"( in HWTEST_F_L0() local
99 std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, fileName);; in HWTEST_F_L0()
106 const char *source = R"( in HWTEST_F_L0() local
112 std::shared_ptr<JSPandaFile> pf = CreateJSPandaFile(source, fileName);; in HWTEST_F_L0()
[all …]

12345678910>>...43