Home
last modified time | relevance | path

Searched defs:newArray (Results 1 – 25 of 38) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
Dhandle_leak_test.cpp97 static void HeandleLeakTestCommon(const EcmaVM *instance, JSHandle<TaggedArray>& newArray) in HeandleLeakTestCommon()
117 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
137 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
Djs_verification_test.cpp72 …auto newArray = objectFactory->NewTaggedArray(1, JSTaggedValue::Undefined(), MemSpaceType::SEMI_SP… in HWTEST_F_L0() local
94 …auto newArray = objectFactory->NewTaggedArray(5, JSTaggedValue::Undefined(), MemSpaceType::SEMI_SP… in HWTEST_F_L0() local
Dmem_controller_test.cpp83 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
144 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
178 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
Dtagged_array_test.cpp32 JSHandle<JSObject> newArray = in JSArrayTestCreate() local
Djs_api_plain_array_test.cpp147 JSHandle<JSAPIPlainArray> newArray(thread, CreatePlainArray()); in HWTEST_F_L0() local
Djs_api_lightweightset_test.cpp297 JSHandle<TaggedArray> newArray(thread, lws->GetValues(thread)); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/ic/
Dproto_change_details.cpp56 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), newCapacity); in Add() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_array.cpp117 auto newArray = JSArray::CreateArrayFromList(thread, newTarget, elements); in ArrayConstructor() local
127 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedVa… in ArrayConstructor() local
219 JSTaggedValue newArray; in From() local
338 JSTaggedValue newArray; in From() local
425 JSHandle<JSTaggedValue> newArray; in Of() local
492 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Concat() local
973 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Filter() local
1529 JSTaggedValue newArray = in Map() local
2209 JSTaggedValue newArray = in Slice() local
2443 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in Splice() local
[all …]
Dbuiltins_shared_array.cpp61 …JSTaggedValue newArray = JSSharedArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTa… in ArrayConstructor() local
278 JSTaggedValue newArray; in From() local
390 JSTaggedValue newArray; in From() local
484 JSTaggedValue newArray; in Create() local
644 …JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(0… in Concat() local
933 …JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(0… in Filter() local
1330 JSTaggedValue newArray = in Map() local
1717 JSTaggedValue newArray = in Slice() local
1846 JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate( in Splice() local
2616 JSHandle<JSTaggedValue> newArray; in Of() local
/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.cpp136 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local
145 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
Djs_map_iterator.cpp124 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
Djs_function.cpp1096 …JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(nativeFieldCount + RESOLVED_MAX_… in SetFunctionExtraInfo() local
1106 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(RESOLVED_MAX_SIZE); in SetFunctionExtraInfo() local
1138 JSHandle<TaggedArray> newArray = in SetSFunctionExtraInfo() local
1149 … JSHandle<TaggedArray> newArray = vm->GetFactory()->NewSTaggedArrayWithoutInit(RESOLVED_MAX_SIZE); in SetSFunctionExtraInfo() local
Dproperty_accessor.cpp149 … JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() local
Dshared_object_factory.cpp438 JSHandle<TaggedArray> newArray(thread_, header); in CopySArray() local
466 JSHandle<TaggedArray> newArray(thread_, header); in ExtendSArray() local
Djs_array.cpp110 JSHandle<JSArray> newArray(obj); in ArrayCreate() local
955 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Doptimize_string_concat.cpp156 Inst *CreateLenArray(Graph *graph, Inst *newArray) in CreateLenArray()
271 bool OptimizeStringConcat::HasStoreArrayUsersOnly(Inst *newArray, Inst *removable) in HasStoreArrayUsersOnly()
Dstring_builder_utils.cpp498 Inst *GetArrayLengthConstant(Inst *newArray) in GetArrayLengthConstant()
513 bool CollectArrayElements(Inst *newArray, InstVector &arrayElements) in CollectArrayElements()
Dreserve_string_builder_buffer.cpp161 auto newArray = storeObject->GetInput(1).GetInst()->CastToNewArray(); in ReplaceInitialBufferSizeConstantInlined() local
/arkcompiler/ets_runtime/ecmascript/module/
Djs_shared_module.cpp156 JSHandle<TaggedArray> newArray = thread->GetEcmaVM()->GetFactory()->NewSTaggedArray(newLength); in GenerateSharedExports() local
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.cpp208 JSHandle<TaggedArray> newArray = factory->CopySArray(array, oldLength, capa); in SetCapacity() local
535 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DarrayLiteralLowering.cpp214 std::string newArray = "let @@I1 = new Array<@@T2>(@@I3 as number)"; in TryTransformNewMultiDimArrayToRefArray() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder_next_optimization.cpp969 void BuiltinsArrayStubBuilder::FastToSpliced(GateRef glue, GateRef thisValue, GateRef newArray, Gat… in FastToSpliced()
1139 GateRef newArray = NewArrayWithHClass(glue, newHClass, *newLen); in ToSplicedOptimised() local
1146 GateRef newArray = NewArray(glue, Int32(0)); in ToSplicedOptimised() local
1996 GateRef newArray = NewArray(glue, *count); in SliceOptimised() local
2169 void BuiltinsArrayStubBuilder::FastArrayWith(GateRef glue, GateRef thisValue, GateRef newArray, in FastArrayWith()
2272 … GateRef newArray = NewArrayWithHClass(glue, newHClass, TruncInt64ToInt32(thisLen)); in WithOptimised() local
2279 GateRef newArray = NewArray(glue, Int32(0)); in WithOptimised() local
2434 GateRef newArray = newBuilder.NewJSArrayWithSize(intialHClass, sumArrayLen); in DoConcat() local
Dbuiltins_typedarray_stub_builder.cpp1486 …GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArra… in Filter() local
1592 …GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArra… in Slice() local
1658 Label newArray(env); in SubArray() local
1728 …GateRef newArray = newBuilder.NewTypedArraySameType(glue, thisValue, jsType, TruncInt64ToInt32(thi… in With() local
2477 …GateRef newArray = newBuilder.NewTypedArraySameType(glue, thisValue, jsType, TruncInt64ToInt32(thi… in ToSorted() local
2657 … GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); in Map() local
2722 …GateRef newArray = newBuilder.NewTypedArraySameType(glue, thisValue, arrayType, TruncInt64ToInt32(… in ToReversed() local
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightmap.cpp51 JSHandle<TaggedArray> newArray = GrowCapacity(thread, array, len + 1); in InsertValue() local
416 JSHandle<TaggedArray> newArray = factory->CopyArray(oldArray, oldLength, newCapacity); in GrowCapacity() local
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dprofile_type_info_test.cpp77 JSHandle<JSTaggedValue> newArray(factory->NewTaggedArray(2)); // 2 : test case in HWTEST_F_L0() local

12