Home
last modified time | relevance | path

Searched full:base (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/arkcompiler/runtime_core/gn/ark-third-party/securec/
DBUILD.gn18 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/verification/util/
Dshifted_vector.h25 using Base = VECTOR<T>; variable
29 ShiftedVector(typename Base::size_type size) : Base(size) {} in ShiftedVector()
30 typename Base::reference operator[](int idx)
32 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT));
34 typename Base::const_reference &operator[](int idx) const
36 return Base::operator[](static_cast<typename Base::size_type>(idx + SHIFT));
38 typename Base::reference at(int idx) in at()
40 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in at()
42 typename Base::const_reference &at(int idx) const in at()
44 return Base::at(static_cast<typename Base::size_type>(idx + SHIFT)); in at()
[all …]
Dabstract_index.h27 using Base = Index<Int>; variable
39 return Base::IsValid(); in IsValid()
44 …return static_cast<Int>(static_cast<const Base &>(*this)) == static_cast<Int>(static_cast<const Ba…
54 …return static_cast<Int>(static_cast<const Base &>(*this)) < static_cast<Int>(static_cast<const Bas…
59 …return static_cast<Int>(static_cast<const Base &>(*this)) <= static_cast<Int>(static_cast<const Ba…
63 AbstractIndex(Int val) : Base {val} {} in AbstractIndex()
67 Base::operator=(val);
73 Base::Invalidate(); in Invalidate()
78 return Base::operator Int(); in Int()
Dflags.h102 using Base = FlagsForEnum<UInt, Enum, Rest...>; variable
105 typename Base::ConstBit operator[](Enum f) const
108 return {mask, Base::flags_};
110 return Base::operator[](f);
113 typename Base::Bit operator[](Enum f)
116 return {mask, Base::flags_};
118 return Base::operator[](f);
124 if (typename Base::ConstBit {mask, Base::flags_} && !handler(Flag)) { in EnumerateFlags()
127 Base::template EnumerateFlags<Handler>(std::move(handler)); in EnumerateFlags()
131 constexpr static UInt mask = Base::mask << static_cast<UInt>(1);
Denum_tag.h46 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()
Dsaturated_enum.h100 using Base = SaturatedEnum<Enum, Rest...>; variable
105 Base::operator=(e);
122 return Base::value_; in Enum()
134 prev_set = prev_set || (Base::value_ == E); in Check()
138 return Base::Check(e, prev_set); in Check()
143 if (Base::value_ == E) { in Set()
147 Base::operator=(e); in Set()
150 Base::Set(e); in Set()
156 prev_set = prev_set || (Base::value_ == E); in Enumerate()
160 Base::template Enumerate<Handler>(std::move(handler), prev_set); in Enumerate()
/arkcompiler/runtime_core/libpandabase/tests/
Dregmask_test.cpp24 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/compiler/optimizer/ir/
Dinstructions.yaml25 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: BinaryOperation
[all …]
Dinst.h24 #include "ir-dyn-base-types.h"
49 #define INST_DEF(opcode, base, ...) class base; argument
262 #define INST_DEF(OPCODE, BASE, FLAGS) FLAGS, // NOLINT(cppcoreguidelines-macro-usage) in GetFlagsMask() argument
687 * Base class for all instructions, should not be instantiated directly
716 * Base instruction class
737 #define INST_DEF(opcode, base, ...) inline const base *CastTo##opcode() const; argument
742 #define INST_DEF(opcode, base, ...) inline base *CastTo##opcode(); argument
1641 * @tparam T Base instruction class after which this mixin is injected
1665 * @tparam T Base instruction class after which this mixin is injected
2453 using Base = InlinedInstMixin<DynamicInputsInst>; variable
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_number_test.cpp22 #include "ecmascript/base/number_helper.h"
23 #include "ecmascript/base/string_helper.h"
111 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::MAX_VALUE)); in HWTEST_F_L0()
140 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::NAN_VALUE)); in HWTEST_F_L0()
154 ecmaRuntimeCallInfo->SetCallArg(0, JSTaggedValue(base::POSITIVE_INFINITY)); in HWTEST_F_L0()
427 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
430 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
433 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
436 … ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0); in HWTEST_F_L0()
439 …ASSERT_EQ(base::NumberHelper::StringToDouble(sp.begin(), sp.end(), 0, base::IGNORE_TRAILING), 0.4); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dquick_fix_loader.cpp34 LOG_ECMA(ERROR) << "find base jsPandafile failed"; in LoadPatch()
54 LOG_ECMA(ERROR) << "find base jsPandafile failed"; in LoadPatch()
75 LOG_ECMA(ERROR) << "base or patch is not merge abc!"; in LoadPatchInternal()
79 // Get base constpool. in LoadPatchInternal()
83 LOG_ECMA(ERROR) << "base constpool is hole"; in LoadPatchInternal()
244 …// Loop patch methodLiterals and base constpool to find same methodName and recordName both in bas… in ReplaceMethod()
277 // For merge abc, method and record name must be same to base. in ReplaceMethod()
283 // Save base MethodLiteral and literal index. in ReplaceMethod()
284 … MethodLiteral *base = baseFile->FindMethodLiteral(baseMethod->GetMethodId().GetOffset()); in ReplaceMethod() local
285 ASSERT(base != nullptr); in ReplaceMethod()
[all …]
Dquick_fix_loader.h48 …oid InsertBaseClassMethodInfo(uint32_t constpoolIndex, uint32_t literalIndex, MethodLiteral *base);
72 … static bool CheckImportEntriesMismatch(JSThread *thread, JSTaggedValue patch, JSTaggedValue base);
73 …ic bool CheckLocalExportEntriesMismatch(JSThread *thread, JSTaggedValue patch, JSTaggedValue base);
74 …bool CheckIndirectExportEntriesMismatch(JSThread *thread, JSTaggedValue patch, JSTaggedValue base);
75 …tic bool CheckStarExportEntriesMismatch(JSThread *thread, JSTaggedValue patch, JSTaggedValue base);
76 static bool CheckImportEntryMismatch(ImportEntry *patch, ImportEntry *base);
77 static bool CheckLocalExportEntryMismatch(LocalExportEntry *patch, LocalExportEntry *base);
78 …tatic bool CheckIndirectExportEntryMismatch(IndirectExportEntry *patch, IndirectExportEntry *base);
79 static bool CheckStarExportEntryMismatch(StarExportEntry *patch, StarExportEntry *base);
84 // key: base constpool index, value: base methodLiteral.
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_errors.h19 #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 {
Dbuiltins_math.cpp25 using NumberHelper = base::NumberHelper;
26 using RandomGenerator = base::RandomGenerator;
56 double result = base::NAN_VALUE; in Acos()
74 double result = base::NAN_VALUE; in Acosh()
91 double result = base::NAN_VALUE; in Asin()
108 double result = base::NAN_VALUE; in Asinh()
111 result = base::MathHelper::Asinh(value); in Asinh()
126 double result = base::NAN_VALUE; in Atan()
144 double result = base::NAN_VALUE; in Atanh()
146 result = base::MathHelper::Atanh(value); in Atanh()
[all …]
/arkcompiler/runtime_core/verification/value/
Dorigin.h33 using Base = TaggedIndex<OriginTypeTag>; variable
38 Base::SetTag<0>(OriginType::INSTRUCTION); in Origin()
39 Base::SetInt(inst.GetOffset()); in Origin()
44 Base::SetTag<0>(t); in Origin()
45 Base::SetInt(val); in Origin()
50 ASSERT(Base::IsValid()); in AtStart()
51 return Base::GetTag<0>() == OriginType::START; in AtStart()
56 ASSERT(Base::IsValid()); in GetOffset()
57 return static_cast<uint32_t>(Base::GetInt()); in GetOffset()
/arkcompiler/runtime_core/verification/type/
Dtype_index.h29 using Base = TaggedIndex<TypeVarianceTag, TypeNum>; variable
34 Base::SetTag<0>(variance); in TypeParamIdx()
35 Base::SetInt(num); in TypeParamIdx()
40 Base::SetTag<0>(TypeVariance::COVARIANT);
45 Base::SetTag<0>(TypeVariance::CONTRVARIANT);
50 Base::SetTag<0>(TypeVariance::INVARIANT);
55 return Base::GetTag<0>(); in Variance()
/arkcompiler/ets_runtime/ecmascript/mem/
Dmem_controller.h21 #include "ecmascript/base/gc_ring_buffer.h"
139 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer);
140 static double CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer,
166 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedMarkCompacts_;
167 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedNewSpaceAllocations_;
168 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedOldSpaceAllocations_;
169 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedNonmovableSpaceAllocations_;
170 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedCodeSpaceAllocations_;
172 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedConcurrentMarks_;
173 base::GCRingBuffer<BytesAndDuration, LENGTH> recordedSemiConcurrentMarks_;
[all …]
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_parser.cpp134 for (size_t i = 0; i < arkStackMap.size(); i += 2) { // 2:base and derive in IteratorStackMap()
137 uintptr_t base = GetStackSlotAddress(baseInfo, callSiteSp, callsiteFp); in IteratorStackMap() local
139 if (*reinterpret_cast<uintptr_t *>(base) == 0) { in IteratorStackMap()
140 base = derived; in IteratorStackMap()
142 if (*reinterpret_cast<uintptr_t *>(base) != 0) { in IteratorStackMap()
143 // The base address may be marked repeatedly in IteratorStackMap()
144 if (baseSet.find(base) == baseSet.end()) { in IteratorStackMap()
145 baseSet.emplace(base, *reinterpret_cast<uintptr_t *>(base)); in IteratorStackMap()
146 visitor(Root::ROOT_FRAME, ObjectSlot(base)); in IteratorStackMap()
149 if (base != derived) { in IteratorStackMap()
[all …]
/arkcompiler/toolchain/tooling/
DBUILD.gn39 "base/pt_base64.cpp",
40 "base/pt_events.cpp",
41 "base/pt_json.cpp",
42 "base/pt_params.cpp",
43 "base/pt_returns.cpp",
44 "base/pt_script.cpp",
45 "base/pt_types.cpp",
81 "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog_$platform",
90 [ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include" ]
141 [ "//base/hiviewdfx/hilog/interfaces/native/innerkits/include" ]
/arkcompiler/ets_frontend/legacy_bin/api8/
Dmanifest_tag.xml9 …<project name="accessibility" path="base/accessibility" revision="8b7e96589b672c590a65b9ec58241ec0…
10 …<project name="account_os_account" path="base/account/os_account" revision="3fd5f525cdcdaab2b92872…
39 …<project name="base_location" path="base/location" revision="2d7e3e54b6494525f99045982b397c20c47d5…
50 …<project name="commonlibrary_ets_utils" path="base/compileruntime/js_api_module" revision="0a2696c…
63 …<project name="customization_config_policy" path="base/customization/config_policy" revision="fd0c…
64 …<project name="customization_enterprise_device_management" path="base/customization/enterprise_dev…
88 …<project name="distributeddatamgr_pasteboard" path="base/miscservices/pasteboard" revision="e55b9b…
113 …<project name="global_i18n" path="base/global/i18n_standard" revision="32f0c4464d74d3473f79c21bc55…
114 …<project name="global_i18n_lite" path="base/global/i18n_lite" revision="52a5c536040a248705895c8ac3…
115 …<project name="global_resource_management" path="base/global/resmgr_standard" revision="3893c236c0…
[all …]
/arkcompiler/ets_frontend/es2panda/
DCMakeLists.txt74 compiler/base/catchTable.cpp
75 compiler/base/condition.cpp
76 compiler/base/destructuring.cpp
77 compiler/base/hoisting.cpp
78 compiler/base/iterators.cpp
79 compiler/base/lexenv.cpp
80 compiler/base/literals.cpp
81 compiler/base/lreference.cpp
102 ir/base/catchClause.cpp
103 ir/base/classDefinition.cpp
[all …]
/arkcompiler/ets_runtime/test/quickfix/class_mem_var/
Dexpect_output.txt19 print patch str :base
25 print base str :base
26 print base str :base
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/quickfix/multi_file/base/
Dindex.js18 print("base foo()")
28 print("base A onCreate");
32 return "base helloworld";
36 this.a = "base helloworld!"
40 print("base A render ")
/arkcompiler/runtime_core/runtime/mem/gc/stw-gc/
Dstw-gc.h29 …using Base = DefaultGCMarker<StwGCMarker<LANG_TYPE, HAS_VALUE_OBJECT_TYPES>, LANG_TYPE, HAS_VALUE_… variable
32 explicit StwGCMarker(GC *gc) : Base(gc) {} in StwGCMarker()
37 return Base::template MarkIfNotMarked<false>(object); in MarkIfNotMarked()
39 return Base::template MarkIfNotMarked<true>(object); in MarkIfNotMarked()
46 Base::template Mark<false>(object); in Mark()
49 Base::template Mark<true>(object); in Mark()
57 return Base::template IsMarked<false>(object); in IsMarked()
60 return Base::template IsMarked<true>(object); in IsMarked()
/arkcompiler/ets_runtime/ecmascript/
Dframes.h19 #include "ecmascript/base/aligned_struct.h"
170 struct OptimizedFrame : public base::AlignedStruct<base::AlignedPointer::Size(),
171 base::AlignedPointer,
172 base::AlignedPointer,
173 base::AlignedPointer> {
232 struct OptimizedJSFunctionUnfoldArgVFrame : public base::AlignedStruct<base::AlignedPointer::Size(),
233 base::AlignedPointer,
234 base::AlignedPointer,
235 base::AlignedPointer,
236 base::AlignedPointer> {
[all …]

12345678910>>...42