Home
last modified time | relevance | path

Searched refs:newDictionary (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module_cache.cpp30 JSHandle<CjsModuleCache> newDictionary(HashTable::GrowHashTable(thread, dictionary)); in PutIfAbsentAndReset() local
34 entry = newDictionary->FindInsertIndex(hash); in PutIfAbsentAndReset()
35 newDictionary->SetEntry(thread, entry, key, value); in PutIfAbsentAndReset()
36 newDictionary->IncreaseEntries(thread); in PutIfAbsentAndReset()
38 return newDictionary; in PutIfAbsentAndReset()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_dictionary.cpp449 … JSHandle<PointerToIndexDictionary> newDictionary = HashTableT::GrowHashTable(thread, dictionary); in PutIfAbsent() local
453 entry = newDictionary->FindInsertIndex(hash); in PutIfAbsent()
454 newDictionary->SetEntry(thread, entry, key.GetTaggedValue(), value.GetTaggedValue()); in PutIfAbsent()
455 newDictionary->IncreaseEntries(thread); in PutIfAbsent()
456 return newDictionary; in PutIfAbsent()
Djs_hclass.cpp48 JSHandle<TransitionsDictionary> newDictionary(HashTableT::GrowHashTable(thread, dictionary)); in PutIfAbsent() local
50 entry = newDictionary->FindInsertIndex(hash); in PutIfAbsent()
52 newDictionary->SetEntry(thread, entry, key.GetTaggedValue(), val, metaData.GetTaggedValue()); in PutIfAbsent()
54 newDictionary->IncreaseEntries(thread); in PutIfAbsent()
55 return newDictionary; in PutIfAbsent()