Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.cpp453 const JSHandle<TaggedSingleList> &subList) in GetSubList() argument
477 subList->SetElement(thread, preDataIndex + NEXT_PTR_OFFSET, JSTaggedValue(curDataIndex)); in GetSubList()
478 subList->SetElement(thread, curDataIndex, dataHandle.GetTaggedValue()); in GetSubList()
482subList->SetElement(thread, curDataIndex + NEXT_PTR_OFFSET, JSTaggedValue(ELEMENTS_START_INDEX)); in GetSubList()
483 subList->SetElement(thread, HEAD_TABLE_INDEX, JSTaggedValue(ELEMENTS_START_INDEX)); in GetSubList()
484 subList->SetElement(thread, TAIL_TABLE_INDEX, JSTaggedValue(curDataIndex)); in GetSubList()
485 subList->SetNumberOfNodes(thread, toIndex - fromIndex); in GetSubList()
486 subList->SetNumberOfDeletedNodes(thread, 0); in GetSubList()
Dtagged_list.h147 … const int fromIndex, const int toIndex, const JSHandle<TaggedSingleList> &subList);
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_list.js122 let subList = list.getSubList(1, 3) variable
124 for(let i = 0; i < subList.length; i++) {
125 if (newtestArray[i] !== subList[i]) {