Lines Matching refs:JSArray
69 return JSArray::ArrayCreate(thread, JSTaggedNumber(0), newTarget).GetTaggedValue(); in ArrayConstructor()
76 …JSHandle<JSObject> newArrayHandle(JSArray::ArrayCreate(thread, JSTaggedNumber(newLen), newTarget)); in ArrayConstructor()
99 JSArray::SetCapacity(thread, newArrayHandle, 0, newLen); in ArrayConstructor()
106 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedVa… in ArrayConstructor()
129 JSArray::Cast(*newArrayHandle)->SetArrayLength(thread, argc); in ArrayConstructor()
188 newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in From()
276 …newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); in From()
295 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From()
366 newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc)); in Of()
422 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Concat()
483 JSArray::FastGetPropertyByValue(thread, ele, fromKey); in Concat()
620 …JSHandle<JSTaggedValue> fromValHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKe… in CopyWithin()
622 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValHandle); in CopyWithin()
715 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Every()
806 JSArray::CheckAndCopyArray(thread, JSHandle<JSArray>::Cast(thisObjHandle)); in Fill()
826 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, value); in Fill()
866 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Filter()
901 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Filter()
965 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Find()
1036 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindIndex()
1107 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in ForEach()
1196 … JSHandle<JSTaggedValue> kValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in IndexOf()
1224 return JSStableArray::Join(JSHandle<JSArray>::Cast(thisHandle), argv); in Join()
1271 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Join()
1375 … JSHandle<JSTaggedValue> kValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in LastIndexOf()
1419 … JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(static_cast<double>(rawLen))); in Map()
1453 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Map()
1484 return JSStableArray::Pop(JSHandle<JSArray>::Cast(thisHandle), argv); in Pop()
1538 return JSStableArray::Push(JSHandle<JSArray>::Cast(thisHandle), argv); in Push()
1568 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, kValue); in Push()
1642 … accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue()); in Reduce()
1672 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Reduce()
1752 … accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue()); in ReduceRight()
1779 … JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in ReduceRight()
1872 lowerValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, lowerP); in Reverse()
1878 upperValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, upperP); in Reverse()
1882 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle); in Reverse()
1884 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle); in Reverse()
1887 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle); in Reverse()
1894 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle); in Reverse()
1916 return JSStableArray::Shift(JSHandle<JSArray>::Cast(thisHandle), argv); in Shift()
1966 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Shift()
1968 JSArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue); in Shift()
2063 JSHandle<JSArray> newArrayHandle = factory->NewJSStableArrayWithElements(destElements); in Slice()
2084 … JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(static_cast<double>(count))); in Slice()
2113 … JSHandle<JSTaggedValue> kValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in Slice()
2181 … JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in Some()
2332 …return JSStableArray::Splice(JSHandle<JSArray>::Cast(thisHandle), argv, start, insertCount, actual… in Splice()
2335 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in Splice()
2356 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2399 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2401 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice()
2441 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2443 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice()
2459 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, itemValue); in Splice()
2528 … JSHandle<JSTaggedValue> nextElement = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in ToLocaleString()
2650 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Unshift()
2652 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Unshift()
2672 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, toValue); in Unshift()
2787 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Flat()
2826 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in FlatMap()
2898 … kValueHandle.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, key).GetTaggedValue()); in Includes()
2920 return JSStableArray::At(JSHandle<JSArray>::Cast(thisHandle), argv); in At()
2955 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in At()
2998 JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); in With()
3003 … return JSStableArray::With(thread, JSHandle<JSArray>::Cast(thisHandle), len, actualIndex, value); in With()
3020 fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in With()
3056 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).Ge… in ToSorted()
3075 JSHandle<JSTaggedValue> item = JSArray::FastGetPropertyByValue(thread, sortedArray, j); in ToSorted()
3148 … return JSStableArray::ToSpliced(JSHandle<JSArray>::Cast(thisHandle), argv, argc, actualStart, in ToSpliced()
3153 JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(newLen))); in ToSpliced()
3167 JSHandle<JSTaggedValue> iValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, i); in ToSpliced()
3197 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, from); in ToSpliced()
3256 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindLast()
3326 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindLastIndex()
3365 return JSStableArray::ToReversed(thread, JSHandle<JSArray>::Cast(thisHandle), len); in ToReversed()
3368 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).Ge… in ToReversed()
3387 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in ToReversed()