Home
last modified time | relevance | path

Searched refs:thisObjHandle (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_stable_array.cpp35 JSHandle<JSObject> thisObjHandle(receiver); in Push()
38 if (newLength > ElementAccessor::GetElementsLength(thisObjHandle)) { in Push()
44 ElementAccessor::Set(thread, thisObjHandle, oldLength + k, value, needTransition); in Push()
57 JSHandle<JSObject> thisObjHandle(receiver); in Push()
60 if (newLength > ElementAccessor::GetElementsLength(thisObjHandle)) { in Push()
66 ElementAccessor::Set(thread, thisObjHandle, oldLength + k, value, needTransition); in Push()
136 JSThread *thread, uint32_t &start, JSHandle<JSObject> &thisObjHandle, in HandleArray()
145 if ((start + idx) >= ElementAccessor::GetElementsLength(thisObjHandle)) { in HandleArray()
148 JSHandle<JSTaggedValue> valueHandle(thread, ElementAccessor::Get(thisObjHandle, start + idx)); in HandleArray()
155 JSTaggedValue JSStableArray::UpdateArrayCapacity(JSHandle<JSObject> &thisObjHandle, uint32_ argument
135 HandleArray(JSHandle<JSObject> &newArrayHandle, uint32_t &actualDeleteCount, JSThread *thread, uint32_t &start, JSHandle<JSObject> &thisObjHandle, JSHandle<JSTaggedValue> &holeHandle) HandleArray() argument
580 HandleFindIndexOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle, JSHandle<JSTaggedValue> callbackFnHandle, JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k) HandleFindIndexOfStable() argument
624 HandleFindLastIndexOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle, JSHandle<JSTaggedValue> callbackFnHandle, JSHandle<JSTaggedValue> thisArgHandle, int64_t &k) HandleFindLastIndexOfStable() argument
667 HandleEveryOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle, JSHandle<JSTaggedValue> callbackFnHandle, JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k) HandleEveryOfStable() argument
712 HandleSomeOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle, JSHandle<JSTaggedValue> callbackFnHandle, JSHandle<JSTaggedValue> thisArgHandle, uint32_t &k) HandleSomeOfStable() argument
757 HandleforEachOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle, JSHandle<JSTaggedValue> callbackFnHandle, JSHandle<JSTaggedValue> thisArgHandle, uint32_t len, uint32_t &k) HandleforEachOfStable() argument
[all...]
H A Djs_stable_array.h43 static JSTaggedValue HandleFindIndexOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle,
46 static JSTaggedValue HandleFindLastIndexOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle,
49 static JSTaggedValue HandleEveryOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle,
52 static JSTaggedValue HandleSomeOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle,
55 static JSTaggedValue HandleforEachOfStable(JSThread *thread, JSHandle<JSObject> thisObjHandle,
62 static JSTaggedValue Filter(JSHandle<JSObject> newArrayHandle, JSHandle<JSObject> thisObjHandle,
64 static JSTaggedValue Map(JSHandle<JSObject> newArrayHandle, JSHandle<JSObject> thisObjHandle,
66 static JSTaggedValue Reverse(JSThread *thread, JSHandle<JSObject> thisObjHandle,
71 JSHandle<JSObject> thisObjHandle, int64_t &k, int64_t &n);
83 static JSTaggedValue Reduce(JSThread *thread, JSHandle<JSObject> thisObjHandle,
[all...]
H A Djs_array.cpp674 void JSArray::SortElementsByObject(JSThread *thread, const JSHandle<JSObject> &thisObjHandle, in SortElementsByObject() argument
682 uint32_t len = ElementAccessor::GetElementsLength(thisObjHandle); in SortElementsByObject()
686 presentValue.Update(ElementAccessor::Get(thisObjHandle, i)); in SortElementsByObject()
689 middleValue.Update(ElementAccessor::Get(thisObjHandle, middleIndex)); in SortElementsByObject()
701 previousValue.Update(ElementAccessor::Get(thisObjHandle, j - 1)); in SortElementsByObject()
702 ElementAccessor::Set(thread, thisObjHandle, j, previousValue, false); in SortElementsByObject()
704 ElementAccessor::Set(thread, thisObjHandle, endIndex, presentValue, false); in SortElementsByObject()
H A Djs_array.h120 static void SortElementsByObject(JSThread *thread, const JSHandle<JSObject> &thisObjHandle,
H A Dobject_factory.h367 JSHandle<JSObject> NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength,
374 JSHandle<TaggedArray> NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength,
376 JSHandle<MutantTaggedArray> NewAndCopyMutantTaggedArrayByObject(JSHandle<JSObject> thisObjHandle,
H A Dobject_factory.cpp2662 JSHandle<JSObject> ObjectFactory::NewAndCopyJSArrayObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyJSArrayObject() argument
2673 JSHandle<JSTaggedValue> value(thread_, ElementAccessor::Get(thisObjHandle, i + k)); in NewAndCopyJSArrayObject()
2682 JSHandle<TaggedArray> ObjectFactory::NewAndCopyTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, uint32_t newLength, in NewAndCopyTaggedArrayByObject() argument
2688 TaggedArray *srcElements = TaggedArray::Cast(thisObjHandle->GetElements().GetTaggedObject()); in NewAndCopyTaggedArrayByObject()
2695 dstElements->Set(thread_, i, ElementAccessor::Get(thisObjHandle, i + k)); in NewAndCopyTaggedArrayByObject()
2703 JSHandle<MutantTaggedArray> ObjectFactory::NewAndCopyMutantTaggedArrayByObject(JSHandle<JSObject> thisObjHandle, in NewAndCopyMutantTaggedArrayByObject() argument
2710 MutantTaggedArray *srcElements = MutantTaggedArray::Cast(thisObjHandle->GetElements().GetTaggedObject()); in NewAndCopyMutantTaggedArrayByObject()
2716 ElementsKind kind = thisObjHandle->GetClass()->GetElementsKind(); in NewAndCopyMutantTaggedArrayByObject()
2718 ElementAccessor::Get(thisObjHandle, i + k), kind)); in NewAndCopyMutantTaggedArrayByObject()
2722 ElementsKind kind = thisObjHandle in NewAndCopyMutantTaggedArrayByObject()
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_shared_array.cpp406 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Concat() local
409 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Concat()
413 JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); in Concat()
430 ele.Update(thisObjHandle.GetTaggedValue()); in Concat()
580 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() local
583 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every()
610 callResult = JSStableArray::HandleEveryOfStable(thread, thisObjHandle, callbackFnHandle, thisArgHandle, k); in Every()
633 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Some() local
636 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Some()
669 callResult = JSStableArray::HandleSomeOfStable(thread, thisObjHandle, callbackFnHandl in Some()
717 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisObjVal); Fill() local
867 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Filter() local
938 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Find() local
1005 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); FindIndex() local
1080 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ForEach() local
1144 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); IndexOfSlowPath() local
1259 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Map() local
1355 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Pop() local
1363 PopInner(EcmaRuntimeCallInfo *argv, JSHandle<JSTaggedValue> &thisHandle, JSHandle<JSObject> &thisObjHandle) PopInner() argument
1438 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Push() local
1528 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Reduce() local
1607 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Shift() local
1701 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Slice() local
1835 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Sort() local
1864 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Splice() local
2080 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToString() local
2128 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Unshift() local
2310 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Includes() local
2392 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); At() local
2446 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ShrinkTo() local
2485 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ExtendTo() local
2525 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); LastIndexOfSlowPath() local
[all...]
H A Dbuiltins_array.cpp487 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Concat() local
489 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Concat()
493 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); in Concat()
512 ele.Update(thisObjHandle.GetTaggedValue()); in Concat()
591 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, GetThis(argv)); in CopyWithin() local
594 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in CopyWithin()
705 return thisObjHandle.GetTaggedValue(); in CopyWithin()
735 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() local
738 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every()
770 callResult = JSStableArray::HandleEveryOfStable(thread, thisObjHandle, callbackFnHandl in Every()
813 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Fill() local
940 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Filter() local
1003 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Find() local
1065 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); FindIndex() local
1136 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ForEach() local
1231 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); IndexOfSlowPath() local
1306 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Join() local
1439 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); LastIndexOfSlowPath() local
1503 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Map() local
1597 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Pop() local
1653 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Push() local
1742 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Reduce() local
1761 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ReduceInner() local
1829 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ReduceRight() local
1851 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ReduceRightInner() local
1959 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Reverse() local
2075 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Shift() local
2164 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Slice() local
2287 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Some() local
2373 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Sort() local
2397 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Splice() local
2606 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToLocaleString() local
2700 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToString() local
2740 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Unshift() local
2847 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Flat() local
2899 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); FlatMap() local
2936 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Includes() local
3010 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); At() local
3059 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); With() local
3136 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToSorted() local
3184 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToSpliced() local
3312 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); FindLast() local
3385 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); FindLastIndex() local
3456 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToReversed() local
[all...]
H A Dbuiltins_typedarray.cpp501 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() local
504 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every()
507 uint32_t len = JSHandle<JSTypedArray>::Cast(thisObjHandle)->GetArrayLength(); in Every()
565 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Fill() local
571 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Fill()
636 return thisObjHandle.GetTaggedValue(); in Fill()
650 return thisObjHandle.GetTaggedValue(); in Fill()
772 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() local
775 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in ForEach()
778 uint32_t len = JSHandle<JSTypedArray>::Cast(thisObjHandle) in ForEach()
1076 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Reduce() local
1100 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ReduceRight() local
1123 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Reverse() local
1625 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); Sort() local
1848 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); At() local
2064 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); ToReversed() local
[all...]
H A Dbuiltins_shared_typedarray.cpp477 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Every() local
482 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Every()
484 uint32_t len = JSHandle<JSTypedArray>::Cast(thisObjHandle)->GetArrayLength(); in Every()
680 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in ForEach() local
685 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in ForEach()
687 uint32_t len = JSHandle<JSTypedArray>::Cast(thisObjHandle)->GetArrayLength(); in ForEach()
995 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in Reverse() local
1000 JSHandle<JSTaggedValue> thisObjVal(thisObjHandle); in Reverse()
1039 return thisObjHandle.GetTaggedValue(); in Reverse()
1468 JSHandle<JSObject> thisObjHandle in Sort() local
1703 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); At() local
[all...]
H A Dbuiltins_shared_array.h194 JSHandle<JSObject> &thisObjHandle);
H A Dbuiltins_object.cpp1136 JSHandle<JSObject> thisObjHandle = JSHandle<JSObject>::Cast(thisHandle); in CreateDataPropertyOnObjectFunctions() local
1150 JSObject::CreateDataPropertyOrThrow(thread, thisObjHandle, propertyKey, value); in CreateDataPropertyOnObjectFunctions()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_stable_array_test.cpp160 JSHandle<JSObject> thisObjHandle(handleArr); in HWTEST_F_L0()
161 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in HWTEST_F_L0()
164 uint32_t len = JSHandle<JSArray>::Cast(thisObjHandle)->GetArrayLength(); in HWTEST_F_L0()
166 JSStableArray::Splice(JSHandle<JSArray>::Cast(thisObjHandle), ecmaRuntimeCallInfo, offsetStartInsert, in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
H A Djs_shared_array.h162 static void SortElementsByObject(JSThread *thread, const JSHandle<JSObject> &thisObjHandle,
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3662 JSHandle<JSObject> thisObjHandle = JSTaggedValue::ToObject(thread, thisHandle); in RuntimeArraySort() local
3666 int64_t len = ArrayHelper::GetArrayLength(thread, JSHandle<JSTaggedValue>(thisObjHandle)); in RuntimeArraySort()
3669 JSHandle<JSHClass> hclass(thread, thisObjHandle->GetClass()); in RuntimeArraySort()
3671 JSHandle<TaggedArray> elements(thread, thisObjHandle->GetElements()); in RuntimeArraySort()
3674 return ArrayNumberSort(thread, thisObjHandle, len); in RuntimeArraySort()
3679 JSArray::Sort(thread, JSHandle<JSTaggedValue>::Cast(thisObjHandle), callbackFnHandle); in RuntimeArraySort()
3681 return thisObjHandle.GetTaggedValue(); in RuntimeArraySort()

Completed in 39 milliseconds