Searched refs:subList (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_list.cpp | 453 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() 482 … subList->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()
|
D | tagged_list.h | 147 … const int fromIndex, const int toIndex, const JSHandle<TaggedSingleList> &subList);
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
D | container_list.js | 122 let subList = list.getSubList(1, 3) variable 124 for(let i = 0; i < subList.length; i++) { 125 if (newtestArray[i] !== subList[i]) {
|