Lines Matching refs:JSArray
72 return JSArray::ArrayCreate(thread, JSTaggedNumber(0), newTarget).GetTaggedValue(); in ArrayConstructor()
78 … JSHandle<JSObject> newArrayHandle(JSArray::ArrayCreate(thread, JSTaggedNumber(0), newTarget)); in ArrayConstructor()
102 JSArray::SetCapacity(thread, newArrayHandle, 0, newLen, true); in ArrayConstructor()
109 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedVa… in ArrayConstructor()
135 JSArray::Cast(*newArrayHandle)->SetArrayLength(thread, argc); in ArrayConstructor()
204 newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in From()
292 …newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); in From()
311 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From()
382 newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc)); in Of()
438 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Concat()
490 JSArray::FastGetPropertyByValue(thread, ele, fromKey); in Concat()
627 …JSHandle<JSTaggedValue> fromValHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKe… in CopyWithin()
629 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValHandle); in CopyWithin()
722 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Every()
757 uint32_t length = JSArray::Cast(*thisObjHandle)->GetLength(); in Fill()
839 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, value); in Fill()
861 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FilterUnStableJSArray()
913 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Filter()
985 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Find()
1057 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindIndex()
1128 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in ForEach()
1148 int64_t length = JSHandle<JSArray>::Cast(thisHandle)->GetArrayLength(); in IndexOfStable()
1247 return JSStableArray::Join(JSHandle<JSArray>::Cast(thisHandle), argv); in Join()
1308 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Join()
1350 int64_t length = JSHandle<JSArray>::Cast(thisHandle)->GetArrayLength(); in LastIndexOfStable()
1464 … JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(static_cast<double>(rawLen))); in Map()
1498 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Map()
1530 return JSStableArray::Pop(JSHandle<JSArray>::Cast(thisHandle), argv); in Pop()
1584 return JSStableArray::Push(JSHandle<JSArray>::Cast(thisHandle), argv); in Push()
1614 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, kValue); in Push()
1642 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in ReduceUnStableJSArray()
1718 … accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue()); in Reduce()
1793 … accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue()); in ReduceRight()
1820 … JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in ReduceRight()
1859 len = JSArray::Cast(thisHandle->GetTaggedObject())->GetArrayLength(); in Reverse()
1924 lowerValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, lowerP); in Reverse()
1930 upperValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, upperP); in Reverse()
1934 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle); in Reverse()
1936 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle); in Reverse()
1939 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle); in Reverse()
1946 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle); in Reverse()
1971 return JSStableArray::Shift(JSHandle<JSArray>::Cast(thisHandle), argv); in Shift()
2018 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Shift()
2020 JSArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue); in Shift()
2119 … JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(static_cast<double>(count))); in Slice()
2148 … JSHandle<JSTaggedValue> kValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in Slice()
2216 … JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); in Some()
2260 JSArray::Sort(thread, JSHandle<JSTaggedValue>::Cast(thisObjHandle), callbackFnHandle); in Sort()
2332 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in Splice()
2337 return JSStableArray::Splice(JSHandle<JSArray>::Cast(thisHandle), argv, start, insertCount, in Splice()
2357 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2400 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2402 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice()
2442 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
2444 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Splice()
2460 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, itemValue); in Splice()
2537 … JSHandle<JSTaggedValue> nextElement = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in ToLocaleString()
2661 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Unshift()
2663 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue); in Unshift()
2683 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, toValue); in Unshift()
2817 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Flat()
2857 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in FlatMap()
2929 … kValueHandle.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, key).GetTaggedValue()); in Includes()
2951 return JSStableArray::At(JSHandle<JSArray>::Cast(thisHandle), argv); in At()
2986 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in At()
3029 JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); in With()
3034 … return JSStableArray::With(thread, JSHandle<JSArray>::Cast(thisHandle), len, actualIndex, value); in With()
3051 fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in With()
3087 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).Ge… in ToSorted()
3179 … return JSStableArray::ToSpliced(JSHandle<JSArray>::Cast(thisHandle), argv, argc, actualStart, in ToSpliced()
3184 JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(newLen))); in ToSpliced()
3198 JSHandle<JSTaggedValue> iValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, i); in ToSpliced()
3228 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, from); in ToSpliced()
3287 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindLast()
3358 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FindLastIndex()
3397 return JSStableArray::ToReversed(thread, JSHandle<JSArray>::Cast(thisHandle), len); in ToReversed()
3400 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).Ge… in ToReversed()
3419 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in ToReversed()