/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_array.cpp | 489 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Concat() 594 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in CopyWithin() 597 int64_t len = ArrayHelper::GetLength(thread, thisObjVal); in CopyWithin() 683 bool exists = (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray() || in CopyWithin() 684 JSTaggedValue::HasProperty(thread, thisObjVal, fromKey)); in CopyWithin() 687 JSHandle<JSTaggedValue> fromValHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in CopyWithin() 689 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, fromValHandle); in CopyWithin() 692 if (thisObjVal->IsJSProxy()) { in CopyWithin() 696 JSTaggedValue::DeletePropertyOrThrow(thread, thisObjVal, toKe in CopyWithin() 895 FilterUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisArgHandle, JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, JSHandle<JSObject> newArrayHandle, JSHandle<JSTaggedValue> &callbackFnHandle) FilterUnStableJSArray() argument 1249 IndexOfSlowPath( EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t length, int64_t fromIndex) IndexOfSlowPath() argument 1457 LastIndexOfSlowPath( EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex) LastIndexOfSlowPath() argument 1554 MapUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisArgHandle, JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSHandle<JSObject> newArrayHandle, JSHandle<JSTaggedValue> &callbackFnHandle) MapUnStableJSArray() argument 1700 ReduceUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisHandle, JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator, JSHandle<JSTaggedValue> &callbackFnHandle) ReduceUnStableJSArray() argument [all...] |
H A D | builtins_shared_array.cpp | 409 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Concat() 529 JSHandle<JSTaggedValue> &thisObjVal, in CheckElementForEvery() 540 uint64_t len = static_cast<uint64_t>(ArrayHelper::GetArrayLength(thread, thisObjVal)); in CheckElementForEvery() 544 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, k); in CheckElementForEvery() 547 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); in CheckElementForEvery() 553 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in CheckElementForEvery() 583 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every() 609 if (thisObjVal->IsStableJSArray(thread)) { in Every() 616 return CheckElementForEvery(thread, thisObjVal, callbackFnHandle, thisArgHandle, k); in Every() 636 JSHandle<JSTaggedValue> thisObjVal(thisObjHandl in Some() 528 CheckElementForEvery(JSThread *thread, JSHandle<JSTaggedValue> &thisObjVal, JSHandle<JSTaggedValue> &callbackFnHandle, JSHandle<JSTaggedValue> &thisArgHandle, uint32_t &k) CheckElementForEvery() argument 712 JSHandle<JSTaggedValue> thisObjVal = GetThis(argv); Fill() local 819 FilterUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisArgHandle, JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, JSHandle<JSObject> newArrayHandle, JSHandle<JSTaggedValue> &callbackFnHandle) FilterUnStableJSArray() argument 1162 IndexOfSlowPath( EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t length, int64_t fromIndex) IndexOfSlowPath() argument 1482 ReduceUnStableJSArray(JSThread *thread, JSHandle<JSTaggedValue> &thisHandle, JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator, JSHandle<JSTaggedValue> &callbackFnHandle) ReduceUnStableJSArray() argument 2543 LastIndexOfSlowPath(EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex) LastIndexOfSlowPath() argument [all...] |
H A D | builtins_array.h | 231 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator, 235 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, 239 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSHandle<JSObject> newArrayHandle, 262 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, 270 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex);
|
H A D | builtins_shared_array.h | 177 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, JSMutableHandle<JSTaggedValue> &accumulator, 181 JSHandle<JSTaggedValue> &thisObjVal, int64_t k, int64_t len, uint32_t toIndex, 210 EcmaRuntimeCallInfo *argv, JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, 216 const JSHandle<JSTaggedValue> &thisObjVal, int64_t fromIndex); 236 JSHandle<JSTaggedValue> &thisObjVal,
|
H A D | builtins_typedarray.cpp | 504 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every() 537 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in Every() 543 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in Every() 571 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Fill() 572 int64_t len = JSHandle<JSTypedArray>::Cast(thisObjVal)->GetArrayLength(); in Fill() 577 if (thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray()) { in Fill() 578 ContentType contentType = JSHandle<JSTypedArray>::Cast(thisObjVal)->GetContentType(); in Fill() 632 if (thisObjVal->IsTypedArray() || thisObjVal in Fill() [all...] |
H A D | builtins_shared_typedarray.cpp | 482 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every() 515 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in Every() 521 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in Every() 685 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in ForEach() 716 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in ForEach() 722 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in ForEach() 1000 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Reverse() 1028 lowerValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, lowerP); in Reverse() 1030 upperValueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, upperP); in Reverse() 1031 JSArray::FastSetPropertyByValue(thread, thisObjVal, lower in Reverse() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_stable_array.cpp | 97 JSHandle<JSTaggedValue> thisObjVal(receiver); in Pop() 98 result.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, index).GetTaggedValue()); in Pop() 128 JSHandle<JSTaggedValue> thisObjVal(receiver); in Pop() 129 result.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, index).GetTaggedValue()); in Pop() 160 EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisObjVal, in UpdateArrayCapacity() 207 JSTaggedValue::SetProperty(thread, thisObjVal, lengthKey, newLenHandle, true); in UpdateArrayCapacity() 220 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Splice() 233 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, fromKey); in Splice() 236 JSHandle<JSTaggedValue> fromValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, fromKey); in Splice() 255 thread, needTransition, holeHandle, argv, thisObjVal, lengthKe in Splice() 155 UpdateArrayCapacity(JSHandle<JSObject> &thisObjHandle, uint32_t &len, uint32_t &insertCount, uint32_t &actualDeleteCount, JSHandle<JSArray> &receiver, uint32_t &start, JSThread *thread, bool &needTransition, JSHandle<JSTaggedValue> &holeHandle, EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisObjVal, JSHandle<JSTaggedValue> &lengthKey) UpdateArrayCapacity() argument [all...] |
H A D | js_stable_array.h | 136 EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisObjVal,
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | array_helper.cpp | 101 bool ArrayHelper::ElementIsStrictEqualTo(JSThread *thread, const JSHandle<JSTaggedValue> &thisObjVal, in ElementIsStrictEqualTo() argument 105 bool exists = thisObjVal->IsTypedArray() || thisObjVal->IsSharedTypedArray() || in ElementIsStrictEqualTo() 106 JSTaggedValue::HasProperty(thread, thisObjVal, keyHandle); in ElementIsStrictEqualTo() 111 JSHandle<JSTaggedValue> valueHandle = JSArray::FastGetPropertyByValue(thread, thisObjVal, keyHandle); in ElementIsStrictEqualTo() 278 const JSHandle<JSTaggedValue> &thisObjVal, const FlattenArgs &args, in FlattenIntoArray() 326 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, p); in FlattenIntoArray() 329 element.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, p).GetTaggedValue()); in FlattenIntoArray() 337 info->SetCallArg(element.GetTaggedValue(), p.GetTaggedValue(), thisObjVal.GetTaggedValue()); in FlattenIntoArray() 277 FlattenIntoArray(JSThread *thread, const JSHandle<JSObject> &newArrayHandle, const JSHandle<JSTaggedValue> &thisObjVal, const FlattenArgs &args, const JSHandle<JSTaggedValue> &mapperFunctionHandle, const JSHandle<JSTaggedValue> &thisArg) FlattenIntoArray() argument
|
H A D | array_helper.h | 70 const JSHandle<JSTaggedValue> &thisObjVal, const FlattenArgs &args,
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs.cpp | 465 JSHandle<JSTaggedValue> thisObjVal = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the one parameter in DEF_RUNTIME_STUBS() local 474 JSTaggedValue ret = builtins::BuiltinsArray::ReduceUnStableJSArray(thread, thisHandle, thisObjVal, k, len, in DEF_RUNTIME_STUBS() 503 JSHandle<JSTaggedValue> thisObjVal = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the one parameter in DEF_RUNTIME_STUBS() local 514 JSTaggedValue ret = builtins::BuiltinsArray::FilterUnStableJSArray(thread, thisArgHandle, thisObjVal, k, len, in DEF_RUNTIME_STUBS() 523 JSHandle<JSTaggedValue> thisObjVal = GetHArg<JSTaggedValue>(argv, argc, 1); // 1: means the one parameter in DEF_RUNTIME_STUBS() local 532 JSTaggedValue ret = builtins::BuiltinsArray::MapUnStableJSArray(thread, thisArgHandle, thisObjVal, k, len, in DEF_RUNTIME_STUBS() 3915 JSHandle<JSTaggedValue> thisObjVal(thread, thisValue); in IsFastRegExp() 3916 return builtins::BuiltinsRegExp::IsFastRegExp(thread, thisObjVal); in IsFastRegExp() 3924 JSHandle<JSTaggedValue> thisObjVal = GetHArg<JSTaggedValue>(argv, argc, 2); // 2: means the second parameter in DEF_RUNTIME_STUBS() local 3932 bool exists = JSTaggedValue::HasProperty(thread, thisObjVal, in DEF_RUNTIME_STUBS() [all...] |