Lines Matching refs:items
382 // 1. Let items be a new empty List.
383 JSHandle<TaggedArray> items(thread->GetEcmaVM()->GetFactory()->EmptyArray());
396 // ii. Append kValue to items.
405 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items);
412 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items);
417 items = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(itemsVector.size());
419 items->Set(thread, i, itemsVector[i].GetTaggedValue());
421 // 4. Sort items using an implementation-defined sequence of calls to SortCompare.
424 TimSort::Sort(thread, items, callbackFnHandle);
425 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, items);
426 // 5. Return items.
427 return items;