Lines Matching defs:thisObjVal

409     JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
529 JSHandle<JSTaggedValue> &thisObjVal,
540 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
544 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
547 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
553 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
583 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
609 if (thisObjVal->IsStableJSArray(thread)) {
616 return CheckElementForEvery(thread, thisObjVal, callbackFnHandle, thisArgHandle, k);
636 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
639 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
668 if (thisObjVal->IsStableJSArray(thread)) {
677 JSTaggedValue::HasProperty(thread, thisObjVal, k));
681 kValue.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, key));
688 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
712 JSHandle<JSTaggedValue> thisObjVal = GetThis(argv);
713 if (!thisObjVal->IsJSSharedArray()) {
717 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisObjVal);
718 [[maybe_unused]] ConcurrentApiScope<JSSharedArray, ModType::WRITE> scope(thread, thisObjVal);
720 if (thisObjVal->IsJSSharedArray()) {
739 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) {
740 ContentType contentType = JSHandle<JSTypedArray>::Cast(thisObjVal)->GetContentType();
750 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
793 if (thisObjVal->IsStableJSArray(thread) && !startArg->IsJSObject() && !endArg->IsJSObject()) {
798 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) {
799 bool result = JSTypedArray::FastTypedArrayFill(thread, thisObjVal, value, start, end);
810 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, key, value);
820 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, JSHandle<JSObject> newArrayHandle,
829 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
832 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
838 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
871 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
874 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
914 if (thisObjVal->IsStableJSArray(thread)) {
919 FilterUnStableJSArray(thread, thisArgHandle, thisObjVal, k, len, toIndex, newArrayHandle, callbackFnHandle);
942 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
945 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
970 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
978 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1009 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1012 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetLength(thread, thisObjVal));
1036 if (thisObjVal->IsStableJSArray(thread)) {
1047 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
1053 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1084 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1087 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal));
1113 if (thisObjVal->IsStableJSArray(thread)) {
1120 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
1123 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
1129 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1147 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1149 int64_t length = ArrayHelper::GetLength(thread, thisObjVal);
1159 return IndexOfSlowPath(argv, thread, thisObjVal, length, fromIndex);
1163 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal,
1174 bool found = ArrayHelper::ElementIsStrictEqualTo(thread, thisObjVal, keyHandle, target);
1263 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1266 int64_t rawLen = ArrayHelper::GetArrayLength(thread, thisObjVal);
1304 if (thisObjVal->IsStableJSArray(thread)) {
1313 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
1316 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
1322 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue());
1376 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1379 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1406 JSTaggedValue::GetProperty(thread, thisObjVal, indexHandle, SCheckMode::SKIP).GetValue();
1408 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, indexHandle);
1441 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1444 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1466 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, key, kValue);
1483 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator,
1490 bool exists = (thisHandle->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, k));
1493 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
1503 thisObjVal.GetTaggedValue());
1532 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1535 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
1572 JSTaggedValue::HasProperty(thread, thisObjVal, k));
1575 accumulator.Update(JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k).GetTaggedValue());
1585 if (thisObjVal->IsStableJSArray(thread)) {
1589 auto opResult = ReduceUnStableJSArray(thread, thisHandle, thisObjVal, k, len, accumulator, callbackFnHandle);
1615 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1618 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1635 JSTaggedValue::GetProperty(thread, thisObjVal, firstKey, SCheckMode::SKIP).GetValue();
1657 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k);
1660 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
1662 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, k - 1, fromValue);
1666 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
1673 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, deleteKey);
1705 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1708 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1792 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, key);
1796 JSHandle<JSTaggedValue> kValueHandle = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, key);
1869 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
1871 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
1943 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
1946 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
1984 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
1987 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
1989 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
1992 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2001 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, deleteKey);
2026 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2029 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2031 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
2034 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2051 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, key, itemValue);
2084 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2088 JSHandle<JSTaggedValue> callbackFnHandle = JSTaggedValue::GetProperty(thread, thisObjVal, joinKey).GetValue();
2104 EcmaInterpreter::NewRuntimeCallInfo(thread, callbackFnHandle, thisObjVal, undefined, argsLength);
2132 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2135 int64_t len = ArrayHelper::GetArrayLength(thread, thisObjVal);
2166 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey);
2169 JSHandle<JSTaggedValue> fromValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, fromKey);
2171 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValue);
2174 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey);
2195 JSSharedArray::FastSetPropertyByValue(thread, thisObjVal, toKey, toValue);
2315 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2319 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
2361 kValueHandle.Update(JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, key).GetTaggedValue());
2395 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2398 int64_t len = ArrayHelper::GetLength(thread, thisObjVal);
2425 JSHandle<JSTaggedValue> element = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k);
2528 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle);
2530 int64_t length = ArrayHelper::GetLength(thread, thisObjVal);
2540 return LastIndexOfSlowPath(argv, thread, thisObjVal, fromIndex);
2544 const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex)
2554 bool found = ArrayHelper::ElementIsStrictEqualTo(thread, thisObjVal, keyHandle, target);