/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_tree_map.cpp | 36 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Set() local 38 JSTaggedValue newMap = TaggedTreeMap::Set(thread, mapHandle, key, value); in Set() 45 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Get() local 46 return TaggedTreeMap::Get(thread, mapHandle, key); in Get() 71 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in Delete() local 72 int entry = TaggedTreeMap::FindEntry(thread, mapHandle, key); in Delete() 77 JSHandle<JSTaggedValue> value(thread, mapHandle->GetValue(entry)); in Delete() 78 JSTaggedValue newMap = TaggedTreeMap::Delete(thread, mapHandle, entry); in Delete() 85 …JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())… in HasKey() local 86 return TaggedTreeMap::FindEntry(thread, mapHandle, key) >= 0; in HasKey() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_map.cpp | 29 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Set() local 31 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Set(thread, mapHandle, key, value); in Set() 37 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Delete() local 38 int entry = mapHandle->FindElement(key.GetTaggedValue()); in Delete() 42 mapHandle->RemoveEntry(thread, entry); in Delete() 49 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Clear() local 50 JSHandle<LinkedHashMap> newMap = linkedMap->Clear(thread, mapHandle); in Clear()
|
D | js_weak_container.cpp | 30 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Set() local 32 JSHandle<LinkedHashMap> newMap = LinkedHashMap::SetWeakRef(thread, mapHandle, key, value); in Set() 38 …JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject(… in Delete() local 39 int entry = mapHandle->FindElement(key.GetTaggedValue()); in Delete() 43 mapHandle->RemoveEntry(thread, entry); in Delete() 45 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, mapHandle); in Delete()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_lightweightset_test.cpp | 126 JSHandle<JSAPILightWeightSet> mapHandle(thread, result); in HWTEST_F_L0() local 127 JSTaggedValue resultProto = JSObject::GetPrototype(JSHandle<JSObject>::Cast(mapHandle)); in HWTEST_F_L0() 130 int length = mapHandle->GetLength(); in HWTEST_F_L0()
|
D | containers_lightweightmap_test.cpp | 127 JSHandle<JSAPILightWeightMap> mapHandle(thread, result); in HWTEST_F_L0() local 128 …STaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(mapHandle)); in HWTEST_F_L0()
|
D | containers_hashmap_test.cpp | 132 JSHandle<JSAPIHashMap> mapHandle(thread, result); in HWTEST_F_L0() local 133 …STaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(mapHandle)); in HWTEST_F_L0() 136 int size = mapHandle->GetSize(); in HWTEST_F_L0()
|
D | containers_treemap_test.cpp | 173 JSHandle<JSAPITreeMap> mapHandle(thread, result); in HWTEST_F_L0() local 174 …STaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(mapHandle)); in HWTEST_F_L0() 177 int size = mapHandle->GetSize(); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_source_text.cpp | 662 JSHandle<NameDictionary> mapHandle = JSHandle<NameDictionary>::Cast(envRec); in ModuleDeclarationEnvironmentSetup() local 663 …JSHandle<NameDictionary> newMap = NameDictionary::Put(thread, mapHandle, localName, moduleNamespac… in ModuleDeclarationEnvironmentSetup() 686 JSHandle<NameDictionary> mapHandle = JSHandle<NameDictionary>::Cast(envRec); in ModuleDeclarationEnvironmentSetup() local 687 … JSHandle<NameDictionary> newMap = NameDictionary::Put(thread, mapHandle, localName, resolution, in ModuleDeclarationEnvironmentSetup()
|