/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_tree_map.cpp | 35 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Set() 37 JSTaggedValue newMap = TaggedTreeMap::Set(thread, mapHandle, key, value); in Set() 44 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Get() 45 return TaggedTreeMap::Get(thread, mapHandle, key); in Get() 70 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in Delete() 71 int entry = TaggedTreeMap::FindEntry(thread, mapHandle, key); in Delete() 76 JSHandle<JSTaggedValue> value(thread, mapHandle->GetValue(entry)); in Delete() 77 JSTaggedValue newMap = TaggedTreeMap::Delete(thread, mapHandle, entry); in Delete() 84 JSHandle<TaggedTreeMap> mapHandle(thread, TaggedTreeMap::Cast(map->GetTreeMap().GetTaggedObject())); in HasKey() 85 return TaggedTreeMap::FindEntry(thread, mapHandle, ke in HasKey() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_map.cpp | 27 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 29 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Set(thread, mapHandle, key, value); in Set() 35 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 36 int entry = mapHandle->FindElement(thread, key.GetTaggedValue()); in Delete() 40 mapHandle->RemoveEntry(thread, entry); in Delete() 47 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Clear() 48 JSHandle<LinkedHashMap> newMap = linkedMap->Clear(thread, mapHandle); in Clear()
|
H A D | js_weak_container.cpp | 29 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 31 JSHandle<LinkedHashMap> newMap = LinkedHashMap::SetWeakRef(thread, mapHandle, key, value); in Set() 37 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 38 int entry = mapHandle->FindElement(thread, key.GetTaggedValue()); in Delete() 42 mapHandle->RemoveEntry(thread, entry); in Delete() 44 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Shrink(thread, mapHandle); in Delete()
|
/arkcompiler/ets_runtime/ecmascript/shared_objects/ |
H A D | js_shared_map.cpp | 34 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Set() 35 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Set(thread, mapHandle, key, value); in Set() 44 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Delete() 45 int entry = mapHandle->FindElement(thread, key.GetTaggedValue()); in Delete() 49 mapHandle->RemoveEntry(thread, entry); in Delete() 58 JSHandle<LinkedHashMap> mapHandle(thread, LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())); in Clear() 59 JSHandle<LinkedHashMap> newMap = LinkedHashMap::Clear(thread, mapHandle); in Clear()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefislightweightmapandset_fuzzer/ |
H A D | jsvaluerefislightweightmapandset_fuzzer.cpp | 136 JSHandle<JSAPILightWeightMap> mapHandle(thread, result); in ConstructobjectLightWeightMap() 137 return mapHandle; in ConstructobjectLightWeightMap() 162 JSHandle<JSAPILightWeightSet> mapHandle(thread, result); in ConstructobjectLightWeightSet() 163 return mapHandle; in ConstructobjectLightWeightSet() 178 JSHandle<JSAPILightWeightMap> mapHandle = ConstructobjectLightWeightMap(thread); in JSValueRefIsLightWeightMapFuzzTest() local 179 JSHandle<JSTaggedValue> jshashmap = JSHandle<JSTaggedValue>::Cast(mapHandle); in JSValueRefIsLightWeightMapFuzzTest() 198 JSHandle<JSAPILightWeightSet> mapHandle = ConstructobjectLightWeightSet(thread); in JSValueRefIsLightWeightSetFuzzTest() local 199 JSHandle<JSTaggedValue> jshashmap = JSHandle<JSTaggedValue>::Cast(mapHandle); in JSValueRefIsLightWeightSetFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_lightweightset_test.cpp | 126 JSHandle<JSAPILightWeightSet> mapHandle(thread, result); in HWTEST_F_L0() 127 JSTaggedValue resultProto = JSObject::GetPrototype(JSHandle<JSObject>::Cast(mapHandle)); in HWTEST_F_L0() 130 int length = mapHandle->GetLength(); in HWTEST_F_L0()
|
H A D | containers_lightweightmap_test.cpp | 127 JSHandle<JSAPILightWeightMap> mapHandle(thread, result); in HWTEST_F_L0() 128 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(mapHandle)); in HWTEST_F_L0()
|
H A D | containers_hashmap_test.cpp | 132 JSHandle<JSAPIHashMap> mapHandle(thread, result); in HWTEST_F_L0() 133 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(mapHandle)); in HWTEST_F_L0() 136 int size = mapHandle->GetSize(); in HWTEST_F_L0()
|
H A D | containers_treemap_test.cpp | 173 JSHandle<JSAPITreeMap> mapHandle(thread, result); in HWTEST_F_L0() 174 JSTaggedValue 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/ |
H A D | js_module_source_text.cpp | 725 JSHandle<NameDictionary> mapHandle = JSHandle<NameDictionary>::Cast(envRec); in ModuleDeclarationEnvironmentSetup() local 726 JSHandle<NameDictionary> newMap = NameDictionary::Put(thread, mapHandle, localName, moduleNamespace, in ModuleDeclarationEnvironmentSetup() 750 JSHandle<NameDictionary> mapHandle = JSHandle<NameDictionary>::Cast(envRec); in ModuleDeclarationEnvironmentSetup() local 751 JSHandle<NameDictionary> newMap = NameDictionary::Put(thread, mapHandle, localName, resolution, in ModuleDeclarationEnvironmentSetup()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | ffi_workload.cpp | 1316 JSHandle<JSAPILightWeightMap> mapHandle(thread, result); in ConstructobjectLightWeightMap() 1317 return mapHandle; in ConstructobjectLightWeightMap() 1343 JSHandle<JSAPILightWeightSet> mapHandle(thread, result); in ConstructobjectLightWeightSet() 1344 return mapHandle; in ConstructobjectLightWeightSet() 1572 JSHandle<JSAPILightWeightMap> mapHandle = ConstructobjectLightWeightMap(vm_); in HWTEST_F_L0() local 1573 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(mapHandle); in HWTEST_F_L0() 1587 JSHandle<JSAPILightWeightSet> mapHandle = ConstructobjectLightWeightSet(vm_); in HWTEST_F_L0() local 1588 JSHandle<JSTaggedValue> jsHashMap = JSHandle<JSTaggedValue>::Cast(mapHandle); in HWTEST_F_L0()
|