Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/tests/
Dhandle_leak_test.cpp120 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
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.cpp82 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
161 [[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()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/ic/
Dproto_change_details.cpp45 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), array->GetCa… in Add() local
Dinvoke_cache.cpp49 …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/
Dbuiltins_array.cpp114 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 …]
Dbuiltins_shared_array.cpp66 …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/
Doptimize_string_concat.cpp97 Inst *GetArrayLength(Inst *newArray) in GetArrayLength()
179 Inst *CreateLenArray(Graph *graph, Inst *newArray) in CreateLenArray()
Dreserve_string_builder_buffer.cpp161 auto newArray = storeObject->GetInput(1).GetInst()->CastToNewArray(); in ReplaceInitialBufferSizeConstantInlined() local
/arkcompiler/ets_runtime/ecmascript/
Dtagged_array.cpp152 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local
161 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
Djs_map_iterator.cpp124 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
Dproperty_accessor.cpp126 … JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() local
Djs_function.cpp982 …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
Djs_array.cpp102 JSHandle<JSArray> newArray(obj); in ArrayCreate() local
720 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
Dshared_object_factory.cpp340 JSHandle<TaggedArray> newArray(thread_, header); in CopySArray() local
363 JSHandle<TaggedArray> newArray(thread_, header); in ExtendSArray() local
Dobject_factory.cpp501 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/
Djs_shared_module.cpp156 JSHandle<TaggedArray> newArray = thread->GetEcmaVM()->GetFactory()->NewSTaggedArray(newLength); in GenerateSharedExports() local
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_array.cpp209 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/
Djs_api_lightweightmap.cpp53 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/
Dprofile_type_info_test.cpp77 JSHandle<JSTaggedValue> newArray(factory->NewTaggedArray(2)); // 2 : test case in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_typedarray_stub_builder.cpp1509 …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
Dbuiltins_array_stub_builder.cpp115 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

12