Home
last modified time | relevance | path

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

12345678910>>...54

/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.gn22 "//third_party/icu/icu4c/source/common",
23 "//third_party/icu/icu4c/source/i18n",
24 "//third_party/icu/icu4c/source",
29 include_dirs = [ "//third_party/icu/icu4c/source/common" ]
37 sources = [ "//third_party/icu/icu4c/source/stubdata/stubdata.cpp" ]
57 "//third_party/icu/icu4c/source/common/ubiditransform.cpp",
58 "//third_party/icu/icu4c/source/common/locutil.cpp",
59 "//third_party/icu/icu4c/source/common/cstring.cpp",
60 "//third_party/icu/icu4c/source/common/rbbiscan.cpp",
61 "//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/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.cpp20 bool Checker::IsAllTypesAssignableTo(Type *source, Type *target) in IsAllTypesAssignableTo() argument
22 if (source->TypeFlags() == TypeFlag::UNION) { in IsAllTypesAssignableTo()
23 auto &types = source->AsUnionType()->ConstituentTypes(); in IsAllTypesAssignableTo()
29 return relation_->IsAssignableTo(source, target); in IsAllTypesAssignableTo()
32 bool Checker::IsTypeIdenticalTo(Type *source, Type *target) in IsTypeIdenticalTo() argument
34 return relation_->IsIdenticalTo(source, target); in IsTypeIdenticalTo()
37 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, const std::string &errMsg, in IsTypeIdenticalTo() argument
40 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo()
47 bool Checker::IsTypeIdenticalTo(Type *source, Type *target, std::initializer_list<TypeErrorMessageE… in IsTypeIdenticalTo() argument
50 if (!IsTypeIdenticalTo(source, target)) { in IsTypeIdenticalTo()
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/ets/
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 …]
Dconversion.cpp25 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->IsETSPrimitiveType() && target->IsETSPrimitiveType()); 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->IsETSPrimitiveType() && target->IsETSPrimitiveType()); 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 …]
DunboxingConverter.h26 UnboxingConverter(ETSChecker *checker, TypeRelation *relation, Type *source) in UnboxingConverter() argument
27 : TypeConverter(checker, relation, nullptr, source) in UnboxingConverter()
29 if (!source->IsETSUnboxableObject()) { in UnboxingConverter()
34 SetResult(Convert(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()->IsETSUnboxableObject() || relation->IsTrue()) { in UnboxingConverter()
47 SetResult(Convert(checker, source->AsETSObjectType())); 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->IsETSPrimitiveType()) { in BoxingConverter()
33 SetResult(Convert(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->IsETSPrimitiveType()) { in BoxingConverter()
49 SetResult(Convert(checker, source)); in BoxingConverter()
54 static checker::ETSObjectType *Convert(ETSChecker const *checker, Type const *source);
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtypeRelation.cpp49 RelationResult TypeRelation::CacheLookup(const Type *source, const Type *target, const RelationHold… in CacheLookup() argument
56 CHECK_NOT_NULL(source); in CacheLookup()
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()
83 result_ = CacheLookup(source, target, checker_->IdenticalResults(), RelationType::IDENTICAL); in IsIdenticalTo()
85 CHECK_NOT_NULL(source); in IsIdenticalTo()
86 checker_->ResolveStructuredTypeMembers(source); in IsIdenticalTo()
89 target->Identical(this, source); in IsIdenticalTo()
90 …checker_->IdenticalResults().cached.insert({{source->Id(), target->Id()}, {result_, RelationType::… in IsIdenticalTo()
[all …]
/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 == 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/arkguard/test/ut/utils/
DSourceMapMergingUtil.spec.ts21 Source,
33 * // source ts code:
78 let source: Source; variable
82 source = new Source('example.js', 'console.log("Hello, World!");');
96 const sourceMapLink = new SourceMapLink(mappings, [source]);
132 it('segment.length === 1 && source == true', function () {
133 let source: Source = new Source('filename1', 'content1'); variable
139 const sourceMapLink = new SourceMapLink(mappings, [source]);
144 it('segment.length !== 1 && source == true', function () {
145 let source: Source = new Source('filename2', 'content2'); variable
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/language/arguments-object/
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/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/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_typeduarray.j222 failures += check(createArrayFromArray(), "Create Array object from source array");
23 …failures += check(createArrayFromArrayWithOffset(), "Create Array object from source array with gi…
25 …failures += check(createFilteredArrayFromGiven(), "Create Array object from source array with appl…
34 failures += check(createArraySetAndGet(), "Create Array from source data");
53 const source: {{.item.primitiveType}}[] = {{.item.data}};
56 let ss = new ArrayBuffer(source.length as int * {{.item.primitiveSizeBytes}});
63 for (let i: int = 0; i < source.length as int; i++) {
65 target.set(i, source[i] as {{.item.primitiveType}});
71 for (let i: int = 0; i < source.length as int; i++) {
73 if (back != source[i]) {
[all …]
Dtest_core_typedarray.j222 …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…
85 const source: {{.item.primitiveType}}[] = {{.item.data}};
93 let ss = new ArrayBuffer(source.length as int * {{.item.primitiveSizeBytes}});
100 for (let i: int = 0; i < source.length as int; i++) {
102 target.set(i, source[i] as {{.item.primitiveType}});
108 for (let i: int = 0; i < source.length as int; i++) {
[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/escompat/
Descompat_Array_find.sts46 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 …]
Descompat_Array_modifications.sts39 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 …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
Dets_class_file_test.cpp33 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 …]
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/ets_frontend/ets2panda/checker/types/ets/
DetsStringType.cpp22 bool AreStringTypesAssignable(Type *source, Type *target) in AreStringTypesAssignable() argument
25 return source->IsConstantType() && in AreStringTypesAssignable()
26 source->AsETSStringType()->GetValue() == target->AsETSStringType()->GetValue(); in AreStringTypesAssignable()
57 void ETSStringType::AssignmentTarget([[maybe_unused]] TypeRelation *relation, Type *source) in AssignmentTarget() argument
59 relation->Result(source->IsETSStringType() && AreStringTypesAssignable(source, this)); in AssignmentTarget()
68 void ETSStringType::IsSupertypeOf(TypeRelation *relation, Type *source) in IsSupertypeOf() argument
71 Identical(relation, source); in IsSupertypeOf()
75 relation->IsSupertypeOf(checker->GlobalBuiltinETSStringType(), source); in IsSupertypeOf()
78 void ETSStringType::IsSubtypeOf(TypeRelation *relation, Type *source) in IsSubtypeOf() argument
80 if (source->IsConstantType()) { in IsSubtypeOf()
[all …]

12345678910>>...54