| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | handle_leak_test.cpp | 120 static void HeandleLeakTestCommon(const EcmaVM *instance, JSHandle<TaggedArray>& newArray) in HeandleLeakTestCommon() 140 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local 156 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local 176 …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 | 82 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local 161 [[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()); in HWTEST_F_L0() local
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | proto_change_details.cpp | 45 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), array->GetCa… in Add() local
|
| D | invoke_cache.cpp | 49 …JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length * step); // 2: newTarget and hcla… in SetPolyConstuctCacheSlot() local 145 JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length); in SetPolyInlineCallCacheSlot() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_array.cpp | 114 auto newArray = JSArray::CreateArrayFromList(thread, newTarget, elements); in ArrayConstructor() local 124 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedVa… in ArrayConstructor() local 216 JSTaggedValue newArray; in From() local 333 JSTaggedValue newArray; in From() local 422 JSHandle<JSTaggedValue> newArray; in Of() local 489 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Concat() local 957 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Filter() local 1517 JSTaggedValue newArray = in Map() local 2221 JSTaggedValue newArray = in Slice() local 2388 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in Splice() local [all …]
|
| D | builtins_shared_array.cpp | 66 …JSTaggedValue newArray = JSSharedArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTa… in ArrayConstructor() local 159 JSTaggedValue newArray; in From() local 252 JSTaggedValue newArray; in From() local 342 JSTaggedValue newArray; in Create() local 413 …JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(a… in Concat() local 715 …JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(a… in Filter() local 1106 JSTaggedValue newArray = in Map() local 1592 JSTaggedValue newArray = in Slice() local 1747 JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate( in Splice() local
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | optimize_string_concat.cpp | 97 Inst *GetArrayLength(Inst *newArray) in GetArrayLength() 179 Inst *CreateLenArray(Graph *graph, Inst *newArray) in CreateLenArray()
|
| D | reserve_string_builder_buffer.cpp | 161 auto newArray = storeObject->GetInput(1).GetInst()->CastToNewArray(); in ReplaceInitialBufferSizeConstantInlined() local
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | tagged_array.cpp | 152 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local 161 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
|
| D | js_map_iterator.cpp | 124 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
|
| D | property_accessor.cpp | 126 … JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() local
|
| D | js_function.cpp | 982 …JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(nativeFieldCount + RESOLVED_MAX_… in SetFunctionExtraInfo() local 992 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(RESOLVED_MAX_SIZE); in SetFunctionExtraInfo() local 1024 JSHandle<TaggedArray> newArray = in SetSFunctionExtraInfo() local 1035 … JSHandle<TaggedArray> newArray = vm->GetFactory()->NewSTaggedArrayWithoutInit(RESOLVED_MAX_SIZE); in SetSFunctionExtraInfo() local
|
| D | js_array.cpp | 102 JSHandle<JSArray> newArray(obj); in ArrayCreate() local 720 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
|
| D | shared_object_factory.cpp | 340 JSHandle<TaggedArray> newArray(thread_, header); in CopySArray() local 363 JSHandle<TaggedArray> newArray(thread_, header); in ExtendSArray() local
|
| D | object_factory.cpp | 501 JSHandle<TaggedArray> newArray(thread_, header); in CloneProperties() local 605 JSHandle<TaggedArray> newArray(thread_, header); in CloneProperties() local 2947 JSHandle<TaggedArray> newArray(thread_, header); in ExtendArray() local 2989 JSHandle<TaggedArray> newArray(thread_, header); in CopyPartArray() local 3034 JSHandle<TaggedArray> newArray(thread_, header); in CopyArray() local 3058 JSHandle<TaggedArray> newArray(thread_, header); in CopyFromEnumCache() local 3086 auto newArray = NewTaggedArrayWithoutInit(arrayLength, MemSpaceType::SEMI_SPACE); in ExtendLayoutInfo() local 4421 JSHandle<TaggedArray> newArray(thread_, header); in CopyDeque() local 4459 JSHandle<TaggedArray> newArray(thread_, header); in CopyQueue() 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 | 209 JSHandle<TaggedArray> newArray = factory->CopySArray(array, oldLength, capa); in SetCapacity() local 543 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
|
| /arkcompiler/ets_runtime/ecmascript/js_api/ |
| D | js_api_lightweightmap.cpp | 53 JSHandle<TaggedArray> newArray = GrowCapacity(thread, array, len + 1); in InsertValue() local 417 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
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_typedarray_stub_builder.cpp | 1509 …GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArra… in Filter() local 1614 …GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArra… in Slice() local 1680 Label newArray(env); in SubArray() local 1750 … GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); in With() local 2495 … GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); in ToSorted() local 2664 … GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); in Map() local 2721 …GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*thisArr… in ToReversed() local
|
| D | builtins_array_stub_builder.cpp | 115 GateRef newArray = NewArray(glue, Int32(0)); in With() local 485 … GateRef newArray = newBuilder.NewJSArrayWithSize(intialHClass, sumArrayLen); in Concat() local 601 GateRef newArray = NewArray(glue, len); in Filter() local 767 GateRef newArray = NewArray(glue, len); in Map() local 1307 GateRef newArray = NewArray(glue, *count); in Slice() local 2715 GateRef newArray = newBuilder.NewJSObject(glue, intialHClass); in From() local 2740 GateRef newArray = newBuilder.NewJSArrayWithSize(arrayCls, actualDeleteCount); in CreateSpliceDeletedArray() local 3125 GateRef newArray = NewArray(glue, Int32(0)); in ToSpliced() local 4859 GateRef newArray = NewArray(glue, *newArrLen); in FlatMap() local
|