| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | handle_leak_test.cpp | 97 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
|
| D | js_verification_test.cpp | 72 …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
|
| D | mem_controller_test.cpp | 83 [[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
|
| D | tagged_array_test.cpp | 32 JSHandle<JSObject> newArray = in JSArrayTestCreate() local
|
| D | js_api_plain_array_test.cpp | 147 JSHandle<JSAPIPlainArray> newArray(thread, CreatePlainArray()); in HWTEST_F_L0() local
|
| D | js_api_lightweightset_test.cpp | 297 JSHandle<TaggedArray> newArray(thread, lws->GetValues(thread)); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | proto_change_details.cpp | 56 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), newCapacity); in Add() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_array.cpp | 117 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 …]
|
| D | builtins_shared_array.cpp | 61 …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/ |
| D | tagged_array.cpp | 136 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local 145 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
|
| D | js_map_iterator.cpp | 124 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
|
| D | js_function.cpp | 1096 …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
|
| D | property_accessor.cpp | 149 … JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() local
|
| D | shared_object_factory.cpp | 438 JSHandle<TaggedArray> newArray(thread_, header); in CopySArray() local 466 JSHandle<TaggedArray> newArray(thread_, header); in ExtendSArray() local
|
| D | js_array.cpp | 110 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/ |
| D | optimize_string_concat.cpp | 156 Inst *CreateLenArray(Graph *graph, Inst *newArray) in CreateLenArray() 271 bool OptimizeStringConcat::HasStoreArrayUsersOnly(Inst *newArray, Inst *removable) in HasStoreArrayUsersOnly()
|
| D | string_builder_utils.cpp | 498 Inst *GetArrayLengthConstant(Inst *newArray) in GetArrayLengthConstant() 513 bool CollectArrayElements(Inst *newArray, InstVector &arrayElements) in CollectArrayElements()
|
| D | reserve_string_builder_buffer.cpp | 161 auto newArray = storeObject->GetInput(1).GetInst()->CastToNewArray(); in ReplaceInitialBufferSizeConstantInlined() local
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | js_shared_module.cpp | 156 JSHandle<TaggedArray> newArray = thread->GetEcmaVM()->GetFactory()->NewSTaggedArray(newLength); in GenerateSharedExports() local
|
| /arkcompiler/ets_runtime/ecmascript/shared_objects/ |
| D | js_shared_array.cpp | 208 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/ |
| D | arrayLiteralLowering.cpp | 214 std::string newArray = "let @@I1 = new Array<@@T2>(@@I3 as number)"; in TryTransformNewMultiDimArrayToRefArray() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_array_stub_builder_next_optimization.cpp | 969 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
|
| D | builtins_typedarray_stub_builder.cpp | 1486 …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/ |
| D | js_api_lightweightmap.cpp | 51 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/ |
| D | profile_type_info_test.cpp | 77 JSHandle<JSTaggedValue> newArray(factory->NewTaggedArray(2)); // 2 : test case in HWTEST_F_L0() local
|