/arkcompiler/ets_runtime/ecmascript/ |
H A D | linked_hash_table.cpp | 120 return Shrink(thread, table); in Remove() 124 JSHandle<Derived> LinkedHashTable<Derived, HashObject>::Shrink(const JSThread *thread, const JSHandle<Derived> &table, in Shrink() function in panda::ecmascript::LinkedHashTable 196 JSHandle<LinkedHashMap> LinkedHashMap::Shrink(const JSThread *thread, const JSHandle<LinkedHashMap> &table, in Shrink() function in panda::ecmascript::LinkedHashMap 199 return LinkedHashTable<LinkedHashMap, LinkedHashMapObject>::Shrink(thread, table, additionalCapacity); in Shrink() 250 JSHandle<LinkedHashSet> LinkedHashSet::Shrink(const JSThread *thread, const JSHandle<LinkedHashSet> &table, in Shrink() function in panda::ecmascript::LinkedHashSet 253 return LinkedHashTable<LinkedHashSet, LinkedHashSetObject>::Shrink(thread, table, additionalCapacity); in Shrink()
|
H A D | transitions_dictionary.h | 90 inline static JSHandle<TransitionsDictionary> Shrink(const JSThread *thread, in Shrink() function in panda::ecmascript::TransitionsDictionary 93 return HashTableT::Shrink(thread, dictionary, 0); in Shrink()
|
H A D | js_weak_container.cpp | 44 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, mapHandle); in Delete() 95 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Shrink(thread, weakSetHandle); in Delete()
|
H A D | tagged_hash_table.h | 137 return Derived::Shrink(thread, *table); in Remove() 157 inline static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &table, int additionalSize) in Shrink() function in panda::ecmascript::TaggedHashTable 407 static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &table) in Shrink() function in panda::ecmascript::OrderTaggedHashTable 410 JSHandle<Derived> newTable = HashTableT::Shrink(thread, table, 0); in Shrink() 484 return Shrink(thread, table); in Remove()
|
H A D | linked_hash_table.h | 64 static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &table, int additionalCapacity = 0); 134 // Shrink to fit the number of elements if only a quarter of the in ComputeCapacityWithShrink() 363 static JSHandle<LinkedHashMap> Shrink(const JSThread *thread, const JSHandle<LinkedHashMap> &table, 402 static JSHandle<LinkedHashSet> Shrink(const JSThread *thread, const JSHandle<LinkedHashSet> &table,
|
H A D | js_finalization_registry.cpp | 91 JSHandle<LinkedHashMap> newMaybeUnregister = LinkedHashMap::Shrink(thread, maybeUnregister); in Unregister() 210 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, maybeUnregister); in CleanupFinalizationRegistry()
|
H A D | tagged_tree.cpp | 527 JSHandle<Derived> TaggedTree<Derived>::Shrink(const JSThread *thread, const JSHandle<Derived> &tree) in Shrink() function in panda::ecmascript::TaggedTree 569 return RBTree::Shrink(thread, map).GetTaggedValue(); in Delete() 658 return RBTree::Shrink(thread, set).GetTaggedValue(); in Delete()
|
H A D | tagged_tree.h | 416 static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &tree);
|
H A D | js_hclass.cpp | 91 return TransitionsDictionary::Shrink(thread, table); in Remove()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | transitions_dictionary_test.cpp | 97 HWTEST_F_L0(TransitionsDictionaryTest, Shrink) in HWTEST_F_L0() 114 JSHandle<TransitionsDictionary> transDicAfterShink = TransitionsDictionary::Shrink(thread, transDic); in HWTEST_F_L0()
|