Home
last modified time | relevance | path

Searched refs:Shrink (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dlinked_hash_table.cpp120 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 Dtransitions_dictionary.h90 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 Djs_weak_container.cpp44 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, mapHandle); in Delete()
95 JSHandle<LinkedHashSet> newSet = LinkedHashSet::Shrink(thread, weakSetHandle); in Delete()
H A Dtagged_hash_table.h137 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 Dlinked_hash_table.h64 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 Djs_finalization_registry.cpp91 JSHandle<LinkedHashMap> newMaybeUnregister = LinkedHashMap::Shrink(thread, maybeUnregister); in Unregister()
210 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, maybeUnregister); in CleanupFinalizationRegistry()
H A Dtagged_tree.cpp527 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 Dtagged_tree.h416 static JSHandle<Derived> Shrink(const JSThread *thread, const JSHandle<Derived> &tree);
H A Djs_hclass.cpp91 return TransitionsDictionary::Shrink(thread, table); in Remove()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dtransitions_dictionary_test.cpp97 HWTEST_F_L0(TransitionsDictionaryTest, Shrink) in HWTEST_F_L0()
114 JSHandle<TransitionsDictionary> transDicAfterShink = TransitionsDictionary::Shrink(thread, transDic); in HWTEST_F_L0()

Completed in 10 milliseconds