Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_arraylist.js140 let subArrayList = proxy.subArrayList(1, 3) variable
142 for(let i = 0; i < subArrayList.length; i++) {
143 if (newtestArray[i] !== subArrayList[i]) {
229 testlist.subArrayList(0, 1);
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_arraylist.cpp334 …JSHandle<JSAPIArrayList> subArrayList = thread->GetEcmaVM()->GetFactory()->NewJSAPIArrayList(newLe… in SubArrayList() local
336 return subArrayList.GetTaggedValue(); in SubArrayList()
340 subArrayList->SetLength(thread, JSTaggedValue(newLength)); in SubArrayList()
343 subArrayList->Set(thread, i, elements->Get(fromIndex + i)); in SubArrayList()
346 return subArrayList.GetTaggedValue(); in SubArrayList()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_arraylist_test.cpp459 JSHandle<JSAPIArrayList> subArrayList(thread, subArrayListValue); in HWTEST_F_L0() local
460 JSHandle<TaggedArray> subElements(thread, subArrayList->GetElements()); in HWTEST_F_L0()
461 for (uint32_t i = 0; i < subArrayList->GetLength().GetArrayLength(); i++) { in HWTEST_F_L0()