| /arkcompiler/ets_runtime/test/quickfix/multiconstpool_multifunc/ |
| D | base.js | 1046 print("base foo") 1050 print("base foo1") 1054 print("base foo2") 1058 print("base foo3") 1062 print("base foo4") 1066 print("base foo5") 1070 print("base foo6") 1074 print("base foo7") 1078 print("base foo8") 1082 print("base foo9") [all …]
|
| /arkcompiler/runtime_core/gn/ark-third-party/securec/ |
| D | BUILD.gn | 18 include_dirs = [ "$ark_third_party_root/utils_native/base/include" ] 22 "$ark_third_party_root/utils_native/base/src/securec/fscanf_s.c", 23 "$ark_third_party_root/utils_native/base/src/securec/fwscanf_s.c", 24 "$ark_third_party_root/utils_native/base/src/securec/gets_s.c", 25 "$ark_third_party_root/utils_native/base/src/securec/memcpy_s.c", 26 "$ark_third_party_root/utils_native/base/src/securec/memmove_s.c", 27 "$ark_third_party_root/utils_native/base/src/securec/memset_s.c", 28 "$ark_third_party_root/utils_native/base/src/securec/scanf_s.c", 29 "$ark_third_party_root/utils_native/base/src/securec/securecutil.c", 30 "$ark_third_party_root/utils_native/base/src/securec/secureinput_a.c", [all …]
|
| /arkcompiler/runtime_core/static_core/gn/third_party/securec/ |
| D | BUILD.gn | 18 include_dirs = [ "$ark_third_party_root/utils_native/base/include" ] 22 "$ark_third_party_root/utils_native/base/src/securec/fscanf_s.c", 23 "$ark_third_party_root/utils_native/base/src/securec/fwscanf_s.c", 24 "$ark_third_party_root/utils_native/base/src/securec/gets_s.c", 25 "$ark_third_party_root/utils_native/base/src/securec/memcpy_s.c", 26 "$ark_third_party_root/utils_native/base/src/securec/memmove_s.c", 27 "$ark_third_party_root/utils_native/base/src/securec/memset_s.c", 28 "$ark_third_party_root/utils_native/base/src/securec/scanf_s.c", 29 "$ark_third_party_root/utils_native/base/src/securec/securecutil.c", 30 "$ark_third_party_root/utils_native/base/src/securec/secureinput_a.c", [all …]
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | shifted_vector.h | 25 using Base = VECTOR<T>; variable 29 explicit ShiftedVector(typename Base::size_type size) : Base(size) {} in ShiftedVector() 30 typename Base::reference operator[](int idx) 33 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); 35 typename Base::const_reference &operator[](int idx) const 38 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT)); 40 typename Base::reference At(int idx) in At() 43 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() 45 typename Base::const_reference &At(int idx) const in At() 48 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in At() [all …]
|
| D | flags.h | 111 using Base = FlagsForEnum<UInt, Enum, REST...>; variable 114 typename Base::ConstBit operator[](Enum f) const 117 return {MASK, Base::flags_}; 119 return Base::operator[](f); 122 typename Base::Bit operator[](Enum f) 125 return {MASK, Base::flags_}; 127 return Base::operator[](f); 133 if (typename Base::ConstBit {MASK, Base::flags_} && !handler(FLAG)) { in EnumerateFlags() 136 Base::template EnumerateFlags<Handler>(std::forward<Handler>(handler)); in EnumerateFlags() 140 constexpr static UInt MASK = Base::MASK << static_cast<UInt>(1);
|
| D | enum_tag.h | 46 using Base = TagForEnumNumerated<I_NUM + 1ULL, Enum, ITEMS...>; variable 49 static constexpr size_t SIZE = Base::SIZE + 1ULL; 56 return Base::GetIndexFor(e); in GetIndexFor() 64 return Base::GetValueFor(tag); in GetValueFor() 70 using Base = TagForEnumNumerated<0ULL, Enum, ITEMS...>; variable 75 static constexpr size_t SIZE = Base::SIZE; 80 return Base::GetIndexFor(e); in GetIndexFor() 85 return Base::GetValueFor(tag); in GetValueFor()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/05.type_parameter_default/generic_classes/ |
| D | class_type_parameter_default.params.yaml | 17 class Base<T = SomeType> {} 18 class Derived extends Base {} 22 class Base<T = SomeType> {} 23 class Derived extends Base<OtherType> {} 27 class Base<T = SomeType> {} 28 class Derived<T = OtherType> extends Base<T> {} 32 class Base<T = SomeType, U = OtherType> {} 33 class Derived extends Base {} 37 class Base<T, U = OtherType> {} 38 class Derived extends Base<SomeType> {} [all …]
|
| D | wrong_class_type_parameter_default.params.yaml | 16 - class Base<T = SomeType, T = OtherType> {} 17 - class Base<T, T = SomeType> {} 18 - class Base<T = SomeType, V> 19 - class Base<T = 5> 20 - class Base<T = true> 21 - class Base<T = "param"> 22 - class Base<T = Base<T>>
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/05.type_parameter_default/generic_interfaces/ |
| D | interface_type_parameter_default.params.yaml | 17 interface Base<T = SomeType> {} 18 class Derived implements Base {} 22 interface Base<T = SomeType> {} 23 class Derived implements Base<OtherType> {} 27 interface Base<T = SomeType> {} 28 class Derived<T = OtherType> implements Base<T> {} 32 interface Base<T = SomeType, U = OtherType> {} 33 class Derived implements Base {} 37 interface Base<T, U = OtherType> {} 38 class Derived implements Base<SomeType> {} [all …]
|
| D | wrong_interface_type_parameter_default.params.yaml | 16 - interface Base<T = SomeType, T = OtherType> {} 17 - interface Base<T, T = SomeType> {} 18 - interface Base<T = SomeType, V> 19 - interface Base<T = 5> 20 - interface Base<T = true> 21 - interface Base<T = "param"> 22 - interface Base<T = Base<T>>
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | regmask_test.cpp | 24 void CompareWithBitset(RegMask mask, BitsetType base) in CompareWithBitset() argument 26 ASSERT_EQ(mask.Count(), base.count()); in CompareWithBitset() 27 if (base.any()) { in CompareWithBitset() 28 ASSERT_EQ(mask.GetMinRegister(), static_cast<uint32_t>(Ctz(base.to_ulong()))); in CompareWithBitset() 29 …ASSERT_EQ(mask.GetMaxRegister(), base.size() - Clz(static_cast<RegMask::ValueType>(base.to_ulong()… in CompareWithBitset() 31 ASSERT_EQ(mask.Size(), base.size()); in CompareWithBitset() 32 ASSERT_EQ(mask.Any(), base.any()); in CompareWithBitset() 33 ASSERT_EQ(mask.None(), base.none()); in CompareWithBitset() 34 for (size_t i = 0; i < base.size(); i++) { in CompareWithBitset() 35 ASSERT_EQ(mask.Test(i), base.test(i)); in CompareWithBitset() [all …]
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | regmask_test.cpp | 24 void CompareWithBitset(RegMask mask, BitsetType base) in CompareWithBitset() argument 26 ASSERT_EQ(mask.Count(), base.count()); in CompareWithBitset() 27 if (base.any()) { in CompareWithBitset() 28 ASSERT_EQ(mask.GetMinRegister(), Ctz(base.to_ulong())); in CompareWithBitset() 29 …ASSERT_EQ(mask.GetMaxRegister(), base.size() - Clz(static_cast<RegMask::ValueType>(base.to_ulong()… in CompareWithBitset() 31 ASSERT_EQ(mask.Size(), base.size()); in CompareWithBitset() 32 ASSERT_EQ(mask.Any(), base.any()); in CompareWithBitset() 33 ASSERT_EQ(mask.None(), base.none()); in CompareWithBitset() 34 for (size_t i = 0; i < base.size(); i++) { in CompareWithBitset() 35 ASSERT_EQ(mask.Test(i), base.test(i)); in CompareWithBitset() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/utils/ |
| D | ref_vector.h | 24 // nullptr. As time goes by, the others, even the owner may forget it. Or with more coding base on … 75 explicit ref_vector(const allocator_type &alloc) noexcept : base(alloc) {} 82 // The pointer is stored in the base, and the Iter owns objects instead of their pointers. 86 ref_vector(const ref_vector &other) : base(other.base) {} 88 ref_vector(const ref_vector &other, const allocator_type &alloc) : base(other.base, alloc) {} 90 ref_vector(ref_vector &&other) noexcept : base(std::move(other)) {} 92 …ref_vector(ref_vector &&other, const allocator_type &alloc) noexcept : base(std::move(other), allo… 100 base = other.base; 106 base = std::move(other); 113 // The pointer is stored in the base, and the Iter owns objects instead of their pointers. [all …]
|
| D | iterator.h | 61 mpl_iterator(const mpl_iterator<U, Container> &iter) : iter(iter.base()) in mpl_iterator() 116 Iterator base() const noexcept in base() function 128 return lhs.base() == rhs.base(); 134 return lhs.base() == rhs.base(); 152 return lhs.base() < rhs.base(); 158 return lhs.base() < rhs.base(); 164 return lhs.base() <= rhs.base(); 170 return lhs.base() <= rhs.base(); 176 return lhs.base() > rhs.base(); 182 return lhs.base() > rhs.base(); [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 25 base 26 …C++ base that represent this opcode. In far future if we managed to generate also instruction clas… 55 base: UnaryOperation 63 base: UnaryOperation 71 base: UnaryOperation 79 base: UnaryOperation 87 base: BinaryOperation 95 base: BinaryOperation 103 base: BinaryOperation 111 base: FixedInputsInst3 [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/ |
| D | safe_ptr.h | 31 using Base = Ptr<T, AssertNotNull<T>>; variable 34 using pointer = typename Base::Pointer; 35 using ElementType = typename Base::ElementType; 41 SafePtr(pointer ptr) : base(ptr) {} in SafePtr() 43 SafePtr(T &ref) : base(ref, CheckNothing<T>) {} in SafePtr() 48 SafePtr(U *ptr) : base(ptr) in SafePtr() 53 SafePtr(U &ref) : base(ref, CheckNothing<T>) in SafePtr() 60 SafePtr(const SafePtr &other) : base(other.base) {} in SafePtr() 62 SafePtr(SafePtr &&other) noexcept : base(std::move(other.base)) {} in SafePtr() 65 explicit SafePtr(const SafePtr<U> &other) : base(other.get(), CheckNothing<T>) in SafePtr() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | TypeAssignableFromTest.ets | 116 class Base {} 118 class Derived extends Base {} 121 let foo: () => Base = () : Base => { return new Base() } 122 let foo1: (p: Base) => Base = (p: Base): Base => { return new Base()} 123 let foo2: (p: Base) => Derived = (p: Base): Derived => { return new Derived() } 124 let foo3: (p: Derived) => Base = (p: Derived): Base => { return new Base()} 131 return test(f1t.assignableFrom(f2t), "(Base) -> Base <- (Base) -> Derived") + 132 test(!f2t.assignableFrom(f1t), "(Base) -> Derived <\\- (Base) -> Base") + 133 test(f3t.assignableFrom(f2t), "(Derived) -> Base <- (Base) -> Derived") + 134 test(!f1t.assignableFrom(f4t), "(Base) -> Base <\\- (Derived) -> Derived") + [all …]
|
| D | TypeLambdaTypeTest.ets | 25 class Base {} 27 class Derived extends Base {} 30 let foo: () => Base = () : Base => { return new Base() } 31 let foo2: (p: Base) => Derived = (p: Base): Derived => { return new Derived() } 33 let baseType = Type.of(new Base()) as ClassType 40 test(fooType.getResultType() == baseType, " Base result type") + 42 test(foo2Type.getParameter(0).getType() == baseType," base type param") +
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_number_test.cpp | 21 #include "ecmascript/base/number_helper.h" 22 #include "ecmascript/base/string_helper.h" 110 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0() 139 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0() 153 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::POSITIVE_INFINITY)); in HWTEST_F_L0() 499 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0() 502 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0() 505 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0() 508 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0() 511 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0.4); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/05.type_parameter_default/generic_methods/ |
| D | method_type_parameter_default.params.yaml | 17 class Base { foo<T = SomeType>(): Consumer<T> { return new Consumer<T>() } } 19 new Base().foo().accept(new SomeType()) 21 …class Base { foo<T = SomeType, U = OtherType>(): BiConsumer<T, U> { return new BiConsumer<T, U>() … 23 new Base().foo().accept(new SomeType(), new OtherType()) 25 …class Base { foo<T = SomeType, U = OtherType>(): BiConsumer<T, U> { return new BiConsumer<T, U>() … 27 new Base().foo().accept(new OtherType(), new SomeType()) 29 class Base { foo<T, U = SomeType>(): BiConsumer<T, U> { return new BiConsumer<T, U>() } } 31 new Base().foo().accept(new SomeType(), new SomeType()) 33 class Base { foo<T, U = T[]>(): BiConsumer<T, U> { return new BiConsumer<T, U>() } } 35 new Base().foo().accept(new SomeType(), [new SomeType()])
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_errors.h | 19 #include "ecmascript/base/builtins_base.h" 23 class BuiltinsError : public base::BuiltinsBase { 32 class BuiltinsRangeError : public base::BuiltinsBase { 40 class BuiltinsReferenceError : public base::BuiltinsBase { 48 class BuiltinsTypeError : public base::BuiltinsBase { 58 class BuiltinsURIError : public base::BuiltinsBase { 66 class BuiltinsSyntaxError : public base::BuiltinsBase { 74 class BuiltinsEvalError : public base::BuiltinsBase { 82 class BuiltinsAggregateError : public base::BuiltinsBase { 89 class BuiltinsOOMError : public base::BuiltinsBase { [all …]
|
| /arkcompiler/runtime_core/static_core/verification/value/ |
| D | origin.h | 34 using Base = TaggedIndex<OriginTypeTag>; variable 39 Base::SetTag<0>(OriginType::INSTRUCTION); in Origin() 40 Base::SetInt(inst.GetOffset()); in Origin() 45 Base::SetTag<0>(t); in Origin() 46 Base::SetInt(val); in Origin() 51 ASSERT(Base::IsValid()); in AtStart() 52 return Base::GetTag<0>() == OriginType::START; in AtStart() 57 ASSERT(Base::IsValid()); in GetOffset() 58 return static_cast<uint32_t>(Base::GetInt()); in GetOffset()
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/classes/ |
| D | test-ts-classes-24.ts | 17 class Base { class 35 let base = new Base(); variable 37 print(Base.a.v); 38 print(new Base.aa().v); 39 print(base.aaa.v); 40 print(new base.aaaa().v);
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | invalidPrivateAccess5.ets | 17 class Base { 21 class Derived extends Base { 23 let base: Base = new Base(); 24 base.a();
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 25 base 26 …C++ base that represent this opcode. In far future if we managed to generate also instruction clas… 52 base: CompareInst 58 base: CmpInst 64 base: CompareAnyTypeInst 70 base: CastAnyTypeValueInst 76 base: CastValueToAnyTypeInst 82 base: ConstantInst 90 base: ParameterInst 98 base: LoadFromPool [all …]
|