Home
last modified time | relevance | path

Searched refs:lightweightset (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_lightweightset.cpp425 JSHandle<JSAPILightWeightSet> lightweightset(self); in Remove()
426 JSAPILightWeightSet::CheckAndCopyValues(thread, lightweightset); in Remove()
427 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(lightweightset.GetTaggedValue().GetTaggedObject()); in Remove()
459 JSHandle<JSAPILightWeightSet> lightweightset(self); in RemoveAt()
460 JSAPILightWeightSet::CheckAndCopyValues(thread, lightweightset); in RemoveAt()
461 JSAPILightWeightSet *set = JSAPILightWeightSet::Cast(lightweightset.GetTaggedValue().GetTaggedObject()); in RemoveAt()
523 JSHandle<JSAPILightWeightSet> lightweightset = JSHandle<JSAPILightWeightSet>::Cast(self); in ToArray() local
527 uint32_t length = lightweightset->GetLength(); in ToArray()
530 JSHandle<TaggedArray> srcArray(thread, lightweightset->GetValues()); in ToArray()
539 lightweightset in ToArray()
[all...]
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_lightweightset.cpp322 JSHandle<JSAPILightWeightSet> lightweightset = JSHandle<JSAPILightWeightSet>::Cast(thisHandle); in ForEach() local
323 CheckAndCopyValues(thread, lightweightset); in ForEach()
324 uint32_t length = lightweightset->GetSize(); in ForEach()
327 JSTaggedValue kValue = lightweightset->GetValueAt(k); in ForEach()
334 if (lightweightset->GetSize() != length) { // prevent length change in ForEach()
335 length = lightweightset->GetSize(); in ForEach()

Completed in 3 milliseconds