Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/tests/
Dhandle_leak_test.cpp143 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
169 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
199 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
Djs_verification_test.cpp96 …auto newArray = objectFactory->NewTaggedArray(1, JSTaggedValue::Undefined(), MemSpaceType::SEMI_SP… in HWTEST_F_L0() local
Dmem_controller_test.cpp106 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
Dtagged_array_test.cpp56 JSHandle<JSObject> newArray = in JSArrayTestCreate() local
Djs_api_plain_array_test.cpp166 JSHandle<JSAPIPlainArray> newArray(thread, CreatePlainArray()); in HWTEST_F_L0() local
Djs_api_lightweightset_test.cpp348 JSHandle<TaggedArray> newArray(thread, lws->GetValues()); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/ic/
Dproto_change_details.cpp47 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), array->GetCa… in Add() local
Dinvoke_cache.cpp48 …JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length * step); // 2: newTarget and hcla… in SetPolyConstuctCacheSlot() local
144 JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length); in SetPolyInlineCallCacheSlot() local
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_array.cpp106 …JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedVa… in ArrayConstructor() local
181 JSTaggedValue newArray; in From() local
267 JSTaggedValue newArray; in From() local
355 JSHandle<JSTaggedValue> newArray; in Of() local
422 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Concat() local
866 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Filter() local
1418 JSTaggedValue newArray = in Map() local
2083 JSTaggedValue newArray = in Slice() local
2335 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in Splice() local
2787 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLe… in Flat() local
[all …]
/arkcompiler/ets_runtime/ecmascript/
Dtagged_array-inl.h156 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local
165 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
Djs_map_iterator.cpp122 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
Djs_stable_array.cpp90 …JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(actualD… in Splice() local
735 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in With() local
772 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in ToSpliced() local
823 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in ToReversed() local
Djs_function.cpp754 …JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(nativeFieldCount + RESOLVED_MAX_… in SetFunctionExtraInfo() local
764 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(RESOLVED_MAX_SIZE); in SetFunctionExtraInfo() local
Dobject_factory.cpp421 JSHandle<TaggedArray> newArray(thread_, header); in CloneProperties() local
523 JSHandle<TaggedArray> newArray(thread_, header); in CloneProperties() local
2347 JSHandle<TaggedArray> newArray(thread_, header); in ExtendArray() local
2379 JSHandle<TaggedArray> newArray(thread_, header); in CopyPartArray() local
2413 JSHandle<TaggedArray> newArray(thread_, header); in CopyArray() local
2442 auto newArray = NewTaggedArrayWithoutInit(arrayLength, MemSpaceType::SEMI_SPACE); in ExtendLayoutInfo() local
3651 JSHandle<TaggedArray> newArray(thread_, header); in CopyDeque() local
3689 JSHandle<TaggedArray> newArray(thread_, header); in CopyQueue() local
Djs_array.cpp485 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
Djs_object.cpp2216 JSHandle<TaggedArray> newArray = in SetHash() local
2324 JSHandle<TaggedArray> newArray = in SetNativePointerFieldCount() local
2332 JSHandle<TaggedArray> newArray = in SetNativePointerFieldCount() local
2343 … JSHandle<TaggedArray> newArray = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(count + 1); in SetNativePointerFieldCount() local
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightmap.cpp55 JSHandle<TaggedArray> newArray = GrowCapacity(thread, array, len + 1); in InsertValue() local
406 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/containers/tests/
Dcontainers_list_test.cpp370 JSTaggedValue newArray = ContainersList::ConvertToArray(callInfo); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_errors_test.cpp999 …JSHandle<JSObject> newArray = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(errayFunc), e… in HWTEST_F_L0() local
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js121227 t.newArray = function(t, e) { function