Home
last modified time | relevance | path

Searched refs:newTable (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_hash_table.h86 JSHandle<Derived> newTable = table.GetTaggedValue().IsInSharedHeap() ? in GrowHashTable() local
89 newTable->SetHashTableSize(thread, newSize); in GrowHashTable()
90 table->Rehash(thread, *newTable); in GrowHashTable()
91 return newTable; in GrowHashTable()
123 JSHandle<Derived> newTable = GrowHashTable(thread, table); in Insert() local
124 newTable->AddElement(thread, newTable->FindInsertIndex(hash), key, value); in Insert()
125 return newTable; in Insert()
164 JSHandle<Derived> newTable = TaggedHashTable::Create(thread, newSize, in Shrink() local
167 table->Rehash(thread, *newTable); in Shrink()
308 Rehash(const JSThread *thread, Derived *newTable) Rehash() argument
410 JSHandle<Derived> newTable = HashTableT::Shrink(thread, table, 0); Shrink() local
438 JSHandle<Derived> newTable = HashTableT::GrowHashTable(thread, table); PutIfAbsent() local
466 JSHandle<Derived> newTable = HashTableT::GrowHashTable(thread, table); Put() local
[all...]
H A Dlinked_hash_table.cpp55 JSHandle<Derived> newTable = GrowCapacity(thread, table); in Insert() local
57 uint32_t bucket = newTable->HashToBucket(hash); in Insert()
58 entry = newTable->NumberOfElements() + newTable->NumberOfDeletedElements(); in Insert()
59 newTable->InsertNewEntry(thread, bucket, entry); in Insert()
60 newTable->SetKey(thread, entry, key.GetTaggedValue()); in Insert()
61 newTable->SetValue(thread, entry, value.GetTaggedValue()); in Insert()
62 newTable->SetNumberOfElements(thread, newTable->NumberOfElements() + 1); in Insert()
64 return newTable; in Insert()
80 JSHandle<Derived> newTable = GrowCapacity(thread, table); InsertWeakRef() local
104 JSHandle<Derived> newTable = Create(thread, newCapacity, GrowCapacity() local
132 JSHandle<Derived> newTable = Create(thread, newCapacity, Shrink() local
[all...]
H A Dlinked_hash_table.h222 inline void Rehash(const JSThread *thread, Derived *newTable) in Rehash() argument
224 ASSERT_PRINT(newTable != nullptr && newTable->Capacity() > NumberOfElements(), "can not rehash to new table"); in Rehash()
229 SetNextTable(thread, JSTaggedValue(newTable)); in Rehash()
245 int bucket = static_cast<int>(newTable->HashToBucket(LinkedHash::Hash(thread, key))); in Rehash()
246 newTable->InsertNewEntry(thread, bucket, desEntry); in Rehash()
247 int desIndex = static_cast<int>(newTable->EntryToIndex(desEntry)); in Rehash()
249 newTable->SetElement(thread, desIndex + j, GetElement(fromIndex + j)); in Rehash()
253 newTable->SetNumberOfElements(thread, NumberOfElements()); in Rehash()
254 newTable in Rehash()
[all...]
H A Dtransitions_dictionary.h151 void Rehash(const JSThread *thread, TransitionsDictionary *newTable);
H A Djs_hclass.cpp94 void TransitionsDictionary::Rehash(const JSThread *thread, TransitionsDictionary *newTable) in Rehash() argument
97 if (newTable == nullptr) { in Rehash()
109 int insertionIndex = GetEntryIndex(newTable->FindInsertIndex(hash)); in Rehash()
111 newTable->Set(thread, insertionIndex, tv); in Rehash()
114 newTable->Set(thread, insertionIndex + j, tv); in Rehash()
119 newTable->SetEntriesCount(thread, entryCount); in Rehash()
120 newTable->SetHoleEntriesCount(thread, 0); in Rehash()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dlinked_hashtable_stub_builder.cpp29 GateRef linkedTable, GateRef newTable) in Rehash()
40 SetNextTable(linkedTable, newTable); in Rehash()
79 GateRef bucket = HashToBucket(newTable, hash); in Rehash()
80 InsertNewEntry(newTable, bucket, *desEntry); in Rehash()
81 GateRef desIndex = EntryToIndex(newTable, *desEntry); in Rehash()
94 SetElement(newTable, Int32Add(desIndex, *j), ele); in Rehash()
110 SetNumberOfElements(newTable, GetNumberOfElements(linkedTable)); in Rehash()
111 SetNumberOfDeletedElements(newTable, Int32(0)); in Rehash()
131 GateRef newTable = Create(newCapacity); in GrowCapacity() local
132 Rehash(linkedTable, newTable); in GrowCapacity()
28 Rehash( GateRef linkedTable, GateRef newTable) Rehash() argument
397 GateRef newTable = Create(minCapacity); Clear() local
541 GateRef newTable = GrowCapacity(linkedTable, Int32(1)); Insert() local
719 SetLinked(GateRef jsThis, GateRef newTable) SetLinked() argument
722 Store(VariableType::JS_ANY(), glue_, jsThis, linkedTableOffset, newTable); SetLinked() local
[all...]
H A Dbuiltins_collection_stub_builder.h67 void SetLinked(GateRef newTable) in SetLinked() argument
70 Store(VariableType::JS_ANY(), glue_, thisValue_, linkedTableOffset, newTable); in SetLinked() local
H A Dlinked_hashtable_stub_builder.h45 void SetLinked(GateRef jsThis, GateRef newTable);
205 void Rehash(GateRef linkedTable, GateRef newTable);
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcommon_stubs.cpp1249 GateRef newTable = builder.Insert(linkedTable, key, key); in GenerateCircuit() local
1250 builder.Store(VariableType::JS_ANY(), glue, obj, IntPtr(JSSet::LINKED_SET_OFFSET), newTable); in GenerateCircuit() local

Completed in 10 milliseconds