Home
last modified time | relevance | path

Searched refs:newArrayList (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_arraylist.js80 let newArrayList = proxy.clone()
83 if (newArrayList[i] !== testArray[i]) {
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_arraylist.cpp78 JSHandle<JSAPIArrayList> newArrayList = factory->NewJSAPIArrayList(0); in Clone() local
79 newArrayList->SetLength(thread, JSTaggedValue(length)); in Clone()
82 newArrayList->SetElements(thread, dstElements); in Clone()
83 return newArrayList; in Clone()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_arraylist.cpp149 …JSHandle<JSAPIArrayList> newArrayList = JSAPIArrayList::Clone(thread, JSHandle<JSAPIArrayList>::Ca… in Clone() local
151 return newArrayList.GetTaggedValue(); in Clone()
555 JSTaggedValue newArrayList = in SubArrayList() local
559 return newArrayList; in SubArrayList()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_arraylist_test.cpp258 … JSTaggedValue newArrayList = ArrayListSubArrayList(arrayList, JSTaggedValue(1), JSTaggedValue(3)); in HWTEST_F_L0() local
259 …JSHandle<TaggedArray> elements(thread, JSAPIArrayList::Cast(newArrayList.GetTaggedObject())->GetEl… in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp191 JSHandle<JSAPIArrayList> newArrayList = JSAPIArrayList::Clone(thread, arrayList); in HWTEST_F_L0() local
193 JSHandle<TaggedArray> newElements(thread, newArrayList->GetElements()); in HWTEST_F_L0()