/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | assignAnalyzer.h | 30 class Set { class 32 Set() = default; 33 ~Set() = default; 35 DEFAULT_COPY_SEMANTIC(Set); 36 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(Set); 45 Set &AndSet(const Set &xs); 46 Set &OrSet(const Set &xs); 47 Set [all...] |
H A D | assignAnalyzer.cpp | 102 void Set::Reset() in Reset() 107 bool Set::IsReset() in IsReset() 112 void Set::Incl(const int id) in Incl() 117 void Set::InclRange(const int start, const int limit) in InclRange() 124 void Set::Excl(const int id) in Excl() 129 void Set::ExcludeFrom(const int start) in ExcludeFrom() 135 bool Set::IsMember(const int id) const in IsMember() 140 Set &Set::AndSet(const Set [all...] |
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | set_operations_property_test.cpp | 49 using Set = std::set<int>; 65 Set result = ToSet<Set>(vec); in RC_GTEST_PROP() 72 RC_GTEST_PROP(OperationsOverSets1, Intersection, (Set && set1, Set &&set2)) in RC_GTEST_PROP() 74 Set result; in RC_GTEST_PROP() 88 RC_GTEST_PROP(OperationsOverSets1, Union, (Set && set1, Set &&set2)) in RC_GTEST_PROP() 90 Set result; in RC_GTEST_PROP() 102 RC_GTEST_PROP(OperationsOverSets1, Difference, (Set in RC_GTEST_PROP() [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/chapters_test/ |
H A D | chapters_test.py | 19 from typing import List, Set namespace 55 expected: Set[str] = { 72 expected: Set[str] = { 89 expected: Set[str] = { 105 expected: Set[str] = { 117 expected: Set[str] = { 130 expected: Set[str] = { 143 expected: Set[str] = { 165 expected: Set[str] = set() 175 expected: Set[st [all...] |
/arkcompiler/runtime_core/static_core/runtime/interpreter/ |
H A D | vregister.h | 85 ALWAYS_INLINE inline void Set(int32_t value) in Set() function in ark::interpreter::VRegisterIface 90 ALWAYS_INLINE inline void Set(uint32_t value) in Set() function in ark::interpreter::VRegisterIface 95 ALWAYS_INLINE inline void Set(int64_t value) in Set() function in ark::interpreter::VRegisterIface 100 ALWAYS_INLINE inline void Set(uint64_t value) in Set() function in ark::interpreter::VRegisterIface 106 ALWAYS_INLINE inline void Set(float value) in Set() function in ark::interpreter::VRegisterIface 112 ALWAYS_INLINE inline void Set(double value) in Set() function in ark::interpreter::VRegisterIface 118 ALWAYS_INLINE inline void Set(ObjectHeader *value) in Set() function in ark::interpreter::VRegisterIface 289 ALWAYS_INLINE inline void Set(int32_t value) in Set() function in ark::interpreter::VRegisterRef 291 payload_->Set(value); in Set() 294 ALWAYS_INLINE inline void Set(uint32_ function in ark::interpreter::VRegisterRef 299 ALWAYS_INLINE inline void Set(int64_t value) Set() function in ark::interpreter::VRegisterRef 304 ALWAYS_INLINE inline void Set(uint64_t value) Set() function in ark::interpreter::VRegisterRef 309 ALWAYS_INLINE inline void Set(float value) Set() function in ark::interpreter::VRegisterRef 314 ALWAYS_INLINE inline void Set(double value) Set() function in ark::interpreter::VRegisterRef 319 ALWAYS_INLINE inline void Set(ObjectHeader *value) Set() function in ark::interpreter::VRegisterRef [all...] |
H A D | acc_vregister-inl.h | 149 this->payload_->Set(value); in SetPrimitive() 157 this->payload_->Set(value); in SetPrimitive() 165 this->payload_->Set(value); in SetPrimitive() 173 this->payload_->Set(value); in SetPrimitive() 181 this->payload_->Set(value); in SetPrimitive() 189 this->payload_->Set(obj); in SetReference()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | encode_bit.h | 67 RegionIndexBits::Set<uint64_t>(region_index, &value_); in SetRegionIndex() 72 ObjectOffsetInRegionBits::Set<uint64_t>(object_offset, &value_); in SetObjectOffsetInRegion() 77 ObjectToStringBits::Set<uint64_t>(flag, &value_); in SetReferenceToString() 87 ObjectTypeBits::Set<uint64_t>(object_type, &value_); in SetObjectType() 127 ObjectSpecialBits::Set<uint64_t>(true, &value_); in SetObjectSpecial() 137 GlobalConstOrBuiltinsBits::Set<uint64_t>(true, &value_); in SetGlobalConstOrBuiltins() 147 TSWeakObjectBits::Set<uint64_t>(true, &value_); in SetTSWeakObject() 155 ObjectOffsetInRegionBits::Set<uint64_t>(index >> REGION_INDEX_BIT_NUMBER, &value_); in SetNativePointerOrObjectIndex() 156 RegionIndexBits::Set<uint64_t>(index & Constants::REGION_INDEX_MASK, &value_); in SetNativePointerOrObjectIndex() 161 ObjectSpecialBits::Set<uint64_ in ClearObjectSpecialFlag() [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | ic_handler.h | 115 SSharedBit::Set<Type>(false, &handler); in ClearSharedStoreKind() 125 SOutOfBoundsBit::Set<Type>(false, &handler); in ClearStoreOutOfBounds() 206 KindBit::Set<uint64_t>(HandlerKind::NON_EXIST, &handler); in LoadProperty() 216 AccessorBit::Set<uint64_t>(hasAccessor, &handler); in LoadProperty() 226 KindBit::Set<uint64_t>(HandlerKind::STRING_LENGTH, &handler); in LoadProperty() 228 KindBit::Set<uint64_t>(HandlerKind::STRING, &handler); in LoadProperty() 231 KindBit::Set<uint64_t>(HandlerKind::NUMBER, &handler); in LoadProperty() 233 KindBit::Set<uint64_t>(HandlerKind::FIELD, &handler); in LoadProperty() 238 InlinedPropsBit::Set<uint64_t>(true, &handler); in LoadProperty() 241 OffsetBit::Set<uint64_ in LoadProperty() [all...] |
H A D | profile_type_info.cpp | 54 newArr->Set(thread_, i, arr->Get(i)); in AddWithoutKeyPoly() 55 newArr->Set(thread_, i + 1, arr->Get(i + 1)); in AddWithoutKeyPoly() 57 newArr->Set(thread_, i, GetWeakRef(hclass.GetTaggedValue())); in AddWithoutKeyPoly() 58 newArr->Set(thread_, i + 1, handler.GetTaggedValue()); in AddWithoutKeyPoly() 85 newArr->Set(thread_, arrIndex++, profileTypeInfo_->GetIcSlot(index)); in AddHandlerWithoutKey() 86 newArr->Set(thread_, arrIndex++, profileTypeInfo_->GetIcSlot(index + 1)); in AddHandlerWithoutKey() 87 newArr->Set(thread_, arrIndex++, GetWeakRef(hclass.GetTaggedValue())); in AddHandlerWithoutKey() 88 newArr->Set(thread_, arrIndex, handler.GetTaggedValue()); in AddHandlerWithoutKey() 107 newArr->Set(thread_, 0, GetWeakRef(hclass.GetTaggedValue())); in AddHandlerWithKey() 108 newArr->Set(thread in AddHandlerWithKey() [all...] |
H A D | invoke_cache.cpp | 31 profileTypeInfo->Set(thread, slotId, newTarget); in SetMonoConstuctCacheSlot() 32 profileTypeInfo->Set(thread, slotId + 1, initialHClass); in SetMonoConstuctCacheSlot() 54 newArray->Set(thread, index * step, newTargetArr->Get(index)); in SetPolyConstuctCacheSlot() 55 newArray->Set(thread, index * step + 1, initialHClassArr->Get(index)); in SetPolyConstuctCacheSlot() 58 profileTypeInfoArr->Set(thread, slotId, newArray); in SetPolyConstuctCacheSlot() 59 profileTypeInfoArr->Set(thread, slotId + 1, JSTaggedValue::Hole()); in SetPolyConstuctCacheSlot() 128 profileTypeInfo->Set(thread, slotId, callee); in SetMonoInlineCallCacheSlot() 132 profileTypeInfo->Set(thread, slotId, JSTaggedValue::Hole()); in SetMonoInlineCallCacheSlot() 151 newArray->Set(thread, index, calleeElement); in SetPolyInlineCallCacheSlot() 153 newArray->Set(threa in SetPolyInlineCallCacheSlot() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | property_attributes.h | 180 AttributesField::Set<uint64_t>(DefaultAttributesField::Mask(), &value_); in SetDefaultAttributes() 216 AttributesField::Set<uint64_t>(0U, &value_); in SetNoneAttributes() 226 WritableField::Set<uint64_t>(flag, &value_); in SetWritable() 234 EnumerableField::Set<uint64_t>(flag, &value_); in SetEnumerable() 242 ConfigurableField::Set<uint64_t>(flag, &value_); in SetConfigurable() 251 IsAccessorField::Set<uint64_t>(flag, &value_); in SetIsAccessor() 261 IsInlinedPropsField::Set<uint64_t>(flag, &value_); in SetIsInlinedProps() 271 IsConstPropsField::Set<uint64_t>(flag, &value_); in SetIsConstProps() 281 IsNotHoleField::Set<uint64_t>(flag, &value_); in SetIsNotHole() 308 RepresentationField::Set<uint64_ in SetRepresentation() [all...] |
H A D | tagged_queue.h | 40 Set(thread, start, JSTaggedValue::Hole()); in Pop() 56 newQueue->Set(thread, 0, value.GetTaggedValue()); in Push() 79 newQueue->Set(thread, newEnd, queue->Get(i)); in Push() 85 newQueue->Set(thread, newEnd++, value.GetTaggedValue()); in Push() 89 queue->Set(thread, end, value.GetTaggedValue()); in Push() 101 queue->Set(thread, end, value.GetTaggedValue()); in PushFixedQueue() 143 inline void Set(const JSThread *thread, uint32_t index, JSTaggedValue value) in Set() function in panda::ecmascript::TaggedQueue 145 return TaggedArray::Set(thread, QueueToArrayIndex(index), value); in Set() 165 TaggedArray::Set(thread, CAPACITY_INDEX, capacity); in SetCapacity() 175 TaggedArray::Set(threa in SetStart() [all...] |
H A D | js_thread_stub_entries.h | 38 void Set(size_t index, Address addr) in Set() function 64 void Set(size_t index, Address addr) 85 void Set(size_t index, Address addr) 107 void Set(size_t index, Address addr) 136 void Set(size_t index, Address addr) 156 void Set(size_t index, Address addr)
|
/arkcompiler/toolchain/tooling/test/testcases/js/ |
H A D | watch_variable.js | 33 var set0 = new Set(); 52 var set1 = new Set(); 54 var set2 = new Set(string0); 55 var set3 = new Set(); 57 var set4 = new Set(undefined0); 58 var set5 = new Set(array0); 59 var set6 = new Set(); 60 var set7 = new Set(); 61 var set8 = new Set(); 63 var set9 = new Set(); [all...] |
H A D | variable_first.js | 29 var set0 = new Set(); 49 var set1 = new Set(); 51 var set2 = new Set(string0); 52 var set3 = new Set(); 54 var set4 = new Set(undefined0); 55 var set5 = new Set(array0); 56 var set6 = new Set(); 57 var set7 = new Set(); 58 var set8 = new Set(); 60 var set9 = new Set(); [all...] |
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | i2c_bridge_test.cpp | 479 frame->GetVReg(1).Set(5U); in TEST_F() 496 frame->GetVReg(1).Set(0); in TEST_F() 520 frameHandler.GetVReg(1).Set(5U); in TEST_F() 537 frameHandler.GetVReg(1).Set(0); in TEST_F() 559 frameHandler.GetVReg(1).Set(5U); in TEST_F() 576 frameHandler.GetVReg(1).Set(0); in TEST_F() 597 frameHandler.GetVReg(0).Set(2U); in TEST_F() 598 frameHandler.GetVReg(1).Set(5U); in TEST_F() 616 frameHandler.GetVReg(1).Set(0); in TEST_F() 639 frameHandler.GetVReg(0U).Set( in TEST_F() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_shared_typedarray_test.cpp | 58 array->Set(thread, 0, val0); in HWTEST_F_L0() 59 array->Set(thread, 1, val1); in HWTEST_F_L0() 81 array->Set(thread, 0, val0); in HWTEST_F_L0() 82 array->Set(thread, 1, val1); in HWTEST_F_L0() 106 array->Set(thread, 0, val0); in HWTEST_F_L0() 107 array->Set(thread, 1, val1); in HWTEST_F_L0() 129 array->Set(thread, 0, val0); in HWTEST_F_L0() 130 array->Set(thread, 1, val1); in HWTEST_F_L0() 152 array->Set(thread, 0, val0); in HWTEST_F_L0() 153 array->Set(threa in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | tagged_array_test.cpp | 59 taggedArray->Set(thread, 0, newObj1); in HWTEST_F_L0() 60 taggedArray->Set(thread, 1, objValue); in HWTEST_F_L0() 83 taggedArray1->Set(thread, 0, newObj1); in HWTEST_F_L0() 84 taggedArray1->Set(thread, 1, JSHandle<JSTaggedValue>(thread, JSTaggedValue::Undefined())); in HWTEST_F_L0() 85 taggedArray2->Set(thread, 0, objValue); in HWTEST_F_L0() 86 taggedArray2->Set(thread, 1, JSTaggedValue::Undefined()); in HWTEST_F_L0() 106 taggedArray1->Set(thread, 0, newObj1); in HWTEST_F_L0() 107 taggedArray1->Set(thread, 1, newObj1.GetTaggedValue()); in HWTEST_F_L0() 108 taggedArray1->Set(thread, 2, JSHandle<JSTaggedValue>(thread, JSTaggedValue::Undefined())); in HWTEST_F_L0() 109 taggedArray2->Set(threa in HWTEST_F_L0() [all...] |
H A D | js_iterator_test.cpp | 41 data->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 42 data->Set(thread, 1, JSTaggedValue(1)); in HWTEST_F_L0() 56 data->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 68 data->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 69 data->Set(thread, 1, JSTaggedValue(1)); in HWTEST_F_L0() 85 data->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 86 data->Set(thread, 1, JSTaggedValue(1)); in HWTEST_F_L0() 87 data->Set(thread, 2, JSTaggedValue(1)); in HWTEST_F_L0() 99 data->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 100 data->Set(threa in HWTEST_F_L0() [all...] |
H A D | js_verification_test.cpp | 76 newArray->Set(thread, 0, oldArray); in HWTEST_F_L0() 95 newArray->Set<false>(thread, 0, thread->GlobalConstants()->GetFunctionNameAccessor()); in HWTEST_F_L0() 96 newArray->Set<false>(thread, 1, thread->GlobalConstants()->GetFunctionPrototypeAccessor()); in HWTEST_F_L0() 97 newArray->Set<false>(thread, 2, thread->GlobalConstants()->GetFunctionLengthAccessor()); in HWTEST_F_L0() 98 newArray->Set<false>(thread, 3, thread->GlobalConstants()->GetArrayLengthAccessor()); in HWTEST_F_L0() 99 newArray->Set<false>(thread, 4, thread->GlobalConstants()->GetSharedArrayLengthAccessor()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | ic_invoke_test.cpp | 75 array1->Set(thread, 0, func0.GetTaggedValue());
in HWTEST_F_L0() 76 array2->Set(thread, 0, JSTaggedValue(123));
in HWTEST_F_L0() 79 array1->Set(thread, 1, func1.GetTaggedValue());
in HWTEST_F_L0() 80 array2->Set(thread, 1, JSTaggedValue(456));
in HWTEST_F_L0() 83 array1->Set(thread, 2, func2.GetTaggedValue());
in HWTEST_F_L0() 84 array2->Set(thread, 2, JSTaggedValue(789));
in HWTEST_F_L0() 113 array->Set(thread, 0, func0.GetTaggedValue());
in HWTEST_F_L0() 114 array->Set(thread, 1, JSTaggedValue(123));
in HWTEST_F_L0() 115 array->Set(thread, 2, func1.GetTaggedValue());
in HWTEST_F_L0() 116 array->Set(threa in HWTEST_F_L0() [all...] |
H A D | profile_type_info_test.cpp | 67 * @tc.desc: Define a TaggedArray object with a length of six. Set different values and convert it into a 82 handleProfileTypeInfo->Set(thread, 1, JSTaggedValue::Hole()); in HWTEST_F_L0() 83 handleProfileTypeInfo->Set(thread, 2, newArray.GetTaggedValue()); in HWTEST_F_L0() 84 handleProfileTypeInfo->Set(thread, 3, newArray.GetTaggedValue()); in HWTEST_F_L0() 85 handleProfileTypeInfo->Set(thread, 4, newBox.GetTaggedValue()); in HWTEST_F_L0() 86 handleProfileTypeInfo->Set(thread, 5, newArray.GetTaggedValue()); in HWTEST_F_L0() 112 * @tc.desc: Define a TaggedArray object with a length of two.Set values and convert it into a profiletypeinfo 131 handleTaggedArray->Set(thread, 0, JSTaggedValue(1)); in HWTEST_F_L0() 132 handleTaggedArray->Set(thread, 1, JSTaggedValue(2)); in HWTEST_F_L0() 135 handleProfileTypeInfo->Set(threa in HWTEST_F_L0() [all...] |
/arkcompiler/ets_frontend/ets2panda/lexer/scripts/ |
H A D | keywords.rb | 42 tree[func_name] = Set[key[offset + 1]] 66 s_kw = Set.new(desc&.keyword) 67 groups = [s_kw, Set.new(desc&.keyword_like), Set.new(desc&.custom_handler)] 70 active = Set.new(); 73 raise "Unknown extension" unless active.subset?(Set.new(data.extensions.map { |ext| ext.name })) 82 @extensions[extension.name]['keyword_starts'] = Set.new(keywords.map { |desc| desc.name[0] }) 84 @extensions[extension.name]['all_word_starts'] = Set.new(all_words.map { |desc| desc.name[0] })
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_shared_memory-inl.h | 58 reinterpret_cast<EtsByteArray *>(obj)->Set(index, element); in SetElement() 60 reinterpret_cast<EtsShortArray *>(obj)->Set(index, element); in SetElement() 62 reinterpret_cast<EtsIntArray *>(obj)->Set(index, element); in SetElement() 64 reinterpret_cast<EtsLongArray *>(obj)->Set(index, element); in SetElement() 66 reinterpret_cast<EtsBooleanArray *>(obj)->Set(index, element); in SetElement() 68 reinterpret_cast<EtsCharArray *>(obj)->Set(index, element); in SetElement() 70 reinterpret_cast<EtsUintArray *>(obj)->Set(index, element); in SetElement() 72 reinterpret_cast<EtsUlongArray *>(obj)->Set(index, element); in SetElement()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
H A D | location_mask.h | 40 Set(idx); in Init() 53 void Set(size_t position) in Set() function in panda::compiler::LocationMask 75 Set(reserved_bit); 92 Set(r); 98 Set(r);
|