/arkcompiler/ets_runtime/ecmascript/ |
D | js_set.cpp | 25 if (!LinkedHashSet::IsKey(value.GetTaggedValue())) { in Add() 29 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Add() 31 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Add(thread, setHandle, value); in Add() 37 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Delete() 48 LinkedHashSet *linkedSet = LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject()); in Clear() 49 …JSHandle<LinkedHashSet> setHandle(thread, LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject(… in Clear() 50 JSHandle<LinkedHashSet> newSet = linkedSet->Clear(thread, setHandle); in Clear() 56 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(value); in Has() 61 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize() 67 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->GetValue(entry); in GetValue()
|
D | linked_hash_table.cpp | 188 JSHandle<LinkedHashSet> LinkedHashSet::Create(const JSThread *thread, int numberOfElements) in Create() 190 return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::Create(thread, numberOfElements); in Create() 193 JSHandle<LinkedHashSet> LinkedHashSet::Delete(const JSThread *thread, const JSHandle<LinkedHashSet>… in Delete() 196 return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::Remove(thread, obj, key); in Delete() 199 JSHandle<LinkedHashSet> LinkedHashSet::Add(const JSThread *thread, const JSHandle<LinkedHashSet> &o… in Add() 202 return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::Insert(thread, obj, key, key); in Add() 205 JSHandle<LinkedHashSet> LinkedHashSet::AddWeakRef(const JSThread *thread, const JSHandle<LinkedHash… in AddWeakRef() 208 … return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::InsertWeakRef(thread, obj, key, key); in AddWeakRef() 211 bool LinkedHashSet::Has(JSTaggedValue key) const in Has() 217 JSHandle<LinkedHashSet> LinkedHashSet::Clear(const JSThread *thread, const JSHandle<LinkedHashSet> … in Clear() [all …]
|
D | js_weak_container.cpp | 79 if (!LinkedHashSet::IsKey(value.GetTaggedValue())) { in Add() 82 …JSHandle<LinkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTagge… in Add() 84 JSHandle<LinkedHashSet> newSet = LinkedHashSet::AddWeakRef(thread, weakSetHandle, value); in Add() 90 …JSHandle<LinkedHashSet> weakSetHandle(thread, LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTagge… in Delete() 96 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Shrink(thread, weakSetHandle); in Delete() 103 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->Has(value); in Has() 108 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->NumberOfElements(); in GetSize() 114 return LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject())->GetValue(entry); in GetValue()
|
D | linked_hash_table.h | 378 class LinkedHashSet : public LinkedHashTable<LinkedHashSet, LinkedHashSetObject> { 380 static LinkedHashSet *Cast(TaggedObject *obj) in Cast() 382 return static_cast<LinkedHashSet *>(obj); in Cast() 384 …static JSHandle<LinkedHashSet> Create(const JSThread *thread, int numberOfElements = MIN_CAPACITY); 386 … static JSHandle<LinkedHashSet> Delete(const JSThread *thread, const JSHandle<LinkedHashSet> &obj, 389 static JSHandle<LinkedHashSet> Add(const JSThread *thread, const JSHandle<LinkedHashSet> &obj, 392 …static JSHandle<LinkedHashSet> AddWeakRef(const JSThread *thread, const JSHandle<LinkedHashSet> &o… 395 …static JSHandle<LinkedHashSet> Shrink(const JSThread *thread, const JSHandle<LinkedHashSet> &table, 400 …static JSHandle<LinkedHashSet> Clear(const JSThread *thread, const JSHandle<LinkedHashSet> &table);
|
D | js_set_iterator.cpp | 53 JSHandle<LinkedHashSet> set(iteratedSet); in Next() 86 LinkedHashSet *set = LinkedHashSet::Cast(iteratedSet.GetTaggedObject()); in Update() 94 set = LinkedHashSet::Cast(nextTable.GetTaggedObject()); in Update()
|
D | js_handle.h | 72 class LinkedHashSet; variable
|
D | dump.cpp | 1328 void LinkedHashSet::Dump(std::ostream &os) const in Dump() 1872 LinkedHashSet *set = LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject()); in Dump() 1897 LinkedHashSet *set = LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject()); in Dump() 1944 LinkedHashSet *set = LinkedHashSet::Cast(GetIteratedSet().GetTaggedObject()); in Dump() 4261 void LinkedHashSet::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) const in DumpForSnapshot() 4498 LinkedHashSet *set = LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject()); in DumpForSnapshot() 4514 LinkedHashSet *set = LinkedHashSet::Cast(GetLinkedSet().GetTaggedObject()); in DumpForSnapshot() 4543 LinkedHashSet *set = LinkedHashSet::Cast(GetIteratedSet().GetTaggedObject()); in DumpForSnapshot()
|
D | js_tagged_value.h | 32 class LinkedHashSet; variable
|
D | js_serializer.cpp | 1578 JSHandle<LinkedHashSet> linkedSet = LinkedHashSet::Create(thread_); in ReadJSSet()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | linked_hash_table_test.cpp | 75 JSHandle<LinkedHashSet> set = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 125 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 140 setHandle = LinkedHashSet::Add(thread, setHandle, key1); in HWTEST_F_L0() 146 setHandle = LinkedHashSet::Add(thread, setHandle, key2); in HWTEST_F_L0() 149 setHandle = LinkedHashSet::Delete(thread, setHandle, key1); in HWTEST_F_L0() 154 setHandle = LinkedHashSet::Add(thread, setHandle, undefinedKey); in HWTEST_F_L0() 193 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 205 setHandle = LinkedHashSet::Add(thread, setHandle, key); in HWTEST_F_L0() 257 JSHandle<LinkedHashSet> setHandle = LinkedHashSet::Create(thread, numOfElement); in HWTEST_F_L0() 268 setHandle = LinkedHashSet::Add(thread, setHandle, key); in HWTEST_F_L0() [all …]
|
D | js_set_iterator_test.cpp | 62 JSHandle<LinkedHashSet> hashSet = LinkedHashSet::Create(thread); in CreateJSSet() 120 …JSHandle<LinkedHashSet> setHandle1(thread, LinkedHashSet::Cast(jsSet1->GetLinkedSet().GetTaggedObj… in HWTEST_F_L0() 121 …JSHandle<LinkedHashSet> setHandle2(thread, LinkedHashSet::Cast(jsSet2->GetLinkedSet().GetTaggedObj… in HWTEST_F_L0() 127 LinkedHashSet *resultSet = LinkedHashSet::Cast(setIterator->GetIteratedSet().GetTaggedObject()); in HWTEST_F_L0()
|
D | js_set_test.cpp | 71 JSHandle<LinkedHashSet> hashSet = LinkedHashSet::Create(thread); in CreateSet()
|
D | dump_test.cpp | 194 JSHandle<LinkedHashSet> linkedSet(LinkedHashSet::Create(thread)); in NewJSSet() 578 JSHandle<LinkedHashSet> weakLinkedSet(LinkedHashSet::Create(thread)); in HWTEST_F_L0()
|
D | js_serializer_test.cpp | 1272 JSHandle<LinkedHashSet> linkedSet = LinkedHashSet::Create(thread); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_weak_set.cpp | 48 JSHandle<LinkedHashSet> linkedSet = LinkedHashSet::Create(thread); in WeakSetConstructor()
|
D | builtins_set.cpp | 49 JSHandle<LinkedHashSet> linkedSet = LinkedHashSet::Create(thread); in SetConstructor() 207 JSMutableHandle<LinkedHashSet> hashSet(thread, set->GetLinkedSet()); in ForEach()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | heap.cpp | 608 JSHandle<LinkedHashSet> linkedSet; in AddToKeptObjects() 610 linkedSet = LinkedHashSet::Create(thread_); in AddToKeptObjects() 613 …JSHandle<LinkedHashSet>(thread_, LinkedHashSet::Cast(env->GetWeakRefKeepObjects()->GetTaggedObject… in AddToKeptObjects() 615 linkedSet = LinkedHashSet::Add(thread_, linkedSet, value); in AddToKeptObjects()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 143 using ecmascript::LinkedHashSet; 2645 LinkedHashSet::Cast(set->GetLinkedSet().GetTaggedObject())->NumberOfDeletedElements(); in GetTotalElements() 2669 … LinkedHashSet::Cast(weakSet->GetLinkedSet().GetTaggedObject())->NumberOfDeletedElements(); in GetTotalElements()
|