Searched refs:srcArray (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_lightweightset.cpp | 383 void JSAPILightWeightSet::AdjustArray(JSThread *thread, JSHandle<TaggedArray> srcArray, uint32_t fr… in AdjustArray() argument 390 JSTaggedValue value = srcArray->Get(idx); in AdjustArray() 391 srcArray->Set(thread, idx + 1, value); in AdjustArray() 399 JSTaggedValue value = srcArray->Get(fromIndex + i); in AdjustArray() 400 srcArray->Set(thread, toIndex + i, value); in AdjustArray() 402 srcArray->Set(thread, toIndex + i, JSTaggedValue::Hole()); in AdjustArray()
|
| D | js_api_plain_array.cpp | 81 void JSAPIPlainArray::AdjustArray(JSThread *thread, TaggedArray *srcArray, int32_t fromIndex, in AdjustArray() argument 88 JSTaggedValue value = srcArray->Get(idx); in AdjustArray() 89 srcArray->Set(thread, idx + 1, value); in AdjustArray() 97 JSTaggedValue value = srcArray->Get(fromIndex + i); in AdjustArray() 98 srcArray->Set(thread, toIndex + i, value); in AdjustArray() 100 srcArray->Set(thread, toIndex + i, JSTaggedValue::Hole()); in AdjustArray()
|
| D | js_api_lightweightset.h | 48 …void AdjustArray(JSThread *thread, JSHandle<TaggedArray> srcArray, uint32_t fromIndex, uint32_t to…
|
| D | js_api_plain_array.h | 63 void AdjustArray(JSThread *thread, TaggedArray *srcArray, int32_t fromIndex, int32_t toIndex,
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | typed_array_helper.cpp | 185 JSHandle<JSTaggedValue> srcArray = BuiltinsBase::GetCallArg(argv, 0); in CreateFromTypedArray() local 186 JSHandle<JSTypedArray> srcObj(srcArray); in CreateFromTypedArray() 234 ContentType srcArrayContentType = JSHandle<JSTypedArray>::Cast(srcArray)->GetContentType(); in CreateFromTypedArray()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_factory.cpp | 2121 void ObjectFactory::RemoveElementByIndex(JSHandle<TaggedArray> &srcArray, in RemoveElementByIndex() argument 2126 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(*srcArray)); in RemoveElementByIndex() 2130 auto *addr = reinterpret_cast<JSTaggedType *>(ToUintPtr(srcArray->GetData()) + offset); in RemoveElementByIndex() 2138 srcArray->Set(thread_, index, srcArray->Get(index + 1)); in RemoveElementByIndex() 2142 srcArray->Set(thread_, effectiveLength - 1, JSTaggedValue::Hole()); in RemoveElementByIndex() 2145 JSHandle<TaggedArray> ObjectFactory::InsertElementByIndex(JSHandle<TaggedArray> &srcArray, in InsertElementByIndex() argument 2151 Region *region = Region::ObjectAddressToRange(reinterpret_cast<TaggedObject *>(*srcArray)); in InsertElementByIndex() 2155 auto *addr = reinterpret_cast<JSTaggedType *>(ToUintPtr(srcArray->GetData()) + offset); in InsertElementByIndex() 2163 JSTaggedValue oldValue = srcArray->Get(effectiveLength - 1); in InsertElementByIndex() 2164 srcArray->Set(thread_, effectiveLength, oldValue); in InsertElementByIndex() [all …]
|
| D | object_factory.h | 329 …void RemoveElementByIndex(JSHandle<TaggedArray> &srcArray, uint32_t index, uint32_t effectiveLengt… 330 …JSHandle<TaggedArray> InsertElementByIndex(JSHandle<TaggedArray> &srcArray, const JSHandle<JSTagge…
|
| /arkcompiler/ets_runtime/ecmascript/containers/ |
| D | containers_lightweightset.cpp | 513 JSHandle<TaggedArray> srcArray(thread, lightweightset->GetValues()); in ToArray() local 514 JSHandle<TaggedArray> dstElements = factory->NewAndCopyTaggedArray(srcArray, length, length); in ToArray()
|