Home
last modified time | relevance | path

Searched refs:CopyArray (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.cpp55 …JSHandle<TaggedArray> newVec = factory->CopyArray(JSHandle<TaggedArray>(old), VectorToArrayIndex(o… in Grow()
126 …JSHandle<TaggedArray> newVec = factory->CopyArray(JSHandle<TaggedArray>(vec), oldLength, newLength… in Copy()
Dvtable.cpp103 …JSHandle<TaggedArray> copyVtable = factory->CopyArray(JSHandle<TaggedArray>(vtable), length, lengt… in Copy()
Dtagged_array-inl.h156 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity()
166 factory->CopyArray(array, oldLength, capa, JSTaggedValue::Hole(), MemSpaceType::OLD_SPACE); in SetCapacityInOldSpace()
Djs_array.cpp485 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray()
491 auto newProps = factory->CopyArray(prop, prop->GetLength(), prop->GetLength(), in CheckAndCopyArray()
Dtagged_list.h44 void CopyArray(const JSThread *thread, JSHandle<Derived> &taggedList);
Djs_typed_array.cpp326 return factory->CopyArray(nameList, length, copyLength); in OwnPropertyKeys()
362 return factory->CopyArray(nameList, length, copyLength); in OwnEnumPropertyKeys()
Dtagged_list.cpp50 void TaggedList<Derived>::CopyArray(const JSThread *thread, JSHandle<Derived> &taggedList) in CopyArray() function in panda::ecmascript::TaggedList
75 taggedList->CopyArray(thread, list); in GrowCapacity()
Djs_object.cpp81 JSHandle<TaggedArray> newElements = factory->CopyArray(oldElements, oldLength, newCapacity); in GrowElementsCapacity()
1562 keys = factory->CopyArray(keyArray, copyLengthOfKeys, copyLengthOfKeys); in EnumerableOwnNames()
1564 keys = factory->CopyArray(elementArray, copyLengthOfElements, copyLengthOfElements); in EnumerableOwnNames()
1593 return factory->CopyArray(names, length, copyLength); in EnumerableOwnNames()
Dobject_fast_operator-inl.h533 array.Update(factory->CopyArray(array, length, capacity).GetTaggedValue()); in AddPropertyByName()
Djs_proxy.cpp828 … thread->GetEcmaVM()->GetFactory()->CopyArray(trapRes, trapRes->GetLength(), trapRes->GetLength()); in OwnPropertyKeys()
Dobject_factory.h365 …JSHandle<TaggedArray> CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength, uint32_t new…
Dobject_factory.cpp473 …auto newElements = CopyArray(elements, elementsLength, elementsLength, JSTaggedValue::Hole(), type… in CloneArrayLiteral()
496 …auto newProperties = CopyArray(properties, propertiesLength, propertiesLength, JSTaggedValue::Hole… in CloneArrayLiteral()
2392 JSHandle<TaggedArray> ObjectFactory::CopyArray(const JSHandle<TaggedArray> &old, uint32_t oldLength… in CopyArray() function in panda::ecmascript::ObjectFactory
2456 return JSHandle<LayoutInfo>(CopyArray(JSHandle<TaggedArray>::Cast(old), newLength, newLength)); in CopyLayoutInfo()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightset.cpp49 hashArray = thread->GetEcmaVM()->GetFactory()->CopyArray(hashArray, capacity, newCapacity); in Add()
50 … valueArray = thread->GetEcmaVM()->GetFactory()->CopyArray(valueArray, capacity, newCapacity); in Add()
164 hashArray = thread->GetEcmaVM()->GetFactory()->CopyArray(hashArray, capacity, newCapacity); in SizeCopy()
165 valueArray = thread->GetEcmaVM()->GetFactory()->CopyArray(valueArray, capacity, newCapacity); in SizeCopy()
Djs_api_stack.cpp92 thread->GetEcmaVM()->GetFactory()->CopyArray(oldElements, oldLength, newCapacity); in GrowCapacity()
Djs_api_plain_array.cpp49 thread->GetEcmaVM()->GetFactory()->CopyArray(keyArray, capacity, newCapacity); in Add()
51 thread->GetEcmaVM()->GetFactory()->CopyArray(valueArray, capacity, newCapacity); in Add()
Djs_api_vector.cpp90 thread->GetEcmaVM()->GetFactory()->CopyArray(elementData, oldCapacity, tempCapacity); in IncreaseCapacityTo()
366 thread->GetEcmaVM()->GetFactory()->CopyArray(elementData, oldCapacity, newCapacity); in GrowCapacity()
Djs_api_queue.cpp55 … newElements = thread->GetEcmaVM()->GetFactory()->CopyArray(oldElements, oldLength, newCapacity); in GrowCapacity()
Djs_api_arraylist.cpp370 thread->GetEcmaVM()->GetFactory()->CopyArray(oldElements, oldCapacity, newCapacity); in GrowCapacity()
Djs_api_lightweightmap.cpp406 JSHandle<TaggedArray> newArray = factory->CopyArray(oldArray, oldLength, newCapacity); in GrowCapacity()
/arkcompiler/runtime_core/compiler/tests/
Dvixl_exec_module.h144 void CopyArray(void *arr_data, T *array) in CopyArray() function
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h304 properties = factory->CopyArray(arrayHandle, capacity, in StoreWithTransition()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp226 DEF_RUNTIME_STUBS(CopyArray) in DEF_RUNTIME_STUBS() argument
228 RUNTIME_STUBS_HEADER(CopyArray); in DEF_RUNTIME_STUBS()
234 …return factory->CopyArray(array, length.GetInt(), capacity.GetInt()).GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
276 …properties = factory->CopyArray(arrayHandle, capacity, JSObject::ComputePropertyCapacity(capacity)… in DEF_RUNTIME_STUBS()
Druntime_stubs.h140 V(CopyArray) \
Druntime_stubs-inl.h2157 argv = factory->CopyArray(argv, argvMayMaxLength, argvIndex); in RuntimeGetCallSpreadArgs()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_object.cpp404 JSHandle<TaggedArray> resultList = factory->CopyArray(nameList, length, copyLength); in GetOwnPropertyKeys()

12