Home
last modified time | relevance | path

Searched refs:thisObjVal (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_array.cpp418 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Concat() local
428 uint32_t arrLen = ArrayHelper::GetArrayLength(thread, thisObjVal); in Concat()
528 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in CopyWithin() local
531 int64_t len = ArrayHelper::GetLength(thread, thisObjVal); in CopyWithin()
617 …bool exists = (thisObjVal->IsTypedArray() || JSTaggedValue::HasProperty(thread, thisObjVal, fromKe… in CopyWithin()
620 …Handle<JSTaggedValue> fromValHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in CopyWithin()
622 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValHandle); in CopyWithin()
625 if (thisObjVal->IsJSProxy()) { in CopyWithin()
629 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKey); in CopyWithin()
671 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every() local
[all …]
Dbuiltins_typedarray.cpp495 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every() local
529 … JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in Every()
535 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in Every()
683 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in ForEach() local
715 … JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in ForEach()
721 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in ForEach()
1389 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Sort() local
/arkcompiler/ets_runtime/ecmascript/
Djs_stable_array.cpp94 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Splice() local
119 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey); in Splice()
122 … JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice()
181 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, newLenHandle, true); in Splice()
313 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in HandleFindIndexOfStable() local
315 uint64_t len = static_cast<uint64_t>(base::ArrayHelper::GetArrayLength(thread, thisObjVal)); in HandleFindIndexOfStable()
327 info->SetCallArg(kValue.GetTaggedValue(), JSTaggedValue(k), thisObjVal.GetTaggedValue()); in HandleFindIndexOfStable()
336 if (base::ArrayHelper::GetArrayLength(thread, thisObjVal) > static_cast<int64_t>(len)) { in HandleFindIndexOfStable()
340 if (!thisObjVal->IsStableJSArray(thread)) { in HandleFindIndexOfStable()
351 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in HandleFindLastIndexOfStable() local
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Darray_helper.cpp157 … const JSHandle<JSTaggedValue> &thisObjVal, const FlattenArgs &args, in FlattenIntoArray() argument
202 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, p); in FlattenIntoArray()
205 element.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, p).GetTaggedValue()); in FlattenIntoArray()
213 … info->SetCallArg(element.GetTaggedValue(), p.GetTaggedValue(), thisObjVal.GetTaggedValue()); in FlattenIntoArray()
274 JSHandle<JSTaggedValue> thisObjVal(thisObj); in SortIndexedProperties() local
280 kRead = JSTaggedValue::HasProperty(thread, thisObjVal, pk); in SortIndexedProperties()
287 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in SortIndexedProperties()
Darray_helper.h42 … const JSHandle<JSTaggedValue> &thisObjVal, const FlattenArgs &args,