Lines Matching defs:thisObjVal

489     JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
594 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
597 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
683 bool exists = (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray() ||
684 JSTaggedValue::HasProperty(thread, thisObjVal, fromKey));
687 JSHandle<JSTaggedValue> fromValHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
689 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValHandle);
692 if (thisObjVal->IsJSProxy()) {
696 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
738 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
741 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
769 if (thisObjVal->IsStableJSArray(thread)) {
779 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
782 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
788 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
816 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
818 if (thisObjVal->IsJSArray()) {
835 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
878 if (thisObjVal->IsStableJSArray(thread) && !startArg->IsJSObject() && !endArg->IsJSObject()) {
886 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, value);
896 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, JSHandle<JSObject> newArrayHandle,
905 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
908 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
914 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
943 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
946 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
986 if (thisObjVal->IsStableJSArray(thread)) {
990 return FilterUnStableJSArray(thread, thisArgHandle, thisObjVal, k, len, toIndex, newArrayHandle, callbackFnHandle);
1006 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1009 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
1034 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1042 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1068 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1071 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetLength(thread, thisObjVal));
1095 if (thisObjVal->IsStableJSArray(thread)) {
1106 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1112 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1139 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1142 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
1168 if (thisObjVal->IsStableJSArray(thread)) {
1175 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
1178 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1184 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1234 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1236 int64_t length = ArrayHelper::GetLength(thread, thisObjVal);
1246 return IndexOfSlowPath(argv, thread, thisObjVal, length, fromIndex);
1250 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal,
1261 bool found = ArrayHelper::ElementIsStrictEqualTo(thread, thisObjVal, keyHandle, target);
1309 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1312 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
1363 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1442 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1444 int64_t length = ArrayHelper::GetLength(thread, thisObjVal);
1454 return LastIndexOfSlowPath(argv, thread, thisObjVal, fromIndex);
1458 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex)
1468 bool found = ArrayHelper::ElementIsStrictEqualTo(thread, thisObjVal, keyHandle, target);
1506 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1509 int64_t rawLen = ArrayHelper::GetArrayLength(thread, thisObjVal);
1547 if (thisObjVal->IsStableJSArray(thread)) {
1551 return MapUnStableJSArray(thread, thisArgHandle, thisObjVal, k, len, newArrayHandle, callbackFnHandle);
1555 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSHandle<JSObject> newArrayHandle,
1563 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
1566 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1572 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1604 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1607 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1617 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, lengthValue, true);
1634 JSHandle<JSTaggedValue> element = JSTaggedValue::GetProperty(thread, thisObjVal, indexHandle).GetValue();
1636 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, indexHandle);
1638 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, indexHandle, true);
1662 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1665 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1683 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, kValue);
1692 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, key, true);
1701 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator,
1708 bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k));
1711 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
1721 thisObjVal.GetTaggedValue());
1745 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1748 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1764 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1799 JSTaggedValue::HasProperty(thread, thisObjVal, k));
1802 accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue());
1812 if (thisObjVal->IsStableJSArray(thread)) {
1816 return ReduceUnStableJSArray(thread, thisHandle, thisObjVal, k, len, accumulator, callbackFnHandle);
1832 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1835 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1854 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1888 kPresent = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k));
1891 accumulator.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue());
1915 if (thisObjVal->IsStableJSArray(thread)) {
1926 bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, key));
1929 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key);
1937 thisObjVal.GetTaggedValue());
1962 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2022 if (thisObjVal->IsStableJSArray(thread)) {
2029 bool lowerExists = (JSTaggedValue::HasProperty(thread, thisObjVal, lowerP));
2032 lowerValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, lowerP);
2035 bool upperExists = (JSTaggedValue::HasProperty(thread, thisObjVal, upperP));
2038 upperValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, upperP);
2042 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle);
2044 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle);
2047 JSArray::FastSetPropertyByValue(thread, thisObjVal, lowerP, upperValueHandle);
2049 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, upperP);
2052 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, lowerP);
2054 JSArray::FastSetPropertyByValue(thread, thisObjVal, upperP, lowerValueHandle);
2081 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2084 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2094 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, zeroLenHandle, true);
2101 JSHandle<JSTaggedValue> firstValue = JSTaggedValue::GetProperty(thread, thisObjVal, firstKey).GetValue();
2123 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
2126 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
2128 JSArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue);
2132 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2140 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, deleteKey);
2146 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, newLenHandle, true);
2167 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2170 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2253 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, key);
2257 JSHandle<JSTaggedValue> kValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, key);
2290 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2293 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2322 if (thisObjVal->IsStableJSArray(thread)) {
2331 JSTaggedValue::HasProperty(thread, thisObjVal, k));
2335 kValue.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, key));
2342 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
2400 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2402 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2474 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2477 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2517 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2520 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2522 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
2525 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2534 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, deleteKey);
2559 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2562 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2564 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
2567 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2580 JSArray::FastSetPropertyByValue(thread, thisObjVal, key, itemValue);
2587 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, newLenHandle, true);
2615 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2618 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
2658 JSHandle<JSTaggedValue> nextElement = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
2703 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2707 JSHandle<JSTaggedValue> callbackFnHandle = JSTaggedValue::GetProperty(thread, thisObjVal, joinKey).GetValue();
2722 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisObjVal, undefined, 0);
2743 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2746 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2777 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2780 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2782 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
2785 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2802 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, toValue);
2812 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, newLenHandle, true);
2851 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2854 int64_t sourceLen = ArrayHelper::GetLength(thread, thisObjVal);
2880 ArrayHelper::FlattenIntoArray(thread, newArrayHandle, thisObjVal, args,
2901 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2904 int64_t sourceLen = ArrayHelper::GetLength(thread, thisObjVal);
2920 ArrayHelper::FlattenIntoArray(thread, newArrayHandle, thisObjVal, args,
2940 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2944 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
2986 kValueHandle.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, key).GetTaggedValue());
3013 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3016 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
3043 JSHandle<JSTaggedValue> element = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
3061 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3063 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
3108 fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
3187 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3189 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
3256 JSHandle<JSTaggedValue> iValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, i);
3286 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, from);
3315 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3318 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
3345 if (thisObjVal->IsStableJSArray(thread)) {
3356 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
3362 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
3388 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3391 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
3415 if (thisObjVal->IsStableJSArray(thread)) {
3427 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k);
3433 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
3459 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
3462 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
3488 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);